更新 Ubuntu 时出现的问题

更新 Ubuntu 时出现的问题

当我调用时,sudo apt-get update进程停止98% [Connecting to security.ubuntu.com (2001:67c:1562::15)],没有其他任何事情发生。我已经完成了因为报告的 IPv6 问题,但我没有帮助。我已经安装了 Ubuntu 12.04 并使用 Gnome 3。我等了 10 分钟让更新完成,但没有完成。以下是完整的更新输出:

hag@hag-PC:~$ sudo apt-get update
[sudo] password for hag: 
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg                               
Hit http://ppa.launchpad.net precise Release.gpg                               
Hit http://de.archive.ubuntu.com precise Release.gpg                           
Hit http://extras.ubuntu.com precise Release.gpg                               
Hit http://de.archive.ubuntu.com precise-updates Release.gpg                   
Hit http://de.archive.ubuntu.com precise-backports Release.gpg                 
Hit http://ppa.launchpad.net precise Release                                   
Hit http://ppa.launchpad.net precise Release                                   
Hit http://de.archive.ubuntu.com precise Release                               
Hit http://extras.ubuntu.com precise Release                                   
Hit http://ppa.launchpad.net precise Release                                   
Hit http://de.archive.ubuntu.com precise-updates Release                       
Hit http://ppa.launchpad.net precise/main Sources                              
Hit http://ppa.launchpad.net precise/main amd64 Packages                       
Hit http://ppa.launchpad.net precise/main i386 Packages                        
Ign http://ppa.launchpad.net precise/main TranslationIndex                     
Hit http://de.archive.ubuntu.com precise-backports Release                     
Hit http://extras.ubuntu.com precise/main Sources                              
Hit http://ppa.launchpad.net precise/main Sources                              
Hit http://ppa.launchpad.net precise/main amd64 Packages                       
Hit http://ppa.launchpad.net precise/main i386 Packages                        
Ign http://ppa.launchpad.net precise/main TranslationIndex                     
Hit http://ppa.launchpad.net precise/main Sources                              
Hit http://de.archive.ubuntu.com precise/main Sources                          
Hit http://de.archive.ubuntu.com precise/restricted Sources                    
Hit http://de.archive.ubuntu.com precise/universe Sources                      
Hit http://de.archive.ubuntu.com precise/multiverse Sources                    
Hit http://de.archive.ubuntu.com precise/main amd64 Packages                   
Hit http://de.archive.ubuntu.com precise/restricted amd64 Packages             
Hit http://de.archive.ubuntu.com precise/universe amd64 Packages               
Hit http://de.archive.ubuntu.com precise/multiverse amd64 Packages             
Hit http://de.archive.ubuntu.com precise/main i386 Packages                    
Hit http://de.archive.ubuntu.com precise/restricted i386 Packages              
Hit http://extras.ubuntu.com precise/main amd64 Packages                       
Hit http://extras.ubuntu.com precise/main i386 Packages                        
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Hit http://ppa.launchpad.net precise/main amd64 Packages                       
Hit http://ppa.launchpad.net precise/main i386 Packages                        
Ign http://ppa.launchpad.net precise/main TranslationIndex                     
Hit http://de.archive.ubuntu.com precise/universe i386 Packages                
Hit http://de.archive.ubuntu.com precise/multiverse i386 Packages              
Hit http://de.archive.ubuntu.com precise/main TranslationIndex                 
Hit http://de.archive.ubuntu.com precise/multiverse TranslationIndex           
Hit http://de.archive.ubuntu.com precise/restricted TranslationIndex           
Hit http://de.archive.ubuntu.com precise/universe TranslationIndex             
Hit http://de.archive.ubuntu.com precise-updates/main Sources                  
Hit http://de.archive.ubuntu.com precise-updates/restricted Sources            
Hit http://de.archive.ubuntu.com precise-updates/universe Sources              
Hit http://de.archive.ubuntu.com precise-updates/multiverse Sources            
Hit http://de.archive.ubuntu.com precise-updates/main amd64 Packages           
Hit http://de.archive.ubuntu.com precise-updates/restricted amd64 Packages     
Hit http://de.archive.ubuntu.com precise-updates/universe amd64 Packages       
Hit http://de.archive.ubuntu.com precise-updates/multiverse amd64 Packages     
Hit http://de.archive.ubuntu.com precise-updates/main i386 Packages            
Hit http://de.archive.ubuntu.com precise-updates/restricted i386 Packages      
Hit http://de.archive.ubuntu.com precise-updates/universe i386 Packages        
Hit http://de.archive.ubuntu.com precise-updates/multiverse i386 Packages      
Hit http://de.archive.ubuntu.com precise-updates/main TranslationIndex         
Hit http://de.archive.ubuntu.com precise-updates/multiverse TranslationIndex   
Hit http://de.archive.ubuntu.com precise-updates/restricted TranslationIndex   
Hit http://de.archive.ubuntu.com precise-updates/universe TranslationIndex     
Hit http://de.archive.ubuntu.com precise-backports/main Sources                
Hit http://de.archive.ubuntu.com precise-backports/restricted Sources          
Hit http://de.archive.ubuntu.com precise-backports/universe Sources            
Hit http://de.archive.ubuntu.com precise-backports/multiverse Sources          
Hit http://de.archive.ubuntu.com precise-backports/main amd64 Packages         
Hit http://de.archive.ubuntu.com precise-backports/restricted amd64 Packages   
Hit http://de.archive.ubuntu.com precise-backports/universe amd64 Packages     
Hit http://de.archive.ubuntu.com precise-backports/multiverse amd64 Packages   
Hit http://de.archive.ubuntu.com precise-backports/main i386 Packages          
Hit http://de.archive.ubuntu.com precise-backports/restricted i386 Packages    
Hit http://de.archive.ubuntu.com precise-backports/universe i386 Packages      
Hit http://de.archive.ubuntu.com precise-backports/multiverse i386 Packages    
Hit http://de.archive.ubuntu.com precise-backports/main TranslationIndex       
Hit http://de.archive.ubuntu.com precise-backports/multiverse TranslationIndex 
Hit http://de.archive.ubuntu.com precise-backports/restricted TranslationIndex 
Hit http://de.archive.ubuntu.com precise-backports/universe TranslationIndex   
Hit http://de.archive.ubuntu.com precise/main Translation-en                   
Hit http://de.archive.ubuntu.com precise/multiverse Translation-en             
Hit http://de.archive.ubuntu.com precise/restricted Translation-en             
Hit http://de.archive.ubuntu.com precise/universe Translation-en               
Hit http://de.archive.ubuntu.com precise-updates/main Translation-en           
Hit http://de.archive.ubuntu.com precise-updates/multiverse Translation-en     
Hit http://de.archive.ubuntu.com precise-updates/restricted Translation-en     
Hit http://de.archive.ubuntu.com precise-updates/universe Translation-en       
Hit http://de.archive.ubuntu.com precise-backports/main Translation-en         
Hit http://de.archive.ubuntu.com precise-backports/multiverse Translation-en   
Hit http://de.archive.ubuntu.com precise-backports/restricted Translation-en   
Hit http://de.archive.ubuntu.com precise-backports/universe Translation-en     
Ign http://extras.ubuntu.com precise/main Translation-en_US                    
Ign http://ppa.launchpad.net precise/main Translation-en_US                    
Ign http://ppa.launchpad.net precise/main Translation-en                       
Ign http://ppa.launchpad.net precise/main Translation-en_US                    
Ign http://extras.ubuntu.com precise/main Translation-en                       
Ign http://ppa.launchpad.net precise/main Translation-en                       
Ign http://ppa.launchpad.net precise/main Translation-en_US                    
Ign http://ppa.launchpad.net precise/main Translation-en                       
98% [Connecting to security.ubuntu.com (2001:67c:1562::15)]

