I want to use the newest version of nginx, so I wanted to add the nginx/stable ppa
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
However, the upgrade command says that there are no upgrades available and nginx is still the old version. Did I do something wrong?
I use Ubuntu server 10.04 Lucid
add-apt-repository output:
$ sudo apt-add-repository ppa:nginx/stable
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 8B3981E7A6852F782CC4951600A6F0A3C300EE8C
gpg: requesting key C300EE8C from hkp server keyserver.ubuntu.com
gpg: key C300EE8C: "Launchpad Stable" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
apt-cache policy ouput:
$ sudo apt-cache policy nginx
nginx:
Installed: 0.7.65-1ubuntu2
Candidate: 0.7.65-1ubuntu2
Version table:
*** 0.7.65-1ubuntu2 0
500 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe Packages
100 /var/lib/dpkg/status
The packages in the ppa:nginx/stable
appear to have been updated on September 29/30 2010.
Currently, version 0.8.52-0ppa1 is available for both lucid and maverick. As can be seen from the Build Status column here. Both of these packages have successfully built.
The reported issue with the Packages file is also no longer valid. If you run sudo apt-get update
and then attempt to either upgrade or install the nginx package (with ppa:nginx/stable
added by add-apt-repository
), you should end up with version 0.8.52-0ppa1.
As was mentioned earlier, the issue was with the PPA, not add-apt-repository. This can be confirmed by verifying that the /etc/apt/sources.list.d/nginx-stable-lucid.list
file exists.
No comments:
Post a Comment