ข้อผิดพลาด 'sudo apt-get update' บน Ubuntu 12.04


9

เมื่อฉันพิมพ์sudo apt-get updateฉันจะได้รับสิ่งนี้:

mohd-arafat-hossain@TUD:~$ sudo apt-get update
[sudo] password for mohd-arafat-hossain:
Ign http://bd.archive.ubuntu.com precise InRelease
Ign http://bd.archive.ubuntu.com precise-updates InRelease                     
Ign http://bd.archive.ubuntu.com precise-backports InRelease                   
Ign http://bd.archive.ubuntu.com precise Release.gpg                           
Ign http://bd.archive.ubuntu.com precise-updates Release.gpg                   
Ign http://bd.archive.ubuntu.com precise-backports Release.gpg                 
Ign http://bd.archive.ubuntu.com precise Release                               
Ign http://bd.archive.ubuntu.com precise-updates Release                       
Ign http://bd.archive.ubuntu.com precise-backports Release                     
Ign http://extras.ubuntu.com precise InRelease                                 
Ign http://ppa.launchpad.net precise InRelease                                 
Hit http://extras.ubuntu.com precise Release.gpg                     
Hit http://ppa.launchpad.net precise Release.gpg                     
Hit http://extras.ubuntu.com precise Release                         
Hit http://ppa.launchpad.net precise Release                                   
Hit http://extras.ubuntu.com precise/main Sources                              
Hit http://bd.archive.ubuntu.com precise/main TranslationIndex                 
Hit http://ppa.launchpad.net precise/main Sources                              
Hit http://bd.archive.ubuntu.com precise/multiverse TranslationIndex           
Hit http://bd.archive.ubuntu.com precise/restricted TranslationIndex           
Hit http://extras.ubuntu.com precise/main i386 Packages              
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Hit http://bd.archive.ubuntu.com precise/universe TranslationIndex             
Hit http://ppa.launchpad.net precise/main i386 Packages                        
Ign http://ppa.launchpad.net precise/main TranslationIndex                     
Ign http://security.ubuntu.com precise-security InRelease                      
Hit http://security.ubuntu.com precise-security Release.gpg                    
Hit http://bd.archive.ubuntu.com precise-updates/main TranslationIndex         
Hit http://security.ubuntu.com precise-security Release                        
Hit http://bd.archive.ubuntu.com precise-updates/multiverse TranslationIndex   
Hit http://bd.archive.ubuntu.com precise-updates/restricted TranslationIndex   
Hit http://bd.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Sources         
Ign http://extras.ubuntu.com precise/main Translation-en_US                    
Ign http://ppa.launchpad.net precise/main Translation-en_US                    
Ign http://extras.ubuntu.com precise/main Translation-en             
Hit http://bd.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://bd.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://bd.archive.ubuntu.com precise-backports/restricted TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://bd.archive.ubuntu.com precise-backports/universe TranslationIndex   
Hit http://bd.archive.ubuntu.com precise/main Translation-en                   
Hit http://bd.archive.ubuntu.com precise/multiverse Translation-en             
Hit http://bd.archive.ubuntu.com precise/restricted Translation-en
Hit http://bd.archive.ubuntu.com precise/universe Translation-en
Hit http://security.ubuntu.com precise-security/restricted Sources             
Hit http://security.ubuntu.com precise-security/universe Sources               
Hit http://security.ubuntu.com precise-security/multiverse Sources             
Hit http://security.ubuntu.com precise-security/main i386 Packages             
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://bd.archive.ubuntu.com precise-updates/main Translation-en           
Hit http://bd.archive.ubuntu.com precise-updates/multiverse Translation-en     
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex    
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex    
Hit http://security.ubuntu.com precise-security/universe TranslationIndex      
Hit http://bd.archive.ubuntu.com precise-updates/restricted Translation-en     
Hit http://bd.archive.ubuntu.com precise-updates/universe Translation-en       
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en      
Hit http://security.ubuntu.com precise-security/restricted Translation-en      
Hit http://security.ubuntu.com precise-security/universe Translation-en        
Hit http://bd.archive.ubuntu.com precise-backports/main Translation-en         
Hit http://bd.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://bd.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://bd.archive.ubuntu.com precise-backports/universe Translation-en
Err http://bd.archive.ubuntu.com precise/main Sources     
  404  Not Found
Err http://bd.archive.ubuntu.com precise/restricted Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise/universe Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise/multiverse Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise/main i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise/restricted i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise/universe i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise/multiverse i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/main Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/restricted Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/universe Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/multiverse Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/main i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/restricted i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/universe i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/multiverse i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/main Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/restricted Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/universe Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/multiverse Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/main i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/restricted i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/universe i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/multiverse i386 Packages
  404  Not Found
W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/main/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/restricted/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/main/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/main/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages  404  Not Found

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

จะแก้ไขปัญหานี้อย่างไรและไม่ได้รับข้อผิดพลาดนี้ โปรด


