debian LTS : how to keep packages up-to-date with last security fixes using apt

What’s the best way to keep packages up-to-date (ie with the last security fixes) without worried about major version update ?

For instance, apache2 for squeezeis is 2.2.16 (https://packages.debian.org/source/squeeze/apache2)

However, last apache2 version for the 2.2.x branch is 2.2.27

Test repository can’t be used since they use the 2.4.x versions and I’d like to stick on the 2.2.x (to avoid migration issues)

How would you handle this situation and how can I update to 2.2.27 ?

Answer

Usually just upgrading your packages from native repositories should be enough provided you have security.debian.org repository enabled in /etc/apt/sources.list.

At the moment limited “LTS” support is only available for previous (“oldstable”) Debian release codename “squeeze”. Read the following page for instructions how to configure your system to pull LTS updates:

From security prospective it is always better to use current Debian release a.k.a. “stable” which perhaps will be better supported than “LTS”.

Read more:

Attribution
Source : Link , Question Author : Quentin , Answer Author : Onlyjob

Leave a Comment