Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am aware that ubuntu locks releases of packages and applies bug fixes. Taking the example of php, php -v may report something like the following:

5.3.10-1ubuntu3.4

Here we have php versions 5.3.10 with security fixes applied by Ubuntu contributors with an internal version number of 1ubuntu3.4

First question is am I correct so far?

Now when I do apache2 -v I see the following:

Server version: Apache/2.2.22 (Ubuntu)

Now I know I have the Apache release 2.2.22 but it doesnt seem to tell me what the internal ubuntu version number is. In reference to another question: How do I apply a security update to apache I need to be able to properly identify which ubuntu patch is applied to confirm if a security fix has been applied.

Typing dpkg -l apache2 starts to tell me this but seems to get cut off:

ii apache2 2.2.22-1ubuntu Apache HTTP Server metapackage

How can i get this info?

share|improve this question

1 Answer 1

Never mind me just worked this out: used a pipe and a grep command:

dpkg -l apache2 | grep 2.22

May help someone else

share|improve this answer
    
Mods please feel free to delete if you feel this is common knowledge amongst most competent ubuntu users –  WebweaverD Aug 23 '13 at 13:06

Your Answer

 
discard

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.