[Bug 1627595] Re: Can't drop privileges Apt bug is not fetching full code of Nginx

Abhishek Ghosh 1627595 at bugs.launchpad.net
Mon Sep 26 05:45:27 UTC 2016


** Description changed:

- This funny problem may confuse human while recompiling.
+ `apt-get source nginx` may not fetch all the files. It may confuse human
+ while recompiling. Notice is officially present for fetching from git,
+ still some users may get confused. They probably need to run `ls` to
+ check stuffs.
  
  root at 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 at 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

** Summary changed:

- Can't drop privileges Apt bug is not fetching full code of Nginx
+ Can't drop privileges Apt bug may not fetch all files of Nginx

** Description changed:

  `apt-get source nginx` may not fetch all the files. It may confuse human
  while recompiling. Notice is officially present for fetching from git,
  still some users may get confused. They probably need to run `ls` to
- check stuffs.
+ check stuffs. Reported for to avoid confusion by other users in future.
  
  root at lalalaola:/opt/nginx# apt-get source nginx
  ...
  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 at 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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1627595

Title:
  Can't drop privileges Apt bug may not fetch all files of Nginx

Status in aptitude package in Ubuntu:
  New

Bug description:
  `apt-get source nginx` may not fetch all the files. It may confuse
  human while recompiling. Notice is officially present for fetching
  from git, still some users may get confused. They probably need to run
  `ls` to check stuffs. Reported for to avoid confusion by other users
  in future.

  root at lalalaola:/opt/nginx# apt-get source nginx
  ...
  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 at 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1627595/+subscriptions



More information about the foundations-bugs mailing list