SIDEBAR
»
S
I
D
E
B
A
R
«
Updating Packages Using Apt On Old Debian Installs
September 20th, 2016 by pixel

When attempting to install a new package or update an existing package if you are presented with the error


1
E: Release file expired, ignoring http://archive.debian.org/debian-archive/debian/dists/squeeze-lts/Release (invalid since 189d 0h 42min 32s)

You will need to execute the following command as root:


1
$ echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/90ignore-release-date

And then perform…


1
$ apt update

or if you are using aptitude…


1
$ aptitude update

You may need to execute the above command twice to make sure everything is up to date.


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

CAPTCHA * Time limit is exhausted. Please reload CAPTCHA.

%d bloggers like this: