关于多元宇宙的 apt-get 警告?

关于多元宇宙的 apt-get 警告?

每次使用 apt-get update 时都会收到以下警告

W: Skipping acquire of configured file 'multiverse//binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu bionic-updates 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.ubuntu.com/ubuntu bionic-updates 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.ubuntu.com/ubuntu bionic-updates InRelease' doesn't have the component 'multiverse/' (component misspelt in sources.list?)

不确定我是否应该担心这个?我在 Google 上搜索过这些警告,但没有找到有相同警告的人,只有相同类型的警告。

内容/etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu bionic main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu bionic-security main universe restricted m$
deb http://archive.ubuntu.com/ubuntu bionic-updates main universe restricted mu$
deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/

第二条命令 cat /etc/apt/sources.list | grep multiverse

deb http://archive.ubuntu.com/ubuntu bionic main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu bionic-security main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main universe restricted multiverse/

答案1

删除 bionic-updates 行中 multiverse 后面的 /。

您可以在错误消息中看到错误的双斜线。

multiverse**//**binary-amd64/Packages

然后sudo apt update重试。

相关内容