After upgrade Ubuntu 18.04, to 20.04 can't install Midnight Commander.
Version Linux
$ sudo lsb_release -a No LSB modules are available. Distributor
ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04
Codename: focal
source.list
deb ----://mirror.yandex.ru/ubuntu/ focal main
deb ----://archive.ubuntu.com/ubuntu focal main
deb ----://mirror.yandex.ru/ubuntu/ focal-updates main
deb ----://mirror.yandex.ru/ubuntu/ focal universe
I try other source, but it's no help
deb mirror://mirrors.ubuntu.com/mirrors.txt focal main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt focal main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt focal-updates main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt focal-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt focal-security main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt focal-security main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt focal-backports main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt focal-backports main restricted universe multiverse
deb ----://archive.canonical.com/ubuntu focal partner
deb-src ----://archive.canonical.com/ubuntu focal partner
Update package lists
$ sudo apt update
Hit:1 ----://mirror.yandex.ru/ubuntu focal InRelease
Hit:2 ----://mirror.yandex.ru/ubuntu focal-updates InRelease
Hit:3 ----://archive.ubuntu.com/ubuntu focal InRelease
Hit:4 ----://archive.canonical.com/ubuntu focal InRelease
Reading package lists...
Done Building dependency tree
Reading state information... Done
4 packages can be upgraded.
Run 'apt list --upgradable' to see them.
Try install mc
$ sudo apt install mc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mc is not available, but is referred to by another package. This may mean
that the package is missing, has been obsoleted, or is only available
from another source However the following packages replace it:
mc-data
E: Package 'mc' has no installation candidate
Result command dkpg
$ dpkg -l mc*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-=================-============-==========================================================
rc mc 3:4.8.19-1 i386 Midnight Commander - a powerful file manager
ii mc-data 3:4.8.24-2ubuntu1 all Midnight Commander - a powerful file manager -- data files
un mcedit <none> <none> (no description available)
rc mcp-account-manager-uoa 3.8.6-0ubuntu9.2 i386 GNOME multi-protocol chat and call client (UOA plugin)
I not have idea, how repare it's. May be you have idea?
grep "^deb\ " -r /etc/apt/ --include=*.list ; sudo apt-get update; apt-cache policy mc
. If long - use pastebin. – N0rbert May 19 '21 at 08:41rm -vrf /var/lib/apt/lists/*
and then retry withsudo apt-get update; apt-cache policy mc
. Are you using proxy? – N0rbert May 19 '21 at 08:54