在 Ubuntu 14.10 中,“sudo apt-get update”出现 404 未找到

在 Ubuntu 14.10 中,“sudo apt-get update”出现 404 未找到

我刚刚安装了 Ubuntu 14.10 桌面版。我昨天下载了它。它已经正确安装。

我已经添加了一个存储库,现在当我输入时sudo apt-get update出现以下错误:

Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic InRelease
Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-en_US
Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-en
Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-en_US
Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-en
Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic InRelease          

Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-updates InRelease  

Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-backports InRelease

Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic Release.gpg        
  Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com'
Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-updates Release.gpg
  Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com'
Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-backports Release.gpg
  Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com'
Ign http://archive.canonical.com utopic InRelease                              
Ign http://ppa.launchpad.net utopic InRelease                                  
Ign http://extras.ubuntu.com utopic InRelease                                  
Hit http://archive.canonical.com utopic Release.gpg                            
Ign http://ppa.launchpad.net utopic Release.gpg                               
Hit http://extras.ubuntu.com utopic Release.gpg                      
Ign http://us.archive.ubuntu.com utopic-security InRelease           
Hit http://archive.canonical.com utopic Release                                
Ign http://ppa.launchpad.net utopic Release                                    
Hit http://extras.ubuntu.com utopic Release                                    
Ign http://us.archive.ubuntu.com utopic InRelease                              
Hit http://extras.ubuntu.com utopic/main Sources                     
Ign http://us.archive.ubuntu.com utopic-backports InRelease                    
Hit http://extras.ubuntu.com utopic/main i386 Packages               
Ign http://us.archive.ubuntu.com utopic-proposed InRelease                     
Hit http://archive.canonical.com utopic/partner Sources                        
Ign http://us.archive.ubuntu.com utopic-updates InRelease                      
Hit http://archive.canonical.com utopic/partner i386 Packages                  
Hit http://us.archive.ubuntu.com utopic-security Release.gpg                   
Hit http://archive.canonical.com utopic/partner Translation-en                 
Hit http://us.archive.ubuntu.com utopic Release.gpg                   
Hit http://us.archive.ubuntu.com utopic-backports Release.gpg         
Hit http://us.archive.ubuntu.com utopic-proposed Release.gpg
Hit http://us.archive.ubuntu.com utopic-updates Release.gpg
Ign http://extras.ubuntu.com utopic/main Translation-en_US
Ign http://extras.ubuntu.com utopic/main Translation-en
Hit http://us.archive.ubuntu.com utopic-security Release
Hit http://us.archive.ubuntu.com utopic Release                        
Hit http://us.archive.ubuntu.com utopic-backports Release             
Hit http://us.archive.ubuntu.com utopic-proposed Release               
Err http://ppa.launchpad.net utopic/main Sources                      
  404  Not Found
Hit http://us.archive.ubuntu.com utopic-updates Release
Err http://ppa.launchpad.net utopic/main i386 Packages                 
  404  Not Found
