Ubuntu 22.04 跳过获取配置文件找不到错误

Ubuntu 22.04 跳过获取配置文件找不到错误

好的,我看到其他人也遇到过这种跳过错误,但我仍然无法在我的系统上找到它的位置。我没有看到拼写错误,也无法在任何地方找到 jammy inRelease。

W:跳过获取配置文件“universe/binary-amd64/Packages”作为存储库“http://archive.canonical.com/ubuntu jammy InRelease”没有组件“universe”(sources.list 中的组件拼写错误?)W:跳过获取配置文件“universe/i18n/Translation-en”作为存储库“http://archive.canonical.com/ubuntu jammy InRelease

下面是我当前的 sources.list 文件

deb http://archive.ubuntu.com/ubuntu jammy main restricted universe
deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe
deb http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu jammy partner universe

grep -r deb /etc/apt/sources.list.d/ 显示

/etc/apt/sources.list.d/virtualmin.list:deb [signed-by=/usr/share/keyrings/debian-virtualmin-7.gpg] https://software.virtualmin.com/vm/7/gpl/apt virtualmin main
/etc/apt/sources.list.d/docker.list:deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu   jammy stable

答案1

有时我眼花了。格式不正确。宇宙和多元宇宙不是主宇宙的一部分,不像受限制的。请也更改它。

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

更多信息请查看这里我的英语解释能力真的很差。

相关内容