Ubuntu 18.04를 20.04로 업그레이드한 후 Midnight Commander를 설치할 수 없습니다.
버전 리눅스
$ sudo lsb_release -a No LSB modules are available. Distributor
ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04
Codename: focal
소스.목록
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
다른 소스를 사용해 보지만 도움이 되지 않습니다.
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
패키지 목록 업데이트
$ 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.
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
결과 명령 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)
나는 그것이 얼마나 수리되었는지 전혀 모른다. 혹시 아이디어가 있으신가요?
답변1
나는 소스를 확인한다https://mirror.yandex.ru/ubuntu/dists/focus/universe/ 패키지 mc를 찾을 수 없습니다.
https://mirror.yandex.ru/ubuntu/dists/focal/universe/binary-i386/Packages.gz
하지만 찾아
https://mirror.yandex.ru/ubuntu/dists/focal/universe/binary-amd64/Packages.gz
즉, 이 패키지는 x86 아키텍처에서는 사용할 수 없지만 x64에서는 사용할 수 있습니다.
'mc''를 설치해야 하는 경우 다음에서 다운로드해야 합니다.https://launchpad.net
cd /tmp/
sudo apt remove mc-data
wget http://launchpadlibrarian.net/448485168/mc-data_4.8.23-1_all.deb
wget http://launchpadlibrarian.net/448485186/mc_4.8.23-1_i386.deb
sudo dpkg -i mc-data_4.8.23-1_all.deb
sudo dpkg -i mc_4.8.23-1_i386.deb
이제 ''mc''를 실행할 수 있지만 ''apt full-upgrade''를 실행할 수는 없습니다. 이 명령은 최신 ''mc-data''를 설치하고 호환되지 않는 ''mc''를 제거하기 때문입니다.