Ign http://ppa.launchpad.net utopic/main Translation-en_US             
Ign http://ppa.launchpad.net utopic/main Translation-en
Hit http://us.archive.ubuntu.com utopic-security/main Sources                  
Hit http://us.archive.ubuntu.com utopic-security/restricted Sources
Hit http://us.archive.ubuntu.com utopic-security/universe Sources
Hit http://us.archive.ubuntu.com utopic-security/multiverse Sources
Hit http://us.archive.ubuntu.com utopic-security/main i386 Packages
Hit http://us.archive.ubuntu.com utopic-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com utopic-security/universe i386 Packages
Hit http://us.archive.ubuntu.com utopic-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com utopic-security/main Translation-en
Hit http://us.archive.ubuntu.com utopic-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com utopic-security/restricted Translation-en
Hit http://us.archive.ubuntu.com utopic-security/universe Translation-en
Hit http://us.archive.ubuntu.com utopic/main i386 Packages
Hit http://us.archive.ubuntu.com utopic/universe i386 Packages
Hit http://us.archive.ubuntu.com utopic/restricted i386 Packages
Hit http://us.archive.ubuntu.com utopic/multiverse i386 Packages
Hit http://us.archive.ubuntu.com utopic/main Translation-en
Hit http://us.archive.ubuntu.com utopic/multiverse Translation-en              
Hit http://us.archive.ubuntu.com utopic/restricted Translation-en              
Hit http://us.archive.ubuntu.com utopic/universe Translation-en                
Hit http://us.archive.ubuntu.com utopic-backports/main i386 Packages           
Hit http://us.archive.ubuntu.com utopic-backports/universe i386 Packages       
Hit http://us.archive.ubuntu.com utopic-backports/multiverse i386 Packages     
Hit http://us.archive.ubuntu.com utopic-backports/restricted i386 Packages     
Hit http://us.archive.ubuntu.com utopic-backports/main Translation-en          
Hit http://us.archive.ubuntu.com utopic-backports/multiverse Translation-en    
Hit http://us.archive.ubuntu.com utopic-backports/restricted Translation-en    
Hit http://us.archive.ubuntu.com utopic-backports/universe Translation-en      
Hit http://us.archive.ubuntu.com utopic-proposed/main i386 Packages            
Hit http://us.archive.ubuntu.com utopic-proposed/universe i386 Packages        
Hit http://us.archive.ubuntu.com utopic-proposed/multiverse i386 Packages      
Hit http://us.archive.ubuntu.com utopic-proposed/restricted i386 Packages      
Hit http://us.archive.ubuntu.com utopic-proposed/main Translation-en           
Hit http://us.archive.ubuntu.com utopic-proposed/multiverse Translation-en     
Hit http://us.archive.ubuntu.com utopic-proposed/restricted Translation-en     
Hit http://us.archive.ubuntu.com utopic-proposed/universe Translation-en       
Hit http://us.archive.ubuntu.com utopic-updates/main i386 Packages             
Hit http://us.archive.ubuntu.com utopic-updates/universe i386 Packages         
Hit http://us.archive.ubuntu.com utopic-updates/multiverse i386 Packages       
Hit http://us.archive.ubuntu.com utopic-updates/restricted i386 Packages       
Hit http://us.archive.ubuntu.com utopic-updates/main Translation-en            
Hit http://us.archive.ubuntu.com utopic-updates/multiverse Translation-en      
Hit http://us.archive.ubuntu.com utopic-updates/restricted Translation-en      
Hit http://us.archive.ubuntu.com utopic-updates/universe Translation-en        
Reading package lists... Done                                                  
W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic/InRelease  
W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic-updates/InRelease  
W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic-backports/InRelease  
W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic/Release.gpg  Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com'
W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic-updates/Release.gpg  Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com'
W: Failed to fetch http://pk.archive.ubuntu.com|security.ubuntu.com/ubuntu/dists/utopic-backports/Release.gpg  Could not resolve 'pk.archive.ubuntu.com|security.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu/dists/utopic/main/source/Sources  404  Not Found
W: Failed to fetch http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu/dists/utopic/main/binary-i386/Packages  404  Not Found
W: Some index files failed to download. They have been ignored, or old ones used instead.

我读了很多问题,并逐一尝试了所有问题。但它仍然导致问题。我检查了所有选项软件和更新也尝试了不同的服务器。还是出现了同样的问题

答案1

我从 Digital Ocean 网站上获取了此信息:

Ubuntu 14.10 (Utopic Unicorn) 于 2015 年 7 月 23 日“终止使用”,不再受支持。Ubuntu 最近已将其从官方镜像中删除。如果您仍需要 Apt 存储库,则需要编辑 /etc/apt/source.list 以指向:

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

我们还在以下位置建立了镜像:

http://mirrors.digitalocean.com/ubuntu-old

尽管我们强烈建议您升级到较新的版本。14.10 中不再为任何软件包提供安全更新。我们提供该存储库是为了方便尚未升级到受支持版本的用户,并提供临时解决方法。

这对我有用。

答案2

我不确定|你的 ubuntu 服务器名称中间是否应该有一个管道字符……这不仅仅是错误消息的样子,是吗?

尝试检查您的软件存储库,也许尝试不同的镜像。此帮助页面应该有帮助https://help.ubuntu.com/community/Repositories/Ubuntu

我尝试连接到http://pk.archive.ubuntu.com它就挂了,也许它只是坏了。

答案3

您很可能位于物理/网络防火墙或其他网络安全设备的后面,其中 http/https 代理或一些网站类别被阻止,或者极少数情况下,端口 80/443/8080 已被预订

相关内容