[Aptitude-devel] Bug#815551: aptitude: safe-upgrade removes manually installed package if dependency is on hold
Sven Joachim
svenjoac at gmx.de
Mon Feb 22 10:57:21 GMT 2016
Package: aptitude
Version: 0.7.6-1
Severity: important
I have the packages iceweasel and libwine on hold, and all of a sudden
"aptitude safe-upgrade" declares packages that depend on them as unused
and wants to remove them:
,----
| $ LANG=C aptitude -s -V -D safe-upgrade
| Resolving dependencies...
| The following packages will be REMOVED:
| iceweasel-l10n-de{u} [1:38.6.1esr-1~deb8u1] wine{u} [1.6.2-22] wine32{u} [1.6.2-22] (D: wine)
| 0 packages upgraded, 0 newly installed, 3 to remove and 6 not upgraded.
| Need to get 0 B of archives. After unpacking 1014 kB will be freed.
|
| Note: Using 'Simulate' mode.
| Do you want to continue? [Y/n/?]
| Would download/install/remove packages.
`----
None of these three packages is marked as manually installed:
,----
| $ LANG=C aptitude versions libwine wine wine32 iceweasel iceweasel-l10n-de
| Package iceweasel:
| ih 38.6.1esr-1~deb8u1 100
| ph 44.0.2-1 unstable 500
| ph 45.0~b5-1 experimental 101
|
| Package iceweasel-l10n-de:
| i 1:38.6.1esr-1~deb8u1 100
| p 1:44.0.2-1 unstable 500
| p 1:45.0~b5-1 experimental 101
|
| Package libwine:
| ihA 1.6.2-22 100
| phA 1.8.1-2 unstable 500
|
| Package wine:
| i 1.6.2-22 100
| p 1.8.1-2 unstable 500
|
| Package wine32:
| i 1.6.2-22 100
| p 1.8.1-2 unstable 500
`----
A workaround is to put the affected packages on hold as well, but this
ought not to be necessary.
-- Package-specific info:
Terminal: eterm-color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.7.6
Compiler: g++ 5.3.1 20160220
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.20160213
cwidget version: 0.5.17
Apt version: 5.0.0
aptitude linkage:
linux-gate.so.1 (0xf77eb000)
libapt-pkg.so.5.0 => /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0 (0xf726a000)
libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xf7235000)
libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xf7210000)
libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 (0xf7209000)
libcwidget.so.3 => /usr/lib/i386-linux-gnu/libcwidget.so.3 (0xf7106000)
libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xf7024000)
libboost_iostreams.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_iostreams.so.1.58.0 (0xf700b000)
libboost_filesystem.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_filesystem.so.1.58.0 (0xf6ff1000)
libboost_system.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_system.so.1.58.0 (0xf6fec000)
libxapian.so.22 => /usr/lib/i386-linux-gnu/sse2/libxapian.so.22 (0xf6de2000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf6dc5000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6c55000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf6c07000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6bea000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf6a32000)
libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xf6a2e000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf6a29000)
libresolv.so.2 => /lib/i386-linux-gnu/i686/cmov/libresolv.so.2 (0xf6a10000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf69f3000)
libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xf69e0000)
liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xf69b7000)
liblz4.so.1 => /usr/lib/i386-linux-gnu/liblz4.so.1 (0xf69a4000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf699a000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf6994000)
/lib/ld-linux.so.2 (0x56560000)
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 4.2.8-ckt4-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.7.6-1
ii libapt-pkg5.0 1.2.3
ii libboost-filesystem1.58.0 1.58.0+dfsg-5+b1
ii libboost-iostreams1.58.0 1.58.0+dfsg-5+b1
ii libboost-system1.58.0 1.58.0+dfsg-5+b1
ii libc6 2.21-9
ii libcwidget3v5 0.5.17-4+b1
ii libgcc1 1:5.3.1-9
ii libncursesw5 6.0+20160213-1
ii libsigc++-2.0-0v5 2.6.2-1
ii libsqlite3-0 3.11.0-1
ii libstdc++6 5.3.1-9
ii libtinfo5 6.0+20160213-1
ii libxapian22v5 1.2.22-1
Versions of packages aptitude recommends:
ii aptitude-doc-en [aptitude-doc] 0.7.6-1
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
pn debtags <none>
ii tasksel 3.34
-- no debconf information
More information about the Aptitude-devel
mailing list