[Bug 1570141] Re: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

MP pagel at cs.wisc.edu
Fri Nov 18 17:46:22 UTC 2016


$ sudo chown -R _apt:root /var/lib/update-notifier/package-data-downloads/partial/ 
(note the addition of the -R flag)

in the top line should address the need to remove all files from partial
(and maybe even the FAILED files), as _apt should have access to remove
or overwrite those files.

I'm not sure why you would have to reinstall update-notifier-common more
than once though, assuming all rights are appropriately in place. Maybe
your internet connection timed out or checksums didn't match properly in
the downloaded packages?  Glad you got it working though.

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

Title:
  Can't drop privileges for downloading as file '/var/lib/update-
  notifier/package-data-downloads/partial/andale32.exe' couldn't be
  accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Status in update-notifier package in Ubuntu:
  Confirmed

Bug description:
  ttf-mscorefonts-installer require additional download from external
  server (non deb package), but download not completed because have the
  error:

  Can't drop privileges for downloading as file '/var/lib/update-
  notifier/package-data-downloads/partial/andale32.exe' couldn't be
  accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: update-notifier-common 3.168
  Uname: Linux 4.5.0-040500-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu1
  Architecture: amd64
  Date: Wed Apr 13 20:45:36 2016
  ExecutablePath: /usr/lib/update-notifier/package-data-downloader
  InstallationDate: Installed on 2016-04-10 (3 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160408)
  InterpreterPath: /usr/bin/python3.5
  PackageArchitecture: all
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=pt_BR.UTF-8
   LANGUAGE=pt_BR:pt:en
  SourcePackage: update-notifier
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1570141/+subscriptions



More information about the foundations-bugs mailing list