更新管理器显示“并非所有更新均可安装”

更新管理器显示“并非所有更新均可安装”

我安装了 11.04 和 Gnome 3,一切运行正常,直到我尝试运行更新管理器。现在我无法更新任何软件包。类似的问题已发布一段时间,但没有提出解决方案

编辑

输出自sudo apt-get update && sudo apt-get upgrade

Ign http://extras.ubuntu.com natty InRelease
Ign http://ppa.launchpad.net natty InRelease                        
Ign http://us.archive.ubuntu.com natty InRelease                     
Ign http://us.archive.ubuntu.com natty-updates InRelease                       
Ign http://security.ubuntu.com natty-security InRelease                        
Hit http://extras.ubuntu.com natty Release.gpg                       
Hit http://ppa.launchpad.net natty Release.gpg                       
Hit http://us.archive.ubuntu.com natty Release.gpg                   
Hit http://security.ubuntu.com natty-security Release.gpg            
Hit http://extras.ubuntu.com natty Release                           
Hit http://ppa.launchpad.net natty Release                                     
Hit http://us.archive.ubuntu.com natty-updates Release.gpg                     
Hit http://security.ubuntu.com natty-security Release                 
Hit http://extras.ubuntu.com natty/main Sources                                
Hit http://us.archive.ubuntu.com natty Release                       
Hit http://ppa.launchpad.net natty/main Sources                                
Hit http://security.ubuntu.com natty-security/main Sources                     
Hit http://extras.ubuntu.com natty/main i386 Packages                          
Ign http://extras.ubuntu.com natty/main TranslationIndex             
Hit http://us.archive.ubuntu.com natty-updates Release               
Hit http://ppa.launchpad.net natty/main i386 Packages                          
Ign http://ppa.launchpad.net natty/main TranslationIndex                       
Hit http://security.ubuntu.com natty-security/restricted Sources               
Hit http://security.ubuntu.com natty-security/universe Sources                 
Hit http://security.ubuntu.com natty-security/multiverse Sources               
Hit http://security.ubuntu.com natty-security/main i386 Packages               
Hit http://security.ubuntu.com natty-security/restricted i386 Packages         
Hit http://us.archive.ubuntu.com natty/main Sources                  
Hit http://us.archive.ubuntu.com natty/restricted Sources            
Hit http://us.archive.ubuntu.com natty/universe Sources              
Hit http://us.archive.ubuntu.com natty/multiverse Sources            
Hit http://us.archive.ubuntu.com natty/main i386 Packages            
Hit http://security.ubuntu.com natty-security/universe i386 Packages 
Hit http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex            
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex      
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty/restricted i386 Packages      
Hit http://us.archive.ubuntu.com natty/universe i386 Packages        
Hit http://us.archive.ubuntu.com natty/multiverse i386 Packages      
Ign http://us.archive.ubuntu.com natty/main TranslationIndex         
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex   
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex             
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex               
Hit http://us.archive.ubuntu.com natty-updates/main Sources          
Hit http://us.archive.ubuntu.com natty-updates/restricted Sources    
Hit http://us.archive.ubuntu.com natty-updates/universe Sources      
Hit http://us.archive.ubuntu.com natty-updates/multiverse Sources    
Hit http://us.archive.ubuntu.com natty-updates/main i386 Packages    
Hit http://us.archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/multiverse i386 Packages        
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex           
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en_US            
Ign http://ppa.launchpad.net natty/main Translation-en_US            
Ign http://extras.ubuntu.com natty/main Translation-en               
Ign http://ppa.launchpad.net natty/main Translation-en               
Ign http://security.ubuntu.com natty-security/main Translation-en_US 
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_US
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_US
Ign http://security.ubuntu.com natty-security/universe Translation-en
Ign http://us.archive.ubuntu.com natty/main Translation-en_US
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en

Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  brasero brasero-cdrkit brasero-common empathy empathy-common eog evince
  evince-common gedit gedit-common gnome-disk-utility gnome-keyring
  gnome-media gnome-shell gnome-system-monitor gnome-terminal
  gnome-terminal-data gnome-themes-selected gucharmap gvfs gvfs-backends
  gvfs-fuse libcanberra-pulse libcanberra0 libgcr0 libgdu-gtk0
  libgnome-keyring0 libgtk-vnc-1.0-0 libgucharmap7 light-themes
  linux-generic-pae linux-headers-generic-pae linux-image-generic-pae
  nautilus-sendto-empathy seahorse totem totem-common totem-mozilla
  totem-plugins vinagre yelp zenity
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.

编辑3

sudo apt-get install [package]安装完每个被阻止的软件包(通过 )后,一切似乎都正常了。那么为什么我必须重新安装所有东西呢?我猜想这与 gnome3 有关,因为每个软件包都是通过其 repo 安装的。

答案1

我发现有时包管理器无法应对特定 PPA 请求更新的更改程度。

例如,管理器开始处理一个文件,但放弃声明错误的依赖关系——而没有进一步分析 PPA 中的后续包或包是否会满足该依赖关系。

在这些情况下,您应该执行以下操作 - 在终端中运行

sudo apt-get update && sudo apt-get upgrade

这将为您提供无法安装的软件包列表。

逐一浏览列表并尝试安装它,即

sudo apt-get install <package name>

完成此操作后,重复更新/升级命令并重复其请求的其余软件包/新软件包。您可能需要执行此操作几次,直到安装所有软件包。

相关内容