Using Debian squeeze (6.0) LTS
You can use LTS in adding the repository to your sources.list and updating your system. Not all packages get security updates. Make sure all your installed packages get updates.
Add squeeze-lts to your sources.list
Important: Squeeze-LTS will only support i386 and amd64. Users of other architectures are encouraged to upgrade to Debian 7 ("wheezy").
for binary and source packages add these lines:
deb http://httpredir.debian.org/debian/ squeeze-lts main contrib non-free deb-src http://httpredir.debian.org/debian/ squeeze-lts main contrib non-free
So that in total you have:
deb http://httpredir.debian.org/debian/ squeeze main contrib non-free deb-src http://httpredir.debian.org/debian/ squeeze main contrib non-free deb http://httpredir.debian.org/debian squeeze-lts main contrib non-free deb-src http://httpredir.debian.org/debian squeeze-lts main contrib non-free
The security repository is not needed anymore, as the last Squeeze point release has been done. As part of the point release all packages from the security repo where copied to the main one.
If you want more info on which mirrors to use, read debian mirrors.
You need to have an up-to-date debian-archive-keyring package before APT will trust the squeeze-lts suite. If you see a NO_PUBKEY warning after adding the squeeze-lts sources, run apt-get install debian-archive-keyring and try again.
Check apt.conf for legacy release pinning
If /etc/apt/apt.conf contains something like this:
then you must either comment it out, or replace it with:
Otherwise, you risk not getting LTS updates on your system.
Update and upgrade
Run apt-get update and apt-get upgrade to update and upgrade your system
Check for unsupported packages
As announced, not all packages of the Debian archive is supported by Squeeze-LTS. To check whether you have unsupported packages installed on your machine, please install the debian-security-support package (use the version in squeeze-lts, unstable will not work as expected). A check for new unsupported packages is run every time packages are installed. You can also run the 'check-support-status' utility manually to get a list of all unsupported packages installed on your system.
What can I do if security support for a package has ended?
You can choose between different options:
- Remove the unmaintained package.
- Keep the software and make sure, that neither already known nor new security issues affect your system.