Ubuntu – Upgrading apache without upgrading Ubuntu

apache-2.2Ubuntu

I have a server running Ubuntu 9.10, with Apache 2.2.12 being the latest available package for apache2. I see, however, that 2.2.14 is available for Lucid. Is there a way to continue using dpkg and get 2.2.14 (or preferably 2.2.15, since it was a security release back in March) running, or do I have to resort to a manual compile?

I would simply upgrade the OS to Lucid, but the machine sits 8 hours away and doesn't have a backup (blame management tightwads).

Best Answer

If all you're looking to do is get some security updates, then don't worry about it - as long as you have a standard installation and you run:

apt-get update
apt-get upgrade

You'll get the updates from the karmic-security APT repository. It's Ubuntu's policy to not change the version of a package once released, but they will backport security updates from later releases as necessary. There are a handful of exceptions to this policy (Firefox being the most notable) but Apache2 isn't one of them.

In fact, if you look at the apache2 karmic package page, you'll see the current version is noted as "security" and if you view the changelog you'll see they've already backported the security issues.

If you're really interested in getting a later version without upgrading, you should read the Ubuntu Backports wiki page. There are a number of different options available, from re-building your own packages to using the Ubuntu backports repository to get some later packages.