Apr 24, 2011

APT กับอาการ “Release file expired”

บางเวลาที่เราจะอัพเดต debian โดยใช้ server ที่อาจจะเก่าหรือไม่อัพเดตสักหน่อย อาจเกิดปัญหา release file หมดอายุได้

อาการ

# apt-get update
หรือ
# aptitude update

จะพบว่า

E: Release file expired, ignoring ..... blah blah

ก็จะทำให้อัพเดตไม่ได้ ซึ่งวิธีแก้ที่ถูกคือ หา server ใหม่
แต่ก็มีวิธีแก้ขัดไปก่อนคือ

#apt-get -o 'Acquire::Check-Valid-Until=false' update
หรือ
#aptitude -o 'Acquire::Check-Valid-Until=false' update

ช่วยแก้ปัญหาเฉพาะหน้าไปได้
;)

3 comments:

Unknown said...

I think we need to bring more ideas for this purpose. Involvement of young people can be handy in this regard.


mulberry outlet.
mulberry outlet uk.
http://www.mulberryoutlet-uk.eu.
mulberry outlet store.

Anonymous said...

Goοd ԁay I am so excіted
Ӏ found your webpage, Ι reallу found you by accident, while I
waѕ searсhing on Goοgle foг sοmеthing else, Anyhow I аm
herе now аnd would just liκe to ѕay
thanks for а marνelоus pοst аnd a all rounԁ thгilling blog (I also love thе theme/desіgn), I ԁοn’t havе time to bгowse it all at thе minute
but І haѵe bоok-marked іt and also includеd yοuг RSЅ feeds, so whеn I have time I ωill be baсk to геad a lot mοrе,
Please do keep uρ thе suреrb ωorκ.


Here is my web blog; green coffee

Anonymous said...

nice post
buy and sell in Pakistan