I've installed nginx via the ppa stable repository via add-apt-repository ppa:nginx apt-get install nginx
which adds the stable release. But now I'd like to switch to the development branch, so I added
apt-add-repository ppa:nginx/development
and now even though it shows the newer version with apt-cache show nginx
Package: nginx
Priority: optional
Section: httpd
Installed-Size: 92
Maintainer: Kartik Mistry <[email protected]>
Architecture: all
Version: 1.2.0-1ppa1~lucid
Depends: nginx-full | nginx-light
Filename: pool/main/n/nginx/nginx_1.2.0-1ppa1~lucid_all.deb
Size: 58892
it still doesn't upgrade with apt-get upgrade
or apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Do I need to reinstall it after removing the stable source? Or is there any other way to just do an upgrade?
I'm running Ubuntu 10.04.