首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Ubuntu 22.04中跳过已配置文件multiverse/restricted/22.04的获取

在Ubuntu 22.04中跳过已配置文件multiverse/restricted/22.04的获取
EN

Ask Ubuntu用户
提问于 2023-05-02 01:25:16
回答 1查看 48关注 0票数 0

我正在尝试在Ubuntu22.04系统上安装rarunrar,我认为它是多元宇宙系统(按照一些说明添加了所有多重宇宙、受限宇宙和宇宙)。

我运行了add-apt-repository multiverseadd-apt-repository restrictedadd-apt-repository universe,但是在这样做并试图运行apt update -y之后,我会收到以下警告:

代码语言:javascript
复制
W: Skipping acquire of configured file 'multiverse/binary-amd64/Packages' as repository 'http://archive.canonical.com/ubuntu jammy 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 jammy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/binary-amd64/Packages' as repository 'http://archive.canonical.com/ubuntu jammy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/i18n/Translation-en' as repository 'http://archive.canonical.com/ubuntu jammy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-amd64/Packages' as repository 'http://archive.canonical.com/ubuntu jammy 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 jammy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)

我看过类似的问题,但我发现的都是以前的Ubuntu版本或其他存储库,我不知道添加这些存储库后我的sources.list应该是什么样子。

我的sources.list文件是:

代码语言:javascript
复制
deb http://archive.ubuntu.com/ubuntu jammy universe multiverse restricted main
deb http://archive.ubuntu.com/ubuntu jammy-updates universe multiverse restricted main
deb http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu jammy multiverse partner restricted universe

我试着在每一行的[arch=amd64]后面添加deb,但这并没有什么区别。

任何帮助都是非常感谢的,谢谢。

EN

回答 1

Ask Ubuntu用户

发布于 2023-05-02 01:40:58

结果发现文件格式错误。

用户nobody的回答在这里奏效了。https://askubuntu.com/a/1460166/1095763

如果它被删除,sources.list需要:

代码语言:javascript
复制
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
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1466183

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档