编辑:好的,我再次启用了 IPv6。当我在 Synaptic 软件包管理器中按“重新加载”时,它永远停留在“正在下载文件 115/115”的位置。当我按“取消”时,它显示

获取失败 http://security.ubuntu.com/ubuntu/dists/precise-security/Release.gpg
某些索引文件下载失败。它们已被忽略或使用旧文件代替。

编辑:我也可以ping security.ubuntu.com毫无问题

PING security.ubuntu.com (91.189.92.200) 56(84) bytes of data.
64 bytes from obake.canonical.com (91.189.92.200): icmp_req=1 ttl=49 time=29.7 ms
64 bytes from obake.canonical.com (91.189.92.200): icmp_req=2 ttl=49 time=31.5 ms
64 bytes from obake.canonical.com (91.189.92.200): icmp_req=3 ttl=49 time=29.5 ms
64 bytes from obake.canonical.com (91.189.92.200): icmp_req=4 ttl=49 time=30.1 ms
64 bytes from obake.canonical.com (91.189.92.200): icmp_req=5 ttl=49 time=29.2 ms
^C
--- security.ubuntu.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5008ms
rtt min/avg/max/mdev = 29.282/29.950/31.598/0.808 ms

答案1

你必须耐心等待(一两个小时)。获取签名时可能会出错,你只能等着看电影,然后你可能会收到错误(我猜是(无法连接))。之后你必须在你的 上搜索它source.list,删除它并搜索新的。

我推荐这个页面来更新你的源列表

http://repogen.simplylinux.ch/


要有耐心,非常有耐心 :)

相关内容