Using Debian 6 squeeze LTS

Official support for Debian 6.0 (code name "squeeze") ended in April 2014, however, the project announced Long Term Support (LTS) security updates until February 2016. You can use LTS in adding the repository to your sources.list and updating your system.

Squeeze-LTS will only support i386 and amd64. Users of other architectures are encouraged to upgrade Debian 6 squeeze to Debian 7 wheezy.


Before getting started, we suggest you Learn Linux Basics and follow these precautions.

Step 1

Edit your source.list

vi /etc/apt/source.list

Step 2

Add the following three lines:

# Debian 6.0 Squeeze LTS
deb http://http.debian.net/debian/ squeeze-lts main contrib non-free
deb-src http://http.debian.net/debian/ squeeze-lts main contrib non-free

You need regular squeeze and squeeze lts for LTS to be working properly. In the end it should look like this:

deb http://debian.osuosl.org/debian wheezy main non-free contrib
deb-src http://debian.osuosl.org/debian wheezy main non-free contrib

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://debian.osuosl.org/debian wheezy-updates main contrib non-free
deb-src http://debian.osuosl.org/debian wheezy-updates main contrib non-free

# Debian 6.0 Squeeze LTS
deb http://http.debian.net/debian/ squeeze-lts main contrib non-free
deb-src http://http.debian.net/debian/ squeeze-lts main contrib non-free

Note: Your source list may or may not contain supplemental packages from contrib and non-free archives.
Step 3

Check for legacy release pinning. If /etc/apt/apt.conf contains something like this:

APT::Default-Release "squeeze";

Then you must either comment it out, or replace it with:

APT::Default-Release "squeeze-lts";
Step 4

Update minimal base system:

apt-get upgrade

Step 5

Update rest of the system:

apt-get dist-upgrade



Category: 
Tags: