Ubuntu apt-get无法获取软件包 [英] Ubuntu apt-get unable to fetch packages

查看:166
本文介绍了Ubuntu apt-get无法获取软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅安装了Ubuntu 13.10(Saucy),而我尝试通过sudo apt-get install安装的任何方法均会失败,并抛出一系列404错误.

Just installed Ubuntu 13.10 (Saucy) and anything I try to install via sudo apt-get install is failing and throwing a series of 404 erros.

示例-安装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.

In this case it can't fetch an archive 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]
....

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

... and numerous other packages.

我什至尝试了sudo apt-get update并与--fix-missing?

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

Is the Ubuntu repository just down (which seems odd given how many people rely on it) or did I miss something?

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

Here's what happens when I try sudo apt-get update. The update itself doesn't work because of resources that can't be found

> 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.

推荐答案

遇到类似问题.

这与使用非LTS版本的Ubuntu(称为生命终止版本")有关.由于那些已经停止支持.您可以在此链接上检查您的Ubuntu是否是生命周期终止版本.

This is linked to using a non LTS version of Ubuntu called an "End of life version". As those have discontinued support. You can check if your Ubuntu is at the end of life version on this link.

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

The simplest solution is to do the following two steps:

  1. 备份您的来源列表 sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
  2. 打开源文件/etc/apt/sources.list,并在

  1. Backup your sources list sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
  2. Open the sources file /etc/apt/sources.list and rename all the instances of us.archive or archive in

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

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

http://旧版本 .ubuntu.com/ubuntu/

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

对于http:// security .ubuntu.com/ubuntu/dists/saucy-security/universe/binary-i386/Packages

Also do the same for the http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-i386/Packages

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

Run sudo apt-get update after doing the above.

这应该可以解决问题.

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

Warning: Please update your ubuntu to an LTS version as soon as possible otherwise you won't be getting the latest security patches. This is definitely not a solution that you would deploy on production machines.

这篇关于Ubuntu apt-get无法获取软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