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've installed nginx 1.2.3 by adding a new ppa

sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install nginx

However, nginx -v still gives me 1.1.19. What happened?


The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
Need to get 61.8 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Get:1 precise/main nginx all 1.2.3-0ubuntu0ppa3~precise [61.8 kB]
Fetched 61.8 kB in 0s (89.7 kB/s)
(Reading database ... 79914 files and directories currently installed.)
Preparing to replace nginx 1.1.19-1 (using .../nginx_1.2.3-0ubuntu0ppa3~precise_all.deb) ...
Unpacking replacement nginx ...
Setting up nginx (1.2.3-0ubuntu0ppa3~precise) ...

root@precise64:/var/www/apadment# nginx -v
nginx version: nginx/1.1.19
share|improve this question
up vote 1 down vote accepted

I don't think that will upgrade all your nginx, and if you do a dpkg -l | grep nginx you will probably see that your nginx-full is still 1.1.19

do this (after backing up data if any!)

apt-get purge nginx
apt-get install nginx

now you have all new packages.

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.