我是 Ubuntu 的新手,但最近我开始在笔记本电脑上使用 Ubuntu 来做几乎所有的事情。
我执行了sudo apt-get update
系统更新,但我不明白输出内容。我不知道输出是否正常,或者是否存在一些需要解决的错误。
Ign:1 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial InRelease
Ign:2 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial Release
Ign:3 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en_US
Ign:7 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en_US
Ign:14 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en_US
Ign:7 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en_US
Ign:14 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en_US
Ign:7 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en_US
Ign:14 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en_US
Ign:7 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en_US
Ign:14 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en_US
Ign:7 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en_US
Ign:14 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/restricted DEP-11 64x64 Icons
Err:3 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign:4 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main i386 Packages
Ign:17 http://dl.google.com/linux/chrome/deb stable InRelease
Get:18 http://dl.google.com/linux/chrome/deb stable Release [1,189 B]
Get:19 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]
Hit:20 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial InRelease
Get:21 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,407 B]
Hit:22 https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease
Ign:23 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial InRelease
Get:24 http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu xenial InRelease [18.1 kB]
Ign:24 http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu xenial InRelease
Hit:25 http://ppa.launchpad.net/noobslab/themes/ubuntu xenial InRelease
Hit:26 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
Get:27 http://ppa.launchpad.net/papirus/papirus/ubuntu xenial InRelease [18.0 kB]
Hit:28 http://ppa.launchpad.net/snwh/pulp/ubuntu xenial InRelease
Hit:29 http://ppa.launchpad.net/ubuntu-x-swat/updates/ubuntu xenial InRelease
Hit:30 http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease
Hit:31 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Ign:32 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial Release
Get:33 http://ppa.launchpad.net/papirus/papirus/ubuntu xenial/main amd64 Packages [2,496 B]
Get:34 http://ppa.launchpad.net/papirus/papirus/ubuntu xenial/main i386 Packages [2,496 B]
Ign:35 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:36 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:37 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:38 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_US
Ign:39 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:40 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:41 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:35 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Hit:42 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:43 http://archive.canonical.com/ubuntu xenial InRelease
Get:44 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:45 http://archive.canonical.com xenial InRelease
Ign:46 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:47 http://repo.vivaldi.com/stable/deb stable Release
Ign:36 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Get:49 https://deb.nodesource.com/node_6.x xenial InRelease [4,634 B]
Ign:37 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Get:50 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:51 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:52 https://download.sublimetext.com apt/stable/ InRelease
Get:53 https://deb.nodesource.com/node_6.x xenial/main amd64 Packages [1,003 B]
Ign:38 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_US
Get:54 https://deb.nodesource.com/node_6.x xenial/main i386 Packages [1,001 B]
Get:55 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Ign:39 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Hit:56 https://deb.opera.com/opera-stable stable InRelease
Get:57 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [678 kB]
Ign:40 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Get:58 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease [23.5 kB]
Ign:41 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Get:59 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [637 kB]
Get:60 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [307 kB]
Ign:35 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Get:61 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [213 kB]
Get:62 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [564 kB]
Get:63 https://packagecloud.io/slacktechnologies/slack/debian jessie/main amd64 Packages [8,044 B]
Ign:36 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Get:64 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [529 kB]
Ign:65 https://packagecloud.io/slacktechnologies/slack/debian jessie/main i386 Packages
Ign:37 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Get:66 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [185 kB]
Get:67 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [259 kB]
Get:65 https://packagecloud.io/slacktechnologies/slack/debian jessie/main i386 Packages [5,003 B]
Get:68 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,892 B]
Get:69 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:70 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4,676 B]
Get:71 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [62.5 kB]
Get:72 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [62.6 kB]
Get:73 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [51.4 kB]
Get:74 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [70.8 kB]
Ign:38 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_US
Ign:39 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:40 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:41 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:35 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:36 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:37 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:38 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_US
Ign:39 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:40 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:41 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:35 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:36 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:37 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:38 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_US
Ign:39 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:40 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:41 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Err:35 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:36 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:37 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:38 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_US
Ign:39 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:40 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:41 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 4,027 kB in 16s (250 kB/s)
Reading package lists... Done
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/ubuntu-x-swat-ubuntu-updates-xenial.list:2 and /etc/apt/sources.list.d/ubuntu-x-swat-ubuntu-updates-xenial.list:3
W: The repository 'cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1)
W: GPG error: http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7036069A2F22E44A
W: The repository 'http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Failed to fetch http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/ubuntu-x-swat-ubuntu-updates-xenial.list:2 and /etc/apt/sources.list.d/ubuntu-x-swat-ubuntu-updates-xenial.list:3
更新:按照 Zanna 提供的建议以及她答案中包含的所有链接中的建议后,我的输出如下:
sudo apt-get update
Hit:1 http://archive.canonical.com xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial InRelease
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:5 https://download.sublimetext.com apt/stable/ InRelease
Hit:6 http://ppa.launchpad.net/noobslab/themes/ubuntu xenial InRelease
Hit:7 https://deb.opera.com/opera-stable stable InRelease
Hit:8 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
Get:9 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:10 http://ppa.launchpad.net/papirus/papirus/ubuntu xenial InRelease
Hit:11 https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease
Hit:12 https://deb.nodesource.com/node_6.x xenial InRelease
Hit:13 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:14 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Get:15 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:16 http://ppa.launchpad.net/snwh/pulp/ubuntu xenial InRelease
Hit:17 http://ppa.launchpad.net/ubuntu-x-swat/updates/ubuntu xenial InRelease
Hit:18 http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu xenial InRelease
Hit:19 http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease
Hit:20 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Fetched 306 kB in 5s (52.6 kB/s)
Reading package lists... Done
W: https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1)
答案1
当你运行时sudo apt-get update
,APT 程序会读取文件
/etc/apt/sources.list
和文件
/etc/apt/sources.list.d/
并尝试从指定的存储库下载索引文件来更新dpkg
系统上的数据库,以便它包含有关这些存储库内容的准确和最新信息。
APT 抛出的错误通常与这些文件的内容有关。
输出中的问题(弱摘要算法警告除外)都与您无法在 16.04 上使用的存储库有关。这表明您的存储库列表全部配置错误,您可能应该从头开始重新生成源!如果您刚刚安装了 Ubuntu,并且从未添加过 PPA,我建议您删除以下所有文件/etc/apt/sources.list.d
:
sudo rm /etc/apt/sources.list.d/*
然后使用此处描述的方法之一如何恢复默认存储库?干净地设置您的存储库。
不过,回答你的问题……
首先,你有许多行
Ign: cdrom://Ubuntu [...]
Ign
表示 APT 尝试下载文件,但无法在给定的地址找到它,但找不到它并不重要,不足以阻止 APT 继续运行。这不一定是个问题。APT 可能只是在检查不需要存在的文件。Ign
但是,大量的行可能表示存在问题,因为它表明您配置了过时的存储库或错误的配置,因为无法找到许多请求的文件。
看:
然后你收到这个相关错误:
Err:3 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial/main amd64 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
链接到此警告和信息:
W: The repository 'cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
还有这个错误:
E: Failed to fetch cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
这些消息是由您的/etc/apt/sources.list
deb cdrom [...]
此行应以 开头,#
以使其被忽略,即应将其“注释掉”。您可以sources.list
使用以 root 权限打开的文本编辑器自行编辑该文件,例如:
sudo nano -w /etc/apt/sources.list
#
在前面放置一个deb cdrom
并保存文件。
或者您可以使用软件源GUI 中软件和更新。
删除此存储库后,Ign
提到的行cdrom
也应从sudo apt-get update
输出中消失。
看:
- 由于缺少 CDROM,无法下载存储库信息
- 手册页
apt-cdrom
如果你对其余的错误信息感兴趣
您还有很多Ign
与 PPA 相关的行
Ign: http://ppa.launchpad.net/gwibber-daily
还有一些与之相关的错误,与这些cdrom
错误非常相似。gwibber-daily 存储库已经很长时间没有更新了,并且没有适用于您的 Ubuntu 版本的软件包。您需要从您的源中删除该 PPA。PPA 存储库文件通常位于 中。您可以通过从 中删除与 相关的文件来消除错误,或者再次通过从 GUI 编辑您的源来/etc/apt/sources.list.d
消除错误。gwibber-daily
/etc/apt/sources.list.d
看:
- 当我使用 PPA 或更新我的软件包列表时,如何修复 404 错误?
- 错误更新:izx/askubuntu/ubuntu xenial Release'没有发布文件(我正在寻找一个更好的问题/答案链接 - 如果任何读者有建议,请编辑/评论)
您还会收到以下警告:
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/ubuntu-x-swat-ubuntu-updates-xenial.list:2 and /etc/apt/sources.list.d/ubuntu-x-swat-ubuntu-updates-xenial.list:3
这意味着您的源配置文件中两次提到了同一个存储库。您可以通过删除其中一个文件(或两个文件,如果您不想使用该存储库)或在软件源 GUI 中删除文件来消除错误。
看:
您还拥有
W: https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1)
这可能无害;它只是意味着用于签署存储库的密钥使用的校验和方法比 APT 的高标准所期望的更不强大。存储库确实有一个适用于 16.04 的分支,因此您可能不想删除它。警告不会阻止 APT 从该存储库下载软件包。
看:
最后你会看到这个众所周知的警告:
W: GPG error: http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7036069A2F22E44A
W: The repository 'http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
有时可以通过以下方法解决此错误添加密钥,但这并不能解决根本问题,即与其他存储库一样,此存储库没有适用于 16.04 的软件包。您也应该从源中删除此 PPA。