[Aptitude-devel] Bug#797270: aptitude: fails to download changelogs when $TMPDIR is readable by root only
brian m. carlson
sandals at crustytoothpaste.net
Sat Aug 29 01:55:08 UTC 2015
Package: aptitude
Version: 0.7.1~exp1-1~apt1.1~exp9
Severity: normal
I use libpam-tmpdir, which provides per-user temporary directories. It
sets, $TMP, $TMPDIR, $TEMP, and $TEMPDIR to point to /tmp/user/<uid>.
With the version in experimental (but not unstable), I get the following
error:
Failed to download the changelog of python3-uno: No pude abrir el fichero /tmp/user/0/aptitude-root.525687:HkECYl/aptitudeDownload+z%ZfwHySLdJqfSCq5yLP8IXVuWde4kI - open (13: Permission denied) [IP: 23.235.44.249 80]
I'm unclear why I'm seeing this error as I'm running aptitude under
sudo, therefore giving me root privileges.
-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.7.1 compiled at Aug 21 2015 20:50:38
Compiler: g++ 5.2.1 20150808
Compiled against:
apt version 5.0.0
NCurses version 6.0
libsigc++ version: 2.4.1
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.0.20150810
cwidget version: 0.5.17
Apt version: 5.0.0
aptitude linkage:
linux-vdso.so.1 (0x00007ffede59c000)
libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007f39dac54000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f39daa24000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f39da7f9000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f39da5f3000)
libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007f39da2f4000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f39da026000)
libboost_iostreams.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.58.0 (0x00007f39d9e0d000)
libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f39d9a0b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f39d97ed000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f39d9472000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f39d9171000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f39d8f5a000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f39d8bb1000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f39d89ae000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f39d87a9000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f39d8592000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f39d8377000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f39d8166000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f39d7f43000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f39d7d3a000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f39d7b35000)
/lib64/ld-linux-x86-64.so.2 (0x000056461a05e000)
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_US.UTF-8, LC_CTYPE=es_US.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.1~exp1-1~apt1.1~exp9
ii libapt-pkg5.0 1.1~exp11
ii libboost-iostreams1.58.0 1.58.0+dfsg-3
ii libc6 2.19-19
ii libcwidget3v5 0.5.17-4
ii libgcc1 1:5.2.1-15
ii libncursesw5 6.0+20150810-1
ii libsigc++-2.0-0v5 2.4.1-2
ii libsqlite3-0 3.8.11.1-1
ii libstdc++6 5.2.1-15
ii libtinfo5 6.0+20150810-1
ii libxapian22v5 1.2.21-1.2
Versions of packages aptitude recommends:
ii aptitude-doc-en [aptitude-doc] 0.7-1
ii libparse-debianchangelog-perl 1.2.0-8
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
pn apt-xapian-index <none>
pn debtags <none>
ii tasksel 3.33
-- no debconf information
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20150829/5a08fb70/attachment.sig>
More information about the Aptitude-devel
mailing list