Ubuntu 18.04からUbuntu 20.04にアップグレードしようとするとハングしました。アップグレードすると、以下が表示されます0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded
。
W: Skipping acquire of configured file 'multiverse/binary-amd64/Packages' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en_IN' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en_GB' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/Components-amd64.yml' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-48x48.tar' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-64x64.tar' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/cnf/Commands-amd64' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
試してみると、sudo nano /etc/apt/sources.list
同じ行がすでにsource.listに存在しているとします。
deb http://archive.canonical.com/ubuntu bionic partner
インターネットで解決策を見つけました。次の行をdeb http://archive.canonical.com/ubuntu bionic multiverse partner
次の行に置き換えますdeb http://archive.canonical.com/ubuntu bionic partner
。しかし、同じ行が私の行にすでに存在していますsources.list
。
Ubuntu 18.04からUbuntu 20.04にアップグレードできなくなりました。
ベストアンサー1
端末を開き、次のように入力します。
sudo add-apt-repository multiverse
sudo apt update
deb http://archive.canonical.com/ubuntu bionic multiverse partner
/etc/apt/sources.list
(存在する場合)を次に置き換えてdeb http://archive.canonical.com/ubuntu bionic partner
再実行して、sudo apt update
利用可能なソフトウェアのリストを更新します。