Update Manager กล่าวว่า 'ไม่สามารถติดตั้งการอัปเดตทั้งหมดได้'


9

ฉันติดตั้ง Gnome 3 ได้ 11.04 และทุกอย่างทำงานได้ดีจนกระทั่งฉันพยายามเรียกใช้ตัวจัดการอัปเดต ตอนนี้ฉันไม่สามารถอัพเดตแพ็คเกจใด ๆ ของฉันได้ คำถามที่คล้ายกันถูกโพสต์สักครู่แล้ว แต่ไม่มีวิธีแก้ไข

แก้ไข

ผลผลิตจาก 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


ขอบคุณ - และถ้าเช่นคุณพิมพ์sudo apt-get install totemข้อผิดพลาดอะไรคุณเห็น? - โปรดอย่าลืมเพิ่มคำถามนี้กลับไปที่คำถามของคุณ
fossfreedom

@fossfreedom ติดตั้งtotemและใช้งานupdate& & upgradeอนุญาตให้ฉันอัปเดตeogแต่แพ็คเกจอื่น ๆ ยังคงถูก
ระงับ

ตกลง - ทีละขั้นตอน - ช่วยให้ค้นหาแพคเกจที่ถูกเก็บไว้อย่างแน่นอน - ลองติดตั้งแพคเกจด้วยsudo apt-get install <packagename>- หากมีข้อผิดพลาด - แทนที่การแก้ไข totem ด้วยข้อผิดพลาดแพ็คเกจใหม่นี้
fossfreedom

คำตอบ:


9

ฉันพบว่าบางครั้งผู้จัดการแพคเกจไม่สามารถรับมือกับขอบเขตของการเปลี่ยนแปลง PPA เฉพาะที่กำลังขอให้อัปเดตได้

ตัวอย่างเช่นผู้จัดการเริ่มประมวลผลไฟล์ แต่ยอมแพ้การอ้างสิทธิ์ผิด - โดยไม่ต้องวิเคราะห์เพิ่มเติมว่าแพ็กเกจ / หรือแพ็กเกจภายหลังใน PPA จะทำให้การพึ่งพานั้นสำเร็จ

ในกรณีเหล่านี้คุณควรทำสิ่งต่อไปนี้ - รันในเทอร์มินัล

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

นี่จะให้รายการของแพ็คเกจที่ไม่สามารถติดตั้งได้

ผ่านรายการทีละหนึ่งพยายามที่จะติดตั้งมันคือ

sudo apt-get install <package name>

เมื่อคุณทำสิ่งนี้แล้วให้ทำซ้ำคำสั่งอัพเดต / อัพเกรดและทำซ้ำส่วนที่เหลือของแพ็กเกจ / แพ็กเกจใหม่ที่กำลังร้องขอ คุณอาจต้องทำสองสามครั้งจนกว่าจะติดตั้งแพ็คเกจทั้งหมด


1
เพียงแค่สงสัย: เท่าที่ผมจำข้อความมักจะมาพร้อมกับตัวเลือกของ'Not all updates can be installed' 'Run partial upgrade'ในฐานะที่เป็น GUI ทางที่แนะนำให้คุณ (เช่น) แนะนำให้เรียกใช้ "การอัพเกรดบางส่วน" รีบูตเครื่องแล้วตรวจสอบว่าUpdate Mgrมีอะไรเหลือให้ทำหลังจากรีบูตเครื่องหรือไม่ วิธีบรรทัดคำสั่งของคุณและ "GUI" นี้จะมีจำนวนเท่ากันหรือไม่ เท่าเทียมกัน "ปลอดภัย" / เชื่อถือได้?
บ๊องเกี่ยวกับ natty

หากคุณเก็บรักษาแพ็คเกจไว้ดูที่นี่: askubuntu.com/questions/601/…สาเหตุอาจทำให้ระบบของคุณพังโดยติดตั้ง
LAFK พูดว่า Reinstate Monica
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.