[Aptitude-devel] Bug#806595: aptitude: Changelog download throws warning: "W: Can't drop privileges for downloading as file '/tmp/aptitude-root.15442:qGi6mn/aptitudeDownload6J+8J:+PsVGmTNm^.^::Lz:%.Hi55VKA' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)"
Axel Beckert
abe at debian.org
Sun Nov 29 13:29:22 UTC 2015
Package: aptitude
Version: 0.7.4-2
Hi,
on the commandline as well in the TUI, aptitude throws a warning when
trying to download and display a changelog as root as well as user:
As root:
# aptitude changelog apt > /dev/null
W: Can't drop privileges for downloading as file '/tmp/aptitude-root.15442:qGi6mn/aptitudeDownload6J+8J:+PsVGmTNm^.^::Lz:%.Hi55VKA' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
#
As user:
% aptitude changelog apt > /dev/null
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
W: chmod 0700 of directory /var/cache/apt/archives/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
%
It is though able to display the changelog in all cases I tested.
apt-get doesn't show this warning:
# apt-get changelog apt > /dev/null
#
$ apt-get changelog apt > /dev/null
$
-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20151129/d671cabd/attachment.ksh>
-------------- next part --------------
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-rc5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages aptitude depends on:
ii aptitude-common 0.7.4-2
ii libapt-pkg5.0 1.1.2
ii libboost-iostreams1.58.0 1.58.0+dfsg-4
ii libc6 2.19-22
ii libcwidget3v5 0.5.17-4
ii libgcc1 1:5.2.1-26
ii libncursesw5 6.0+20151024-2
ii libsigc++-2.0-0v5 2.6.2-1
ii libsqlite3-0 3.9.2-1
ii libstdc++6 5.2.1-26
ii libtinfo5 6.0+20151024-2
ii libxapian22v5 1.2.21-1.2
Versions of packages aptitude recommends:
ii aptitude-doc-en [aptitude-doc] 0.7.4-2
ii libparse-debianchangelog-perl 1.2.0-8
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
ii apt-xapian-index 0.47+nmu2
ii debtags 2.0.1
ii tasksel 3.34
-- no debconf information
More information about the Aptitude-devel
mailing list