每次我使用 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?)
不确定这是不是我应该担心的事情?我用谷歌搜索了这些警告,但找不到任何有相同警告的人,只有相同类型的警告。
内容/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/
在 bionic-updates 行中删除 multiverse 之后的 /。
您可以在错误消息中看到错误的双斜杠。
multiverse**//**binary-amd64/Packages
然后再试
sudo apt update
一次。