Synaptic fails with "W: Can't drop privileges for downloading as file '/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptitude (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Fails on all sorts of Xenial package installs.
Please update this ticket with manual fix for this, to facilitate Xenial testing.
Thanks.
__________
Two simple examples...
1) aptitude changelog apt > /dev/null
2) echo 'ttf-mscorefont
apt-get -yqq install ttf-mscorefonts
___________
There are several bugs related to this problem. None have a fix specified + all are opened against random packages, rather than aptitude.
Several of these bugs have been closed saying problem is fixed in apt-1.1.2 + above which is incorrect.
___________
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
Codename: xenial
apt-get --version
apt 1.1.10 (amd64)
Supported modules:
*Ver: Standard .deb
*Pkg: Debian dpkg interface (Priority 30)
Pkg: Debian APT solver interface (Priority -1000)
S.L: 'deb' Debian binary tree
S.L: 'deb-src' Debian source tree
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian Translation Index
Idx: Debian dpkg status file
Idx: Debian deb file
Idx: Debian dsc file
Idx: Debian control file
Idx: EDSP scenario file
aptitude --version
aptitude 0.7.4 compiled at Dec 9 2015 19:30:45
Compiler: g++ 5.3.1 20151207
Compiled against:
apt version 5.0.0
NCurses version 6.0
libsigc++ version: 2.6.2
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.0.20151024
cwidget version: 0.5.17
Apt version: 5.0.0
affects: | synaptic (Ubuntu) → aptitude (Ubuntu) |
summary: |
- apt-get fails withCan't drop privileges for downloading as file + - couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission - denied) + Synaptic fails with "W: Can't drop privileges for downloading as file + '/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. - + pkgAcquire::Run (13: Permission denied)" |
Full messages...
The font install appears to have worked, just many messages interfering where logs are normally clean (no messages).
aptitude changelog apt > /dev/null root.24195: wYCEcM/ aptitudeDownloa d6J+8J: +PsVGmTNm^ .^::Lz: %.Hi55VKA' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
W: Can't drop privileges for downloading as file '/tmp/aptitude-
apt-get -yqq install debconf-utils s-installer msttcorefonts/ accepted- mscorefonts- eula select true' | debconf- set-selections -installer -installer. mscorefonts- installer_ 3.4+nmu1ubuntu2 _all.deb ... -installer (3.4+nmu1ubuntu2) ... notifier- common (3.165) ... -installer: downloading http:// downloads. sourceforge. net/corefonts/ andale32. exe downloads. sourceforge. net/corefonts/ andale32. exe [198 kB] update- notifier/ package- data-downloads/ partial/ andale32. exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) -installer: downloading http:// downloads. sourceforge. net/corefonts/ arial32. exe downloads. sourceforge. net/corefonts/ arial32. exe [554 kB] update- notifier/ package- data-downloads/ partial/ arial32. exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) -installer: downloading http:// downloads. sourceforge. net/corefonts/ arialb32. exe downloads. sourceforge. net/corefonts/ arialb32. exe [168 kB] update- notifier/ package- data-downloads/ partial/ arialb32. exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) -installer: downloading http:// downloads. sourceforge. net/corefonts/ comic32. exe downloads. sourceforge. net/corefonts/ comic32. exe [246 kB] update- notifier/ package- data-downloads/ partial/ comic32. exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) -installer: downloading http:// downloads. sourceforge. net/corefonts/ courie32. exe downloads. sourceforge. net/corefonts/ courie32. exe [646 kB] update- notifier/ package- data-downloads/ partial/ courie32. exe' cou...
echo 'ttf-mscorefont
apt-get -yqq install ttf-mscorefonts
Preconfiguring packages ...
Selecting previously unselected package ttf-mscorefonts
(Reading database ... 27578 files and directories currently installed.)
Preparing to unpack .../ttf-
mscorefonts-eula license has already been accepted
Unpacking ttf-mscorefonts
Processing triggers for update-
ttf-mscorefonts
Get:1 http://
Fetched 198 kB in 20s (9533 B/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Get:1 http://
Fetched 554 kB in 22s (24.1 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Get:1 http://
Fetched 168 kB in 11s (14.6 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Get:1 http://
Fetched 246 kB in 15s (15.6 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Get:1 http://
Fetched 646 kB in 16s (39.5 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/