[Aptitude-devel] Bug#836263: aptitude: safe-upgrade removes dirmngr and gnupg-l10n

Sven Joachim svenjoac at gmx.de
Thu Sep 1 07:43:12 UTC 2016

Package: aptitude
Version: 0.8.3-1
Severity: normal

After a recent upload of gnupg in unstable the following happens: 

| $ LANG=C aptitude -s -V -D safe-upgrade
| Resolving dependencies...                
| The following packages will be REMOVED:
|   dirmngr{u} [2.1.14-5] (R: gnupg)  gnupg-l10n{u} [2.1.14-5] (R: gnupg)  
| The following packages will be upgraded:
|   gpgv [2.1.14-5 -> 2.1.15-2]  
| 1 packages upgraded, 0 newly installed, 2 to remove and 11 not upgraded.
| Need to get 365 kB of archives. After unpacking 5112 kB will be freed.
| Note: Using 'Simulate' mode.
| Do you want to continue? [Y/n/?] 
| Would download/install/remove packages.

Short analysis: both the old (2.1.14-5) and the new (2.1.15-2) version
of gnupg have a strictly versioned Recommends on dirmngr and gnupg-l10n.
The new gnupg version is not installable because it Breaks python-apt,
but dirmngr and gnupg-l10n could be upgraded.  However, their new
versions become unused and so aptitude removes them which is clearly
suboptimal (they should rather be held back to not break the gnupg

-- Package-specific info:
Terminal: eterm-color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8.3
Compiler: g++ 6.1.1 20160724
Compiled against:
  apt version 5.0.0
  NCurses version 6.0
  libsigc++ version: 2.8.0
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.0.20160820
  cwidget version: 0.5.17
  Apt version: 5.0.0

aptitude linkage:
	linux-gate.so.1 (0xf771d000)
	libapt-pkg.so.5.0 => /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0 (0xf710c000)
	libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xf70d7000)
	libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xf70b4000)
	libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 (0xf70ac000)
	libcwidget.so.3 => /usr/lib/i386-linux-gnu/libcwidget.so.3 (0xf6fa9000)
	libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xf6e94000)
	libboost_iostreams.so.1.61.0 => /usr/lib/i386-linux-gnu/libboost_iostreams.so.1.61.0 (0xf6e7c000)
	libboost_filesystem.so.1.61.0 => /usr/lib/i386-linux-gnu/libboost_filesystem.so.1.61.0 (0xf6e61000)
	libboost_system.so.1.61.0 => /usr/lib/i386-linux-gnu/libboost_system.so.1.61.0 (0xf6e5a000)
	libxapian.so.22 => /usr/lib/i386-linux-gnu/sse2/libxapian.so.22 (0xf6c50000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf6c33000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6aba000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6a65000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6a47000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf6890000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf688b000)
	libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf6873000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf6856000)
	libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xf6843000)
	liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xf6818000)
	liblz4.so.1 => /usr/lib/i386-linux-gnu/liblz4.so.1 (0xf6805000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf67fc000)
	libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf67f6000)
	/lib/ld-linux.so.2 (0x56567000)

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 4.7.2-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.8.3-1
ii  libapt-pkg5.0              1.3~rc3
ii  libboost-filesystem1.61.0  1.61.0+dfsg-2.1
ii  libboost-iostreams1.61.0   1.61.0+dfsg-2.1
ii  libboost-system1.61.0      1.61.0+dfsg-2.1
ii  libc6                      2.24-1
ii  libcwidget3v5              0.5.17-4+b1
ii  libgcc1                    1:6.2.0-2
ii  libncursesw5               6.0+20160820-1
ii  libsigc++-2.0-0v5          2.8.0-2
ii  libsqlite3-0               3.14.1-1
ii  libstdc++6                 6.2.0-2
ii  libtinfo5                  6.0+20160820-1
ii  libxapian22v5              1.2.23-1

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-10
ii  sensible-utils                 0.0.9

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.48
ii  aptitude-doc-en [aptitude-doc]  0.8.3-1
pn  debtags                         <none>
ii  tasksel                         3.35

-- no debconf information

More information about the Aptitude-devel mailing list