ไม่ว่ามันจะเกิดขึ้นเพียงครั้งเดียวหรือทุกครั้งที่คุณรันคำสั่ง? คุณแน่ใจหรือไม่ว่าการเชื่อมต่ออินเทอร์เน็ตไม่ได้รับการเชื่อมต่อใหม่ในขณะเดียวกัน?
beeju

ขอบคุณ.! ฉันเปลี่ยนแหล่งที่มาในศูนย์ซอฟต์แวร์ - เปลี่ยนการดาวน์โหลดจาก "เซิร์ฟเวอร์หลัก" เป็น "เซิร์ฟเวอร์จากสหรัฐอเมริกา" จากนั้นฉันแก้ไขปัญหาการปรับปรุง audo apt-get เพื่อแก้ไข
Swapnil jaiswal

คำตอบ:


6

บางสิ่งที่ฉันพยายามทำเสมอเมื่อใดก็ตามที่ฉันกำลังอัปเดตแพ็คเกจ Ubuntu 12.04 คือให้แน่ใจว่าฉันจะดาวน์โหลดมันจากมิเรอร์ / เซิร์ฟเวอร์ที่ดีที่สุด / ใกล้เคียงที่สุด

  1. เริ่มต้นด้วยการเปิดศูนย์ซอฟต์แวร์

  2. เลือกแก้ไขจากแถบเมนูจากนั้นเลือกแหล่งที่มาของซอฟต์แวร์ ..

เมนูแก้ไขซอฟต์แวร์ศูนย์

  1. คลิกที่ลูกศรลงสำหรับตัวเลือกดาวน์โหลดจาก

ตัวเลือกการดาวน์โหลดแหล่งข้อมูลแพ็คเกจ

  1. เลือกอื่น ๆ

เซิร์ฟเวอร์ดาวน์โหลดอื่น ๆ

  1. คลิก "เลือกเซิร์ฟเวอร์ที่ดีที่สุด"

การเลือกเซิร์ฟเวอร์ดาวน์โหลดที่ดีที่สุดใน Ubuntu 12.04

  1. ศูนย์ซอฟต์แวร์จะทำการทดสอบหลายชุดเพื่อค้นหามิเรอร์ที่ดีที่สุดสำหรับตำแหน่งของคุณ

ค้นหาเซิร์ฟเวอร์ที่ใกล้ที่สุด

ที่มา: http://www.ubuntulinuxguide.com/sudo-apt-get-update-error-slow-mirror-ubuntu-12-04/


ศูนย์ซอฟต์แวร์แจ้งว่า "ในการเปลี่ยนการตั้งค่าที่เก็บซอฟต์แวร์คุณต้องรับรองความถูกต้อง ... ต้องมีการรับรองความถูกต้องของผู้ใช้ขั้นสูง" และขอให้ "รหัสผ่านสำหรับอุณหภูมิ" (ไม่ใช่ชื่อผู้ใช้ของฉัน) ฉันจะตรวจสอบได้อย่างไร
DNA

7

มองไปที่https://launchpad.net/ubuntu/+mirror/mirrors.ispros.com.bd-archiveดูเหมือนว่ากระจกบังคลาเทศยังไม่ได้รับการอัพเดตด้วยแพ็คเกจที่แม่นยำ คุณอาจต้องการเลือกกระจกใกล้เคียงที่แตกต่างกัน (อินเดียอยู่ในใจของฉัน) หรือยื่นข้อผิดพลาดเกี่ยวกับมัน


ขอบคุณมากเพื่อนมันทำงาน !!!! ฉันเปลี่ยนเป็นกระจกอินเดียและการอัปเดตเสร็จสมบูรณ์แล้ว ... ฉันใช้วิธีนี้ >>> askubuntu.com/a/37825/58164ขอบคุณอีกครั้ง :)
Mohd Arafat Hossain

"ขอบคุณมากเพื่อนมันทำงาน !!!" : D นั่นเป็นสิ่งที่ต้องจำ ...
don.joey

ฉันต้องเปลี่ยนจากอินเดียเป็นเซิร์ฟเวอร์หลัก
Deepak

1

ข้อผิดพลาดที่คุณได้รับเป็นเพราะลิงค์ถูกลบออกจริง นี่อาจเป็นชั่วคราวหรือเซิร์ฟเวอร์อาจทำงานไม่ถูกต้องหรืออยู่ระหว่างการบำรุงรักษา (ในกรณีของคุณไฟล์แพคเกจยังไม่ได้ถูกอัปโหลดบนเซิร์ฟเวอร์)
เพื่อแก้ไขปัญหานี้คุณลองเปลี่ยนแหล่งดาวน์โหลดของคุณ (อาจจะทำงานหรือไม่ขึ้นอยู่กับ เซิร์ฟเวอร์)
เปิดsoftware sources
คลิกที่ubuntu softwareแท็บ
จากนั้นในการDownload fromเลือกอื่น ๆ แล้วคลิกที่select best server
หลังจากที่แหล่งซอฟต์แวร์นั้นจะได้รับการปรับปรุงโดยอัตโนมัติ

โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.