[Bug 1682017] Re: adobe-flashplugin_20170411.1.orig.tar.gz couldn't be accessed by user '_apt'. - pkgAcquire::Run ...

Chris Samuel chris at csamuel.org
Wed Oct 18 09:27:04 UTC 2017


See this from cron whenever flash updates are available on my amd64
17.04 box.

/etc/cron.daily/update-notifier-common:
Get:1 http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20171016.1.orig.tar.gz [30.4 MB]
Fetched 30.4 MB in 2s (10.6 MB/s)
W: Download is performed unsandboxed as root as file '/var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20171016.1.orig.tar.gz' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
flashplugin-installer: processing...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20171016.1.orig.tar.gz
Installing from local file /var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20171016.1.orig.tar.gz
Flash Plugin installed.

It is right about the permissions on the directory.

$ ls -ld /var/lib/update-notifier/package-data-downloads/partial
drwxr-xr-x 2 root root 4096 Oct 18 07:35 /var/lib/update-notifier/package-data-downloads/partial

I also see the same issue on a 32-bit 16.04.3 box upgraded just now with
apt-get.

flashplugin-installer: processing...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20171016.1.orig.tar.gz
Get:1 http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20171016.1.orig.tar.gz [30.4 MB]
Fetched 30.4 MB in 5min 51s (86.6 kB/s)                                        
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20171016.1.orig.tar.gz' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Installing from local file /var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20171016.1.orig.tar.gz
Flash Plugin installed.

Same issue with permissions there too I suspect.

# ls -ld /var/lib/update-notifier/package-data-downloads/partial
drwxr-xr-x 2 root root 4096 Oct 18 20:20 /var/lib/update-notifier/package-data-downloads/partial

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

Title:
  adobe-flashplugin_20170411.1.orig.tar.gz couldn't be accessed by user
  '_apt'. - pkgAcquire::Run ...

Status in app-install-data-partner package in Ubuntu:
  Confirmed

Bug description:
  
  The system was upgraded from zesty to yakkety a few days ago. 

  sudo apt dist-upgrade
  ....
  Unpacking gnome-music (3.24.1.1-0ubuntu1) over (3.24.0-0ubuntu1) ...
  Setting up libostree-1-1:amd64 (2016.15-3ubuntu3) ...
  Processing triggers for mime-support (3.60ubuntu1) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Processing triggers for update-notifier-common (3.179) ...
  flashplugin-installer: processing...
  flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20170411.1.orig.tar.gz
  Get:1 http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20170411.1.orig.tar.gz [30,4 MB]
  Fetched 30,4 MB in 18min 46s (27,0 kB/s)                                                                                                                                                                                                               
  W: Download is performed unsandboxed as root as file '/var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20170411.1.orig.tar.gz' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
  E: Download Failed
  Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
  Setting up gnome-user-guide (3.24.0-0ubuntu1) ...
  Processing triggers for libglib2.0-0:amd64 (2.52.0-1) ...
  Processing triggers for libglib2.0-0:i386 (2.52.0-1) ...
  Setting up gnome-music (3.24.1.1-0ubuntu1) ...
  ....

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/app-install-data-partner/+bug/1682017/+subscriptions



More information about the foundations-bugs mailing list