apt-get กับ error during signature verification

posted on 01 Jul 2009 13:35 by pongtawat  in admin

บางครั้งเวลาเราสั่ง apt-get update จะเกิด warning เกี่ยวกับ signature แบบนี้:

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://[...]: The following signatures were invalid: [...]

W: Failed to fetch [...] 

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems

ส่วนมากปัญหาจะเกิดจาก repository ที่เราเพิ่มเข้ามาเอง

 วิธีแก้ไขก็ง่ายๆ

sudo rm -rf /var/lib/apt/lists/partial/*

แล้วก็สั่ง apt-get update ใหม่ ก็จะใช้ได้ทันที

ที่มา: Parijat’s Weblog

 

edit @ 1 Jul 2009 13:41:34 by pongtawat

Comment



smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry

Tweet

หายไปนานเลยนะครับ confused smile

#1 By TonHor on 2009-07-01 22:48

ขอบคุณค่ะ

#2 By โหลดเพลง (124.157.236.176) on 2009-10-06 14:19

Que se ra

#3 By scratch and dent (124.157.236.175) on 2009-11-13 12:23

hi all !!

#4 By sears parts (124.157.191.197) on 2009-12-04 06:36