首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何解决已配置文件Ubuntu18.04.2LTS的跳取问题

如何解决已配置文件Ubuntu18.04.2LTS的跳取问题
EN

Ask Ubuntu用户
提问于 2019-02-25 10:18:31
回答 4查看 33.8K关注 0票数 13

我如何解决这些问题?

代码语言:javascript
复制
Reading package lists... Done                      
W: Skipping acquire of configured file 'multiverse/binary-amd64/Packages' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/binary-i386/Packages' as repository 'http://archive.canonical.com/ubuntu bionic 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 bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en_US' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/Components-amd64.yml' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-48x48.tar' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-64x64.tar' as repository 'http://archive.canonical.com/ubuntu bionic 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.canonical.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)

我的

代码语言:javascript
复制
ilyat@todorpc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

我的/etc/apt/sources.list

代码语言:javascript
复制
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ua.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://ua.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ua.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://ua.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ua.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://ua.archive.ubuntu.com/ubuntu/ bionic universe
deb http://ua.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://ua.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ua.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://ua.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ua.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu bionic multiverse partner
deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
# deb-src http://archive.canonical.com/ubuntu bionic multiverse
EN

回答 4

Ask Ubuntu用户

回答已采纳

发布于 2019-02-25 10:27:03

从该行中删除multiverse

代码语言:javascript
复制
deb http://archive.canonical.com/ubuntu bionic multiverse partner
票数 7
EN

Ask Ubuntu用户

发布于 2019-02-25 10:28:39

只需替换以下文件:

代码语言:javascript
复制
deb http://archive.canonical.com/ubuntu bionic multiverse partner

使用

代码语言:javascript
复制
deb http://archive.canonical.com/ubuntu bionic partner

apt-get update

票数 3
EN

Ask Ubuntu用户

发布于 2019-05-22 07:06:48

我也有同样的问题,但是这行是正确地阅读了/etc/apt/sources.list.d/official-package-repositories.list中的deb http://archive.canonical.com/ubuntu仿生合作伙伴,所以我把它注释掉了,运行sudo apt-get更新,然后取消评论,然后再运行sudo apt更新,这似乎解决了它。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1121069

复制
相关文章

相似问题

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