49

刚刚安装了 Ubuntu 13.10 (Saucy),我尝试通过它安装的任何东西sudo apt-get install都失败并抛出了一系列404错误。

示例 - 安装tmux

[jeeves@HAL] hadoop > sudo apt-get install tmux
[sudo] password for jeeves: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  tmux
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 247 kB of archives.
After this operation, 577 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  tmux
Install these packages without verification [y/N]? Y
Err http://us.archive.ubuntu.com/ubuntu/ saucy/main tmux amd64 1.8-4
  404  Not Found [IP: 91.189.91.23 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/t/tmux/tmux_1.8-4_amd64.deb  404  Not Found [IP: 91.189.91.23 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

在这种情况下,它无法获取存档 URL。

安装时我得到类似的东西mysql-server

....
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-common_5.5.37-0ubuntu0.13.10.1_all.deb  404  Not Found [IP: 91.189.91.23 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.37-0ubuntu0.13.10.1_amd64.deb  404  Not Found [IP: 91.189.91.23 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdbi-perl/libdbi-perl_1.627-1_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
....

...以及许多其他软件包。

我什至尝试sudo apt-get update和跑步--fix-missing?

Ubuntu 存储库刚刚关闭(考虑到有多少人依赖它,这似乎很奇怪)还是我错过了什么?

编辑:这是我尝试时发生的情况sudo apt-get update。由于找不到资源,更新本身不起作用

> sudo apt-get update
Hit http://download.virtualbox.org maverick InRelease
Ign http://us.archive.ubuntu.com saucy InRelease                                                
Ign http://us.archive.ubuntu.com saucy-updates InRelease                                        
Ign http://extras.ubuntu.com saucy InRelease                                                  
Ign http://us.archive.ubuntu.com saucy-backports InRelease           
Hit http://download.virtualbox.org maverick/contrib amd64 Packages   
Hit http://download.virtualbox.org maverick/non-free amd64 Packages  
Ign http://us.archive.ubuntu.com saucy Release.gpg                   
Hit http://extras.ubuntu.com saucy Release.gpg                       
Hit http://download.virtualbox.org maverick/contrib i386 Packages    
Ign http://us.archive.ubuntu.com saucy-updates Release.gpg                                       
Hit http://download.virtualbox.org maverick/non-free i386 Packages                               
Ign http://us.archive.ubuntu.com saucy-backports Release.gpg                                     
Ign http://us.archive.ubuntu.com saucy Release                                                   
Ign http://security.ubuntu.com saucy-security InRelease                                          
Hit http://extras.ubuntu.com saucy Release                           
Ign http://us.archive.ubuntu.com saucy-updates Release                                      
Ign http://security.ubuntu.com saucy-security Release.gpg                                   
Ign http://us.archive.ubuntu.com saucy-backports Release             
Ign http://security.ubuntu.com saucy-security Release                
Hit http://extras.ubuntu.com saucy/main Sources                      
Ign http://us.archive.ubuntu.com saucy/main Sources/DiffIndex        
Ign http://security.ubuntu.com saucy-security/main Sources/DiffIndex 
Ign http://us.archive.ubuntu.com saucy/restricted Sources/DiffIndex  
Ign http://security.ubuntu.com saucy-security/restricted Sources/DiffIndex
Hit http://extras.ubuntu.com saucy/main amd64 Packages               
Ign http://us.archive.ubuntu.com saucy/universe Sources/DiffIndex    
Ign http://security.ubuntu.com saucy-security/universe Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy/multiverse Sources/DiffIndex  
Hit http://extras.ubuntu.com saucy/main i386 Packages                
Ign http://security.ubuntu.com saucy-security/multiverse Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy/main amd64 Packages/DiffIndex 
Ign http://security.ubuntu.com saucy-security/main amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy/restricted amd64 Packages/DiffIndex
Ign http://security.ubuntu.com saucy-security/restricted amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy/universe amd64 Packages/DiffIndex
Ign http://security.ubuntu.com saucy-security/universe amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy/multiverse amd64 Packages/DiffIndex
Ign http://security.ubuntu.com saucy-security/multiverse amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy/main i386 Packages/DiffIndex  
Ign http://download.virtualbox.org maverick/contrib Translation-en_US
Ign http://security.ubuntu.com saucy-security/main i386 Packages/DiffIndex
Ign http://download.virtualbox.org maverick/contrib Translation-en   
Ign http://us.archive.ubuntu.com saucy/restricted i386 Packages/DiffIndex
Ign http://download.virtualbox.org maverick/non-free Translation-en_US
Ign http://download.virtualbox.org maverick/non-free Translation-en  
Ign http://us.archive.ubuntu.com saucy/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy/multiverse i386 Packages/DiffIndex
Ign http://security.ubuntu.com saucy-security/restricted i386 Packages/DiffIndex
Ign http://security.ubuntu.com saucy-security/universe i386 Packages/DiffIndex
Ign http://security.ubuntu.com saucy-security/multiverse i386 Packages/DiffIndex
Ign http://extras.ubuntu.com saucy/main Translation-en_US
Ign http://extras.ubuntu.com saucy/main Translation-en
Ign http://us.archive.ubuntu.com saucy-updates/main Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/restricted Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/universe Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/multiverse Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/main amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/restricted amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/universe amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/multiverse amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/main i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/restricted i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-updates/multiverse i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/main Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/restricted Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/universe Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/multiverse Sources/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/main amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/restricted amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/universe amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/multiverse amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/main i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/restricted i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com saucy-backports/multiverse i386 Packages/DiffIndex
Ign http://security.ubuntu.com saucy-security/main Translation-en_US
Ign http://security.ubuntu.com saucy-security/main Translation-en
Ign http://security.ubuntu.com saucy-security/multiverse Translation-en_US
Ign http://security.ubuntu.com saucy-security/multiverse Translation-en
Ign http://security.ubuntu.com saucy-security/restricted Translation-en_US
Ign http://security.ubuntu.com saucy-security/restricted Translation-en
Ign http://security.ubuntu.com saucy-security/universe Translation-en_US
Ign http://security.ubuntu.com saucy-security/universe Translation-en
Err http://security.ubuntu.com saucy-security/main Sources
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/restricted Sources
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/universe Sources
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/multiverse Sources
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/main amd64 Packages
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/restricted amd64 Packages
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/universe amd64 Packages
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/multiverse amd64 Packages
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/main i386 Packages
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/restricted i386 Packages
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/universe i386 Packages
  404  Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com saucy-security/multiverse i386 Packages
  404  Not Found [IP: 91.189.91.23 80]
Ign http://us.archive.ubuntu.com saucy/main Translation-en_US
Ign http://us.archive.ubuntu.com saucy/main Translation-en
Ign http://us.archive.ubuntu.com saucy/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com saucy/multiverse Translation-en
Ign http://us.archive.ubuntu.com saucy/restricted Translation-en_US
Ign http://us.archive.ubuntu.com saucy/restricted Translation-en
Ign http://us.archive.ubuntu.com saucy/universe Translation-en_US
Ign http://us.archive.ubuntu.com saucy/universe Translation-en
Ign http://us.archive.ubuntu.com saucy-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com saucy-updates/main Translation-en
Ign http://us.archive.ubuntu.com saucy-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com saucy-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com saucy-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com saucy-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com saucy-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com saucy-updates/universe Translation-en
Ign http://us.archive.ubuntu.com saucy-backports/main Translation-en_US
Ign http://us.archive.ubuntu.com saucy-backports/main Translation-en
Ign http://us.archive.ubuntu.com saucy-backports/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com saucy-backports/multiverse Translation-en
Ign http://us.archive.ubuntu.com saucy-backports/restricted Translation-en_US
Ign http://us.archive.ubuntu.com saucy-backports/restricted Translation-en
Ign http://us.archive.ubuntu.com saucy-backports/universe Translation-en_US
Ign http://us.archive.ubuntu.com saucy-backports/universe Translation-en
Err http://us.archive.ubuntu.com saucy/main Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/restricted Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/universe Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/multiverse Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/main amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/restricted amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/universe amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/multiverse amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/main i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/restricted i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/universe i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy/multiverse i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/main Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/restricted Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/universe Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/multiverse Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/main amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/restricted amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/universe amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/multiverse amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/main i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/restricted i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/universe i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-updates/multiverse i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/main Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/restricted Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/universe Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/multiverse Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/main amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/restricted amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/universe amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/multiverse amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/main i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/restricted i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/universe i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com saucy-backports/multiverse i386 Packages
  404  Not Found [IP: 91.189.91.24 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/main/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/main/source/Sources  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/restricted/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/restricted/source/Sources  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/universe/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/source/Sources  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/multiverse/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/multiverse/source/Sources  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/main/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/main/binary-i386/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/universe/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-i386/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/main/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/restricted/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/universe/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/multiverse/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/main/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/universe/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-updates/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/main/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/restricted/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/universe/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/multiverse/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/main/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/universe/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
4

15 回答 15

99

遇到了类似的问题。

这与使用称为“生命终止版本”的非 LTS 版本的 Ubuntu 相关联。因为那些已经停止支持。您可以在此链接上检查您的 Ubuntu 是否处于生命周期结束的版本。

最简单的解决方案是执行以下两个步骤:

  1. 备份您的来源列表 sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
  2. 打开源文件并重命名us.archive存档/etc/apt/sources.list所有实例

    http://us.archive.ubuntu.com/ubuntu/ _ _

    http:// old-releases .ubuntu.com/ubuntu/

    对 http:// security .ubuntu.com/ubuntu/dists/saucy-security/universe/binary-i386/Packages也做同样的事情

  3. sudo apt-get update完成上述操作后运行。

那应该可以解决问题。

警告:请尽快将您的 ubuntu 更新到 LTS 版本,否则您将无法获得最新的安全补丁。这绝对不是您要在生产机器上部署的解决方案。

于 2015-06-15T11:00:25.870 回答
28

我尝试使用:

sudo do-release-upgrade

然后使用:

sudo apt-get update

之后,您将能够安装任何软件包。

如果这对您不起作用,请尝试更改网络配置apt.conf

于 2016-01-30T01:25:48.007 回答
24

只是为了任何 Google 员工,如果您在构建 Docker 映像时遇到此错误,请在失败的 RUN 命令前面加上

apt-get update &&

当 Docker 使用缓存的图像时会发生这种情况。为什么缓存的图像第二次没有最新的 repo 信息完全超出了我的理解,但是在每一个 apt-get 前添加更新确实可以解决问题。

于 2016-02-25T00:31:10.103 回答
8

我一直在为同样的事情奋斗一段时间。

经过所有研究,这是最好的解决方案......

将以下内容添加到您的 resolve.conf 文件 /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4

https://serverfault.com/questions/717226/ubuntu14-04-unable-to-apt-get-update/771826#771826

于 2016-04-20T22:23:30.350 回答
4

为简单起见,这就是我所做的。

cd /etc/apt
mkdir test
cp sources.lst test
cd test
sed -i -- 's/us.archive/old-releases/g' *
sed -i -- 's/security/old-releases/g' *
cp sources.lst ../
sudo apt-get update
于 2016-01-27T20:14:50.777 回答
4

在我的情况下,它无法获取 be.archives.ubuntu.com(比利时),因此我按照接受的答案的建议在此链接上生成了一个新的 sources.plist。

为我解决的问题只是在生成sources.plist时将国家更改为美国。然后我可以再次运行它。

apt-get update
于 2019-09-29T09:48:20.367 回答
2

在 MAC 上:在我意识到 ScreenTime 阻止更新网站之前,没有任何帮助!关闭内容过滤修复它

于 2020-08-26T09:52:00.120 回答
1

当 Virtualbox 的网络错误时,我遇到了这个问题。我已经更新到 NAT 并且能够上网并从 us.archive.ubuntu.com 下载包

于 2016-02-20T01:56:08.847 回答
1

这也可能是由使用代理引起的。检查 /etc/environment 文件中是否有代理定义:

cat /etc/environment

如果您有任何带有 http_proxy 或 https_proxy 大写或小写的东西,那么unset它们中的每一个。

于 2016-04-08T15:20:23.913 回答
1

sudo apt-get install python3-env在 Ubuntu WSL 上运行时遇到以下问题:

Err:1 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 python3.5-venv amd64 3.5.2-2ubuntu0~16.04.9 
404  Not Found [IP: 2001:67c:1360:8001::23 80]

跑步

sudo apt-get 更新

解决了这些问题。

于 2020-05-26T16:16:41.393 回答
1

在尝试了这里给出的所有建议和其他类似的线程之后,仍然无法apt_get在我的 Vagrant Ubuntu 16.04 上工作。最后删除文件apt.conf/etc/apt我解决了这个问题。我在该目录中的剩余文件是:

vagrant@default:~$ ls -l /etc/apt/
total 68
drwxr-xr-x 2 root root  4096 Apr 15 12:20 apt.conf.d
drwxr-xr-x 2 root root  4096 May 21  2019 auth.conf.d
-rw-r--r-- 1 root root    53 Mar 19 19:50 preferences
drwxr-xr-x 2 root root  4096 Apr 14  2016 preferences.d
-rw-r--r-- 1 root root  3166 Sep 10 15:55 sources.list
drwxr-xr-x 2 root root  4096 Sep 10 16:04 sources.list.d
-rw-r--r-- 1 root root 17640 Mar 19 20:04 trusted.gpg
-rw-r--r-- 1 root root 17281 Mar 19 20:01 trusted.gpg~
drwxr-xr-x 2 root root  4096 Sep 10 13:45 trusted.gpg.d
于 2020-09-10T16:54:40.190 回答
1

如果您在使用 VirtualBox 和虚拟机时遇到问题,我通过将设置->网络->附加到NAT更改为桥接适配器来修复它

于 2020-11-08T07:33:17.313 回答
0

正如 Tariq Khan 建议的那样,我做了同样的事情,结果成功了..

修复 UBUNTU 14.10 UNICORN APT-GET 更新

先备份repo

$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup 
$ sudo vi /etc/apt/sources.list

将http://us.archive.ubuntu.com/ubuntu/中的us.archive 或存档重命名 为 http://old-release.ubuntu.com/ubuntu/

http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-i386/Packages重命名 为 http://old-releases.ubuntu.com/ubuntu/dists/saucy-security/universe/binary -i386/包

$ sudo apt-get update
于 2016-01-25T17:40:51.477 回答
0

我最近遇到了 apt-get update 卡在 0% 的问题;

0% [连接到 security.ubuntu.com (2001:67c:1360:8001::21)]

可能是 ipv6 上的某种 DNS 问题。我只是将其添加为解决方法;

-o Acquire::ForceIPv4=true
于 2016-10-14T04:54:36.463 回答
0

我今天尝试了这个非常有趣的解决方案,它在 Ubuntu 服务器上对我有用。某些 DNS 或其他问题apt使得它坚持不从自定义 PPA 安装某些软件包。我所做的是安装apt-fast包并使用它来安装我的包而不是apt.

apt-fast是一种替代方案apt,可以在上面工作apt但用于aria2c下载包。它用于提高下载速度。就我而言,它还解决apt了导致失败的任何网络问题。

使用它与apt

sudo apt-fast install package-name
于 2020-01-25T13:01:18.573 回答