deb http://ftp.de.debian.org/debian testing main contrib non-free
This is for Debian Lenny. You may want to change de to your country code.
UPD: 'Lazy Mode': one-line command for editing sources.list:
sed -i 's/lenny/testing/g' /etc/apt/sources.list && sed -i 's/deb http:\/\/ftp.de.debian.org\/debian-volatile/#deb http:\/\/ftp.de.debian.org\/debian-volatile/g' /etc/apt/sources.list && sed -i 's/deb http:\/\/ftp.de.debian.org\/debian-security/#deb http:\/\/ftp.de.debian.org\/debian-security/g' /etc/apt/sources.list
Run
apt-get update
to get an error.Then add the corresponding GPG Pub Key:
apt-get install debian-archive-keyring
Now you can check the available version of %packagename%:
apt-cache policy %packagename%
No comments:
Post a Comment