Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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).

share|improve this question
up vote 5 down vote accepted

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.

share|improve this answer
Awesome! I didn't realize that the security patches were getting backdated like that. Unfortunately, I know our PCI scanning company is still going to complain about the version. – Jack M. Jun 28 '10 at 19:35

Well technically you could do that by adding a deb line in /etc/apt/sources.list for lucid (here's an example) :

deb lucid main restricted universe multiverse

Then apt-get update and apt-get install apache2 (to update Apache2 only). But there's absolutely NO WARRANTY AT ALL that the update won't break your Apache2 installation, or something else in the system (missing library, wrong link...).

Needless to say you shouldn't do that on a production server :)

If the update is really critical for your system, you should remove the existing package and compile Apache2 by yourself (or better, create a package using checkinstall which will be easily uninstallable later).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.