Rantarou Network

Powered with NTY-CORE v1.0

Can't drop privileges for downloading as file

If you ever faced think kind of error when downloading flashplugin-install or msfonts on ubuntu:

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)

There's a simple how to deal with this kind of error:

$ sudo chown _apt:root /var/lib/update-notifier/package-data-downloads/partial/

$ sudo rm /var/lib/update-notifier/package-data-downloads/partial/*.FAILED

$ sudo apt install --reinstall update-notifier-common

And voila, the error is gone and you'll be able to install desired packages from repository :)