Hit:1 (https://)dl.google.com/linux/chrome/deb stable InRelease
Hit:2 (https://)dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Hit:3 (https://)archive.ubuntu.com/ubuntu hirsute InRelease
Hit:4 (https://)ppa.launchpad.net/numix/ppa/ubuntu hirsute InRelease
Hit:5 (https://)archive.canonical.com/ubuntu hirsute InRelease
Hit:6 (https://)archive.ubuntu.com/ubuntu hirsute-updates InRelease
Hit:7 (https://)archive.ubuntu.com/ubuntu hirsute-backports InRelease
Hit:8 (https://)archive.ubuntu.com/ubuntu hirsute-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Skipping acquire of configured file 'multiverse/binary-i386/Packages' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/binary-amd64/Packages' as repository '(http://)archive.canonical.com/ubuntu hirsute 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 hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en_US' as repository '(http://)archive.canonical.com/ubuntu hirsute 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 hirsute 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 hirsute 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 hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/[email protected]' as repository '(http://)archive.canonical.com/ubuntu hirsute 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 hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-amd64/Packages' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en_US' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/Components-amd64.yml' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-48x48.tar' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64.tar' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/[email protected]' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/cnf/Commands-amd64' as repository '(http://)archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
当我启动“sudo apt update”时出现此问题,如何解决此问题?注意:我将 https:// 更改为 (https://) 因为我无法放置链接。
答案1
对于 Debian 或 Ubuntu 存储库,您通常可以使用 Web 浏览器查看存储库目录的内容。
例如,如果存储库 URL 为https://archive.canonical.com/ubuntu
,则添加/dists
到末尾并浏览到https://archive.canonical.com/ubuntu/dists。现在,archive.canonical.com 的 https 版本似乎已关闭, 所以查看http版本反而。
您将能够浏览该hirsute
目录并亲自验证其中是否没有universe
或multiverse
子目录partner
(以及by-hash
,它是存储库基础结构的一部分,在这里并不重要)。
另一方面,HTTP 版本的存档。乌班图.com有universe
和multiverse
存储库。
因此,您需要编辑该/etc/apt/sources.list
文件和/或目录中的任何*.list
或*.sources
文件/etc/apt/sources.list.d/
,以更改提及universe
或multiverse
存储库和 URL 的任何行https://archive.canonical.com/ubuntu
以使用该 URL http://archive.ubuntu.com/ubuntu
。