Since Debian 6 (Squeeze) is now EOL and still gets LTS with the repos placed in archive, maintaining it will need the following in /etc/apt/sources.list:
Since 2016-03-16, we get the following error on apt-get update:
or placing the parameter permanently with:
Code:
deb http://archive.debian.org/debian squeeze main contrib
deb http://archive.debian.org/debian squeeze-proposed-updates main contrib
deb http://archive.debian.org/debian squeeze-lts main contrib
deb http://security.debian.org squeeze/updates main contrib
Since 2016-03-16, we get the following error on apt-get update:
This is mitigated with:E: Release file expired, ignoring http://archive.debian.org/debian/dists/squeeze-lts/Release (invalid since 1d 2h 11min 7s)
Code:
apt-get -o Acquire::Check-Valid-Until=false update
Code:
echo 'Acquire::Check-Valid-Until "0";' > /etc/apt/apt.conf.d/10no-check-valid-until