我是 Ubuntu 新手...当我输入sudo apt-get update
命令时,我得到了这些。救命!
Reading package lists... Done
W: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository
'http://deb.debian.org/debian bullseye InRelease' doesn't have the component
'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-amd64/Packages' as
repository 'http://deb.debian.org/debian bullseye 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://deb.debian.org/debian bullseye 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://deb.debian.org/debian bullseye 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://deb.debian.org/debian bullseye InRelease' doesn't have the
component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/Components-all.yml' as
repository 'http://deb.debian.org/debian bullseye 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://deb.debian.org/debian bullseye 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://deb.debian.org/debian bullseye 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://deb.debian.org/debian bullseye 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://deb.debian.org/debian bullseye InRelease' doesn't have the component
'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/cnf/Commands-all' as repository
'http://deb.debian.org/debian bullseye InRelease' doesn't have the component
'universe' (component misspelt in sources.list?)
答案1
您已将一些项目添加到您的存储库/etc/apt/sources.list
或添加了/etc/apt/sources.list.d
一些引用 Debian 存储库的文件。Ubuntu 使用源自 Debian 的“deb”软件包格式,Ubuntu 不是 Debian。您不应该在 Ubuntu 上使用 Debian 存储库。
您应该删除或调整添加到这些文件中的引用的行deb.debian.org
。如果您保留它们,并以某种方式设法从那里安装软件包,那么您几乎肯定会破坏 Ubuntu 的安装。