Correct debian lenny sources list

The one shipped with alot of vps hosts etc. is wrong, so;

deb http://archive.debian.org/debian lenny main contrib
deb http://archive.debian.org/debian-security/ lenny/updates main contrib

If you want to, you can also add the dotdeb resources;

echo "deb http://php53.dotdeb.org stable all" >> /etc/apt/sources.list
echo "deb http://packages.dotdeb.org stable all" >> /etc/apt/sources.list
echo "deb-src http://packages.dotdeb.org stable all" >> /etc/apt/sources.list
cd /var
wget http://www.dotdeb.org/dotdeb.gpg
cat dotdeb.gpg | sudo apt-key add -
rm dotdeb.gpg
echo done

Leave a Reply

Your email address will not be published. Required fields are marked *