apt-get在我的发行版的旧版本上找不到软件包


21

我正在Linux Mint 16计算机上工作,并且自最近以来,每次我想通过进行安装时apt-get install,日志消息均显示无法对软件包进行身份验证。我继续尝试不进行身份验证就安装它们,结果发现大多数软件包都没有找到。

在过程结束时,控制台消息建议我使用apt-get update--fix-missing。这就是我的工作:sudo apt-get update和再次尝试安装后的Instantley,sudo apt-get install nginx但仍然收到相同的消息错误。

问题是什么?我想念什么吗?

注意:我会复制/粘贴日志,但是它们是西班牙语的,因此对大多数人可能没有多大帮助。

更新:感谢@Flup,我设法获得了英文日志。

它们是:对于apt-get install

ricardo@toshi ~$ sudo apt-get install nginx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnet-daemon-perl libplrpc-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  nginx-common nginx-full
The following NEW packages will be installed:
  nginx nginx-common nginx-full
0 upgraded, 3 newly installed, 0 to remove and 17 not upgraded.
Need to get 404 kB of archives.
After this operation, 1246 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  nginx-common nginx-full nginx
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ raring-updates/universe nginx-common all 1.2.6-1ubuntu3.3
  404  Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com/ubuntu/ raring-security/universe nginx-common all 1.2.6-1ubuntu3.3
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com/ubuntu/ raring-security/universe nginx-full amd64 1.2.6-1ubuntu3.3
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com/ubuntu/ raring-security/universe nginx all 1.2.6-1ubuntu3.3
  404  Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx-common_1.2.6-1ubuntu3.3_all.deb  404  Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx-full_1.2.6-1ubuntu3.3_amd64.deb  404  Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx_1.2.6-1ubuntu3.3_all.deb  404  Not Found [IP: 91.189.92.200 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

对于apt-get update

ricardo@toshi ~$ sudo apt-get update
Hit http://dl.google.com stable Release.gpg
Ign http://es.archive.ubuntu.com raring Release.gpg                                                                                          
Hit http://archive.canonical.com raring Release.gpg                                                                                          
Hit http://dl.google.com stable Release.gpg                                                                                                  
Hit http://ppa.launchpad.net raring Release.gpg                                                                                              
Ign http://es.archive.ubuntu.com raring Release.gpg                                                                                          
Ign http://archive.ubuntu.com raring Release.gpg                                                                                             
Hit http://dl.google.com stable Release                                                                                                      
Hit http://archive.canonical.com raring Release                                                                                              
Ign http://es.archive.ubuntu.com raring Release                                                                                              
Hit http://ppa.launchpad.net raring Release.gpg                                                                                              
Ign http://archive.ubuntu.com raring-updates Release.gpg                                                                                     
Hit http://dl.google.com stable Release                                                                                                      
Ign http://security.ubuntu.com raring-security Release.gpg                                                                                   
Ign http://es.archive.ubuntu.com raring Release                                                                                              
Hit http://archive.canonical.com raring/partner amd64 Packages                                                                               
Ign http://archive.ubuntu.com raring Release                                                                                                 
Hit http://ppa.launchpad.net raring Release                                                                                                  
Hit http://downloads-distro.mongodb.org dist Release.gpg                                                                                     
Hit http://dl.google.com stable/main amd64 Packages                                                                                          
Get:1 http://packages.linuxmint.com olivia Release.gpg [198 B]                                                                               
Ign http://archive.ubuntu.com raring-updates Release                                                                                         
Hit http://archive.canonical.com raring/partner i386 Packages                                                                                
Hit http://dl.google.com stable/main i386 Packages                                                                                           
Hit http://ppa.launchpad.net raring Release                                                                                                  
Ign http://security.ubuntu.com raring-security Release                                                                                       
Ign http://archive.ubuntu.com raring/main amd64 Packages/DiffIndex                                                                           
Hit http://ppa.launchpad.net raring/main Sources                                                                                             
Ign http://archive.ubuntu.com raring/restricted amd64 Packages/DiffIndex                                                                     
Get:2 http://packages.linuxmint.com olivia Release [18.5 kB]                                                                                 
Hit http://ppa.launchpad.net raring/main amd64 Packages                                                                                      
Ign http://archive.ubuntu.com raring/universe amd64 Packages/DiffIndex                                                                       
Ign http://security.ubuntu.com raring-security/main amd64 Packages/DiffIndex                                                                 
Hit http://dl.google.com stable/main amd64 Packages                                                                                          
Hit http://downloads-distro.mongodb.org dist Release                                                                                         
Ign http://archive.ubuntu.com raring/multiverse amd64 Packages/DiffIndex                                                                     
Hit http://ppa.launchpad.net raring/main i386 Packages                                                                                       
Hit http://dl.google.com stable/main i386 Packages                                                                                           
Ign http://archive.ubuntu.com raring/main i386 Packages/DiffIndex                                                                            
Ign http://security.ubuntu.com raring-security/restricted amd64 Packages/DiffIndex                                                           
Ign http://archive.ubuntu.com raring/restricted i386 Packages/DiffIndex                                                                      
Ign http://archive.ubuntu.com raring/universe i386 Packages/DiffIndex                                                                        
Ign http://security.ubuntu.com raring-security/universe amd64 Packages/DiffIndex                                                             
Ign http://archive.ubuntu.com raring/multiverse i386 Packages/DiffIndex                                                                      
Hit http://toolbelt.heroku.com ./ Release.gpg                                                                                                
Hit http://ppa.launchpad.net raring/main Sources                                                                                             
Get:3 http://packages.linuxmint.com olivia/main amd64 Packages [23.5 kB]                                                                     
Hit http://downloads-distro.mongodb.org dist/10gen amd64 Packages                                                                            
Hit https://get.docker.io docker Release.gpg                                                                                                 
Hit http://ppa.launchpad.net raring/main amd64 Packages                                                                                      
Ign http://security.ubuntu.com raring-security/multiverse amd64 Packages/DiffIndex                                                           
Ign http://archive.canonical.com raring/partner Translation-en                                                                               
Hit http://ppa.launchpad.net raring/main i386 Packages                                                                                       
Hit https://get.docker.io docker Release                                                                                                     
Ign http://archive.canonical.com raring/partner Translation-es                                                                               
Ign http://security.ubuntu.com raring-security/main i386 Packages/DiffIndex                                                                  
Hit http://toolbelt.heroku.com ./ Release                                                                                                    
Hit http://downloads-distro.mongodb.org dist/10gen i386 Packages                                                                             
Hit https://get.docker.io docker/main amd64 Packages                                                                                         
Get:4 http://packages.linuxmint.com olivia/upstream amd64 Packages [9249 B]                                                                  
Ign http://security.ubuntu.com raring-security/restricted i386 Packages/DiffIndex                                                            
Hit https://get.docker.io docker/main i386 Packages                                                                                          
Get:5 http://packages.linuxmint.com olivia/import amd64 Packages [39.2 kB]                                                                   
Ign http://security.ubuntu.com raring-security/universe i386 Packages/DiffIndex                                                              
Hit http://toolbelt.heroku.com ./ Packages                                                                                                   
Ign http://archive.ubuntu.com raring-updates/main amd64 Packages/DiffIndex                                                                   
Ign http://security.ubuntu.com raring-security/multiverse i386 Packages/DiffIndex                                                            
Ign http://archive.ubuntu.com raring-updates/restricted amd64 Packages/DiffIndex                                                             
Ign http://dl.google.com stable/main Translation-en                                                                                          
Ign http://archive.ubuntu.com raring-updates/universe amd64 Packages/DiffIndex                                                               
Ign http://dl.google.com stable/main Translation-es                                                                                          
Ign http://archive.ubuntu.com raring-updates/multiverse amd64 Packages/DiffIndex                                                             
Ign http://dl.google.com stable/main Translation-en                                                                                          
Ign http://archive.ubuntu.com raring-updates/main i386 Packages/DiffIndex                                                                    
Get:6 http://packages.linuxmint.com olivia/main i386 Packages [23.5 kB]                                                                      
Ign http://dl.google.com stable/main Translation-es                                                                                          
Ign http://archive.ubuntu.com raring-updates/restricted i386 Packages/DiffIndex                                                              
Ign http://archive.ubuntu.com raring-updates/universe i386 Packages/DiffIndex                                                                
Ign http://archive.ubuntu.com raring-updates/multiverse i386 Packages/DiffIndex                                                              
Get:7 http://packages.linuxmint.com olivia/upstream i386 Packages [9237 B]                                                                   
Ign http://ppa.launchpad.net raring/main Translation-en                                                                                      
Get:8 http://packages.linuxmint.com olivia/import i386 Packages [40.1 kB]                                                                    
Ign http://ppa.launchpad.net raring/main Translation-es                                                                                      
Ign http://ppa.launchpad.net raring/main Translation-en                                                                                      
Ign http://ppa.launchpad.net raring/main Translation-es                                                                                      
Ign http://toolbelt.heroku.com ./ Translation-en                                                                                             
Ign http://toolbelt.heroku.com ./ Translation-es                                                                                             
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en                                                                            
Ign http://downloads-distro.mongodb.org dist/10gen Translation-es                                                 
Err http://es.archive.ubuntu.com raring/main amd64 Packages                                 
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/universe amd64 Packages                                        
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/main i386 Packages                                             
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/universe i386 Packages        
  404  Not Found [IP: 91.189.92.201 80]
Ign http://es.archive.ubuntu.com raring/main Translation-en           
Ign http://es.archive.ubuntu.com raring/main Translation-es           
Ign http://es.archive.ubuntu.com raring/universe Translation-en       
Ign http://es.archive.ubuntu.com raring/universe Translation-es       
Err http://es.archive.ubuntu.com raring/main amd64 Packages           
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/universe amd64 Packages       
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/main i386 Packages            
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/universe i386 Packages        
  404  Not Found [IP: 91.189.92.201 80]
Ign http://es.archive.ubuntu.com raring/main Translation-en                                                                                  
Ign http://es.archive.ubuntu.com raring/main Translation-es                                                                                  
Ign http://es.archive.ubuntu.com raring/universe Translation-en                                                                              
Ign http://es.archive.ubuntu.com raring/universe Translation-es                                                                              
Ign http://packages.linuxmint.com olivia/import Translation-en                                                                               
Ign http://packages.linuxmint.com olivia/import Translation-es                                                                               
Ign https://get.docker.io docker/main Translation-en                                                                                         
Ign http://packages.linuxmint.com olivia/main Translation-en                                                                                 
Ign http://packages.linuxmint.com olivia/main Translation-es                                                                                 
Ign http://packages.linuxmint.com olivia/upstream Translation-en                                                                             
Ign https://get.docker.io docker/main Translation-es                                                                                         
Ign http://packages.linuxmint.com olivia/upstream Translation-es                                                                             
Ign http://archive.ubuntu.com raring/main Translation-en                                                                                     
Ign http://archive.ubuntu.com raring/main Translation-es                                                                                     
Ign http://archive.ubuntu.com raring/multiverse Translation-en                                                                               
Ign http://archive.ubuntu.com raring/multiverse Translation-es                                                                               
Ign http://archive.ubuntu.com raring/restricted Translation-en                                                                               
Ign http://archive.ubuntu.com raring/restricted Translation-es                                                                               
Ign http://archive.ubuntu.com raring/universe Translation-en                                                                                 
Ign http://archive.ubuntu.com raring/universe Translation-es                                                                                 
Ign http://archive.ubuntu.com raring-updates/main Translation-en                                                                             
Ign http://archive.ubuntu.com raring-updates/main Translation-es                                                                             
Ign http://archive.ubuntu.com raring-updates/multiverse Translation-en
Ign http://archive.ubuntu.com raring-updates/multiverse Translation-es
Ign http://archive.ubuntu.com raring-updates/restricted Translation-en
Ign http://archive.ubuntu.com raring-updates/restricted Translation-es
Ign http://security.ubuntu.com raring-security/main Translation-en
Ign http://archive.ubuntu.com raring-updates/universe Translation-en
Ign http://archive.ubuntu.com raring-updates/universe Translation-es
Ign http://security.ubuntu.com raring-security/main Translation-es
Err http://archive.ubuntu.com raring/main amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring/restricted amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/multiverse Translation-en
Err http://archive.ubuntu.com raring/universe amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/multiverse Translation-es
Err http://archive.ubuntu.com raring/multiverse amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring/main i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring/restricted i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/restricted Translation-en
Err http://archive.ubuntu.com raring/universe i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring/multiverse i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/restricted Translation-es
Err http://archive.ubuntu.com raring-updates/main amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring-updates/restricted amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/universe Translation-en
Err http://archive.ubuntu.com raring-updates/universe amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring-updates/multiverse amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/universe Translation-es
Err http://archive.ubuntu.com raring-updates/main i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring-updates/restricted i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring-updates/universe i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com raring-security/main amd64 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://archive.ubuntu.com raring-updates/multiverse i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com raring-security/restricted amd64 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/universe amd64 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/multiverse amd64 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/main i386 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/restricted i386 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/universe i386 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/multiverse i386 Packages
  404  Not Found [IP: 91.189.91.15 80]
Fetched 163 kB in 15s (10.9 kB/s)
W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/main/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/universe/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/main/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/universe/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1
您的存储库设置正确吗?如果有人看到他们认识的东西,仍然可以发布日志。
n0pe 2014年

2
要获取英语输出,请执行export LANG=C,再次运行命令,然后粘贴输出。
2014年

谢谢你的建议。我设法获得英语日志,只是更新了muy问题。
Xar 2014年

5
Mint 16已经停产,并且不再受支持-请参见Linux Mint Releases如何升级至较新版本
steeldriver 2014年

Answers:


40

帮助我的是:https : //smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/

基本上将列表更新为使用old-releases.ubuntu.com:

sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list.d/official-package-repositories.list
sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list.d/official-source-repositories.list

编辑:正如Meisam Mulla在评论中所说,如果/etc/apt/sources.list文件中的url 带有前缀(ca.例如),您将需要手动删除前缀,因为ca.old-releases.ubuntu.com这不是有效地址。

另外,我给Google员工的一些错误消息:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/source/Sources  404  Not Found [IP: 91.189.88.153 80]
Err http://archive.ubuntu.com raring/main Sources
  404  Not Found [IP: 91.189.92.201 80]
Err http://archive.ubuntu.com raring/restricted Sources
  404  Not Found [IP: 91.189.92.201 80]

这也为我工作。
Newb 2014年

5
甜!很高兴看到我的博客文章有所帮助:D
sMyles 2014年

肖,运行此命令后,我将无法再执行apt-get install。我收到错误消息,指出软件包不可用。有什么想法可以规避吗?
bschandramohan

1
嗨@ChandraMohan 此后,我已经更新到Mint 17.1,因此很遗憾,我无法为您提供帮助。我建议您使用确切的错误信息提出一个新问题
2015年

1
我这样做了,但是仍然有效,但是仍然出现连接错误。原来/etc/apt/sources.list中的源以开头ca.。我只是从URL中手动删除了前缀,它开始正常工作。
Meisam Mulla

6

如果您使用出现404错误的网址之一并将其放在浏览器中,则会看到您也收到404错误。这可能是暂时的,也可能是服务器错误,因此您可以搜索目录结构,直到url为为止http://archive.ubuntu.com/ubuntu/dists/

在那里您将看到lucid(10.04),precise(12.04),saucy(13.10),trusty(14.04)和utopic(14.10)的子目录。数字是对应的 Ubuntu版本号。其他的产品生命周期终结,不再受支持,不应使用。Mint 16 应该是13.10的派生类,因此不清楚为什么系统会尝试从13.04中获取一些东西。

你可以尝试在更新的条目/etc/apt/sources.lst,并/etc/sources.list.d/*raringsaucy,并尝试是否有帮助,但你可能通过安装不兼容的版本进一步破坏系统(做一个备份第一)。

您应该考虑升级到Mint 17,或回退到支持的较早版本,例如Maya(13)

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.