ใช้ apt-get update แล้วเครื่องมันฟ้องแบบนี้น่ะครับ

21 August, 2007 - 21:15
Submitted by ChaoChao
ผมใช้ debian น่ะครับ พอใช้คำสั่ง apt-get update ทำไมเป็นงี้ครับ ไม่ทราบว่าเกิด error อะไรขึ้นครับ รบกวนช่วยชี้แนะแนวทางแก้ไขด้วยครับ debian:/home/nobita# apt-get update Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40] etch Release.gpg Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40] etch Release Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40] etch/contrib Packages/DiffIndex Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40] etch/main Packages/DiffIndex Get:1 http://security.debian.org etch/updates Release.gpg [189B] Get:2 http://www.debian-multimedia.org etch Release.gpg [189B] Hit http://security.debian.org etch/updates Release Ign http://security.debian.org etch/updates/main Packages/DiffIndex Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex Ign http://security.debian.org etch/updates/main Sources/DiffIndex Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex Hit http://security.debian.org etch/updates/main Packages Hit http://www.debian-multimedia.org etch Release Err http://www.debian-multimedia.org etch Release Get:3 http://www.debian-multimedia.org etch Release [5535B] Ign http://www.debian-multimedia.org etch Release Ign http://www.debian-multimedia.org etch/main Packages/DiffIndex Hit http://security.debian.org etch/updates/contrib Packages Hit http://security.debian.org etch/updates/main Sources Hit http://www.debian-multimedia.org etch/main Packages Hit http://security.debian.org etch/updates/contrib Sources Get:4 http://http.us.debian.org stable Release.gpg [378B] Hit http://http.us.debian.org stable Release Ign http://http.us.debian.org stable/main Packages/DiffIndex Ign http://http.us.debian.org stable/contrib Packages/DiffIndex Ign http://http.us.debian.org stable/non-free Packages/DiffIndex Ign http://http.us.debian.org stable/main Packages Hit http://http.us.debian.org stable/contrib Packages Hit http://http.us.debian.org stable/non-free Packages Get:5 http://http.us.debian.org stable/main Packages [5629kB] 99% [5 Packages gzip 0] 4684B/s 0s gzip: stdin: not in gzip format Err http://http.us.debian.org stable/main Packages Sub-process gzip returned an error code (1) Fetched 5727B in 12s (472B/s) Failed to fetch http://http.us.debian.org/debian/dists/stable/main/binary-i386/Packages.gz Sub-process gzip returned an error code (1) Reading package lists... Done W: GPG error: http://www.debian-multimedia.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907 W: You may want to run apt-get update to correct these problems E: Some index files failed to download, they have been ignored, or old ones used instead. debian:/home/nobita# ก่อนหน้านี้พยายามลองคอมไพล์และลง fuse และ ntfs-3g น่ะครับ พอดีลงไม่ได้แล้วก็เอาออก และก็ลงซ้ำและเอาออกไปเรื่อย ๆ ผลสุดท้ายก็เป็นอย่างที่เห็นน่ะครับ

Re: ใช้ apt-get update แล้วเครื่องมันฟ้องแบบนี้น่ะครับ

22 August, 2007 - 10:48
ChaoChao
ตอนนี้ทำได้แล้วครับ โดยคุณ vee แนะนำวิธีตามลิงค์นี้ครับ http://thep.blogspot.com/2006/01/debian-apt-key.html http://martin.feuersaenger.de/2005/12/12/how-can-i-avoid-gpg-errors-with... โดยจะต้องทำการติดตั้ง package debian-keyring ลงเพิ่มไปด้วยครับ