在Ubuntu 16.4.3 64位 操作系统下运行 sudo apt-get update 却返回以下错误。
尝试各种办法解决不了,包括安装了Ubuntu 17.10 也解决不了。
最后,在另外台Windows电脑上,安装Fiddler软件,设置http代理,在Ubuntu 16.4.3电脑上设置刚才配的代理,这样问题解决了
Ign:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Ign:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:4 http://us.archive.ubuntu.com/ubuntu xenial Release
Ign:5 http://us.archive.ubuntu.com/ubuntu xenial-updates Release
Ign:6 http://us.archive.ubuntu.com/ubuntu xenial-backports Release
Ign:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:8 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
Ign:9 http://us.archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:10 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en_US
Ign:11 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:12 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:13 http://us.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons
Ign:14 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
Ign:16 http://us.archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:45 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en
Ign:47 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata
Ign:53 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons
Ign:56 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
Ign:59 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
Ign:62 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted all Packages
Ign:64 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en_US
Err:100 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
Connection failed
Ign:102 http://us.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages
Ign:104 http://us.archive.ubuntu.com/ubuntu xenial-backports/main all Packages
Ign:106 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en_US
Ign:107 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en
Ign:108 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata
Ign:109 http://us.archive.ubuntu.com/ubuntu xenial-backports/main DEP-11 64x64 Icons
Ign:111 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 Packages
Ign:113 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted i386 Packages
Ign:115 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted all Packages
Ign:117 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en_US
Reading package lists… Done
W: The repository ‘http://us.archive.ubuntu.com/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.
W: The repository ‘http://us.archive.ubuntu.com/ubuntu xenial-updates 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: The repository ‘http://us.archive.ubuntu.com/ubuntu xenial-backports 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: The repository ‘http://security.ubuntu.com/ubuntu xenial-security 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: The repository ‘http://ppa.launchpad.net/colingille/freshlight/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 http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-amd64/Packages Connection failed
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/Packages Connection failed
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-amd64/Packages Connection failed
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-i386/Packages Connection failed
E: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/xenial/main/binary-amd64/Packages Connection failed
E: Some index files failed to download. They have been ignored, or old ones used instead.
rudy@rudy-All-Series:~$ index files failed to download. They have been ignored, or old ones used instead.
No command ‘index’ found, did you mean:
Command ‘cindex’ from package ‘codesearch’ (universe)
Command ‘sindex’ from package ‘biosquid’ (universe)
index: command not found
2017年12月12日