Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] apt-get update fails on mounted iso of stretch DVD

Ask for help with issues regarding the Installations of the Debian O/S.
Message
Author
luvr
Posts: 85
Joined: 2016-07-21 19:39
Location: Boom - The Home Town of Tomorrowland, Belgium

Re: apt-get update fails on mounted iso image of stretch DVD

#21 Post by luvr »

gurfle wrote:Access with apt is now possible after doing:
<snip>
Slightly off-topic, but Ubuntu has been displaying “Permission denied” errors implicating the “_apt” user for quite some time now whenever it updates its “adobe-flashplugin” package:

Code: Select all

W: Can't drop privileges for downloading as file '/var/lib/update-notifier/packa
ge-data-downloads/partial/adobe-flashplugin_20170616.1.orig.tar.gz' couldn't be
accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
The solution to your problem here made me realise how to get rid of these errors as well. I just did the following:

Code: Select all

# setfacl -m _apt:rwx /var/lib/update-notifier/package-data-downloads/partial
Then, to verify the result:

Code: Select all

$ getfacl -t /var/lib/update-notifier/package-data-downloads/partial
getfacl: Removing leading '/' from absolute path names
# file: var/lib/update-notifier/package-data-downloads/partial/
USER   root      rwx
user   _apt      rwx
GROUP  root      r-x
mask             rwx
other            r-x
The errors are gone now.

Post Reply