Comment 0 for bug 1627595

Revision history for this message
Abhishek Ghosh (dr-abhishek-ghosh) wrote : Can't drop privileges Apt bug is not fetching full code of Nginx

This funny problem may confuse human while recompiling.

root@lalalaola:/opt/nginx# apt-get source nginx
Reading package lists... Done
NOTICE: 'nginx' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/collab-maint/nginx.git
Please use:
git clone git://anonscm.debian.org/collab-maint/nginx.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 1,942 kB of source archives.
Get:1 http://ppa.launchpad.net/nginx/development/ubuntu xenial/main nginx 1.11.3-0+xenial0 (tar) [938 kB]
Get:2 http://ppa.launchpad.net/nginx/development/ubuntu xenial/main nginx 1.11.3-0+xenial0 (diff) [1,001 kB]
Get:3 http://ppa.launchpad.net/nginx/development/ubuntu xenial/main nginx 1.11.3-0+xenial0 (dsc) [2,765 B]
Fetched 1,942 kB in 1s (1,130 kB/s)
gpgv: Signature made Tue 09 Aug 2016 07:16:01 PM IST using RSA key ID F569EF55
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./nginx_1.11.3-0+xenial0.dsc
dpkg-source: info: extracting nginx in nginx-1.11.3
dpkg-source: info: unpacking nginx_1.11.3.orig.tar.gz
dpkg-source: info: unpacking nginx_1.11.3-0+xenial0.debian.tar.gz
dpkg-source: info: applying perl-use-dpkg-buildflags.patch
W: Can't drop privileges for downloading as file 'nginx_1.11.3.orig.tar.gz' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
root@lalalaola:/opt/nginx#/opt/nginx# ls -al
total 1916
drwxr-xr-x 3 root root 4096 Sep 26 10:59 .
drwxr-xr-x 3 root root 4096 Sep 26 04:42 ..
drwxr-xr-x 10 root root 4096 Sep 26 10:59 nginx-1.11.3
-rw-r--r-- 1 root root 1001436 Aug 9 20:47 nginx_1.11.3-0+xenial0.debian.tar.gz
-rw-r--r-- 1 root root 2765 Aug 9 20:47 nginx_1.11.3-0+xenial0.dsc
-rw-r--r-- 1 root root 938045 Aug 9 20:47 nginx_1.11.3.orig.tar.gz