[Aptitude-devel] Bug#885436: /var/log/aptitude shows wrong architecture for architecture:all packages
Marvin Renich
mrvn at renich.org
Tue Dec 26 19:02:59 GMT 2017
Package: aptitude
Version: 0.8.10-1
Severity: normal
/var/log/aptitude shows the default architecture (e.g. amd64) when
logging actions pertaining to an architecture:all package, e.g.
[UPGRADE] console-setup:amd64 1.171 -> 1.172
should be
[UPGRADE] console-setup:all 1.171 -> 1.172
This is making it more difficult to write a script to back out of last N
updates using debsnap, because debsnap can download debs for a specific
architecture or all available architectures, but does not automatically
select an architecture:all deb when a specific architecture is requested
(reasonable behavior for debsnap).
In the extremely rare (I think) case where an upgrade (or downgrade)
replaces a specific architecture package with an architecture all
package, or vice versa, I would be okay with my script breaking because
it does not have enough information from /var/log/aptitude to get it
right. E.g. I think it is okay to arbitrarily choose one architecture
or the other, but I think it is more useful to know the architecture of
the package being replaced than that of the one being installed.
...Marvin
-- Package-specific info:
Terminal: screen
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.8.10
Compiler: g++ 7.2.0
Compiled against:
apt version 5.0.2
NCurses version 6.0
libsigc++ version: 2.10.0
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.0.20171125
cwidget version: 0.5.17
Apt version: 5.0.2
aptitude linkage:
linux-vdso.so.1 (0x00007ffc98f75000)
libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007f8c1698d000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f8c1675d000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f8c16533000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f8c1632c000)
libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007f8c16031000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f8c15d29000)
libboost_iostreams.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.62.0 (0x00007f8c15b11000)
libboost_filesystem.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.62.0 (0x00007f8c158f8000)
libboost_system.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.62.0 (0x00007f8c156f4000)
libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f8c152e9000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8c150cb000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f8c14d4c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8c14a39000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8c14822000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8c1447f000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f8c14269000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8c1404f000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f8c13e3f000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f8c13c19000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f8c13a07000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f8c137e9000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8c1734b000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8c135e5000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8c133dd000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f8c131d8000)
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages aptitude depends on:
ii aptitude-common 0.8.10-1
ii libapt-pkg5.0 1.6~alpha5
ii libboost-filesystem1.62.0 1.62.0+dfsg-4+b2
ii libboost-iostreams1.62.0 1.62.0+dfsg-4+b2
ii libboost-system1.62.0 1.62.0+dfsg-4+b2
ii libc6 2.25-3
ii libcwidget3v5 0.5.17-6
ii libgcc1 1:7.2.0-18
ii libncursesw5 6.0+20171125-1
ii libsigc++-2.0-0v5 2.10.0-1
ii libsqlite3-0 3.21.0-1
ii libstdc++6 7.2.0-18
ii libtinfo5 6.0+20171125-1
ii libxapian30 1.4.5-1
Versions of packages aptitude recommends:
ii libparse-debianchangelog-perl 1.2.0-12
ii sensible-utils 0.0.11
Versions of packages aptitude suggests:
ii apt-xapian-index 0.49
pn aptitude-doc-en | aptitude-doc <none>
ii debtags 2.1.4
ii tasksel 3.42
-- no debconf information
More information about the Aptitude-devel
mailing list