Apt getting wrong nginx source
Posted
by
Shauna
on Server Fault
See other posts from Server Fault
or by Shauna
Published on 2011-05-13T22:47:53Z
Indexed on
2012/04/02
11:32 UTC
Read the original article
Hit count: 272
I'm working on updating Nginx on my server from 0.7.65 (Ubuntu 10.04 repo) to 1.0.2 (from the PPA). I installed it just fine, but I would like to add/activate some modules. I found this tutorial for doing it with dpkg, which works well for ensuring that it maintains the defaults that apt-get
uses for things like install location, and would like to use it to do the same for 1.0.2.
However, when I run apt-get source nginx
, it downloads the 0.7 source from the main repo, and when I run apt-get source nginx-full
or apt-get source nginx-common
, it selects nginx
instead.
Is there any way I can force it to get the source from the PPA, so that I can use dpkg
and not have to deal with hacking in the Debian folder that dpkg
requires?
© Server Fault or respective owner