Differences between revisions 2 and 3
Revision 2 as of 2014-06-05 17:32:45
Size: 1637
Editor: JensKorte
Comment:
Revision 3 as of 2014-06-06 11:43:14
Size: 1963
Editor: ?JanIngvoldstad
Comment: apt.conf notice
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
= Check apt.conf 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";
}}}

Otherwise, you risk not getting LTS updates on your system.

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 packages add this line:

    deb http://http.debian.net/debian/ squeeze-lts main contrib non-free
  • for source packages add this line:

    deb-src http://http.debian.net/debian/ squeeze-lts main contrib non-free

You need squeeze, squeeze security and squeeze lts for LTS working properly.

If you want more info on which mirrors to use, read debian mirrors.

Check apt.conf 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";

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.


CategoryLts