[Aptitude-devel] Bug#718802: aptitude clears automatic flags when an upgrade is aborted (ctrl-C)
Ximin Luo
infinity0 at gmx.com
Mon Aug 5 15:44:14 UTC 2013
Package: aptitude
Version: 0.6.8.2-1
Severity: important
When you ctrl-C an upgrade, then re-attempt it later, aptitude forgets that some packages ought to be removed, because the automatic flag was cleared last time.
$ sudo aptitude upgrade
Resolving dependencies...
The following NEW packages will be installed:
gir1.2-gst-plugins-base-1.0{a} gir1.2-gstreamer-1.0{a} libgrilo-0.2-1{a} librhythmbox-core7{a} libsnmp30{a}
The following packages will be REMOVED:
grilo-plugins-0.1{u} libgrilo-0.1-0{u} librhythmbox-core6{u} libsnmp15{u}
The following packages will be upgraded:
amd-opencl-icd fonts-opensymbol gir1.2-rb-3.0 hplip libbrlapi0.6 libhpmud0 libnewt0.52 libqscintilla2-9 libsane-hpaio libsnmp-base libxom-java lynx-cur printer-driver-hpcups printer-driver-hpijs python-brlapi
python-crypto python-lxml python-markupsafe python-numpy python-openssl python-qscintilla2 python-sip python-subnettree python-zope.interface python3-markupsafe python3-numpy rhythmbox rhythmbox-data
rhythmbox-plugin-cdrecorder rhythmbox-plugins whiptail xbrlapi
32 packages upgraded, 5 newly installed, 4 to remove and 1 not upgraded.
Need to get 33.4 MB/35.1 MB of archives. After unpacking 1,606 kB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 ftp://ftp.uk.debian.org/debian/ testing/main rhythmbox-plugin-cdrecorder amd64 2.99.1-3 [385 kB]
Get: 2 ftp://ftp.uk.debian.org/debian/ testing/main rhythmbox-plugins amd64 2.99.1-3 [673 kB]
Get: 3 ftp://ftp.uk.debian.org/debian/ testing/main rhythmbox amd64 2.99.1-3 [421 kB]
Get: 4 ftp://ftp.uk.debian.org/debian/ testing/main rhythmbox-data all 2.99.1-3 [4,285 kB]
7% [4 rhythmbox-data 989 kB/4,285 kB 23%]^C130
$ aptitude search '~i !~M' | grep '^id '
id grilo-plugins-0.1 - Framework for discovering and browsing med
id libgrilo-0.1-0 - Framework for discovering and browsing med
id librhythmbox-core6 - support library for the rhythmbox music pl
id libsnmp15 - SNMP (Simple Network Management Protocol)
$ sudo aptitude upgrade
Resolving dependencies...
The following packages will be upgraded:
amd-opencl-icd fonts-opensymbol libbrlapi0.6 libnewt0.52 libqscintilla2-9 libxom-java lynx-cur python-brlapi python-crypto python-lxml python-markupsafe python-numpy python-openssl python-qscintilla2 python-sip
python-subnettree python-zope.interface python3-markupsafe python3-numpy whiptail xbrlapi
21 packages upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Need to get 20.8 MB of archives. After unpacking 1,991 kB will be freed.
Do you want to continue? [Y/n/?] y
# snip
# operation completes successfully
$ aptitude search grilo-plugins-0.1 libgrilo-0.1-0 librhythmbox-core6 libsnmp15
i grilo-plugins-0.1 - Framework for discovering and browsing med
i libgrilo-0.1-0 - Framework for discovering and browsing med
id librhythmbox-core6 - support library for the rhythmbox music pl
id libsnmp15 - SNMP (Simple Network Management Protocol)
-- Package-specific info:
Terminal: xterm
$DISPLAY not set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.6.8.2 compiled at Nov 7 2012 07:08:03
Compiler: g++ 4.7.2
Compiled against:
apt version 4.12.0
NCurses version 5.9
libsigc++ version: 2.2.10
Ept support enabled.
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 5.9.20130608
cwidget version: 0.5.16
Apt version: 4.12.0
aptitude linkage:
linux-vdso.so.1 (0x00007fff827fe000)
libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007f58e7c90000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f58e7a60000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f58e7836000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f58e7631000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f58e7331000)
libept.so.1.aptpkg4.12 => /usr/lib/libept.so.1.aptpkg4.12 (0x00007f58e7090000)
libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f58e6cad000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f58e6a95000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f58e67e3000)
libboost_iostreams.so.1.49.0 => /usr/lib/libboost_iostreams.so.1.49.0 (0x00007f58e65cb000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f58e63af000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f58e60a6000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f58e5da8000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f58e5b92000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f58e57e5000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f58e55e2000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f58e53de000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f58e51cd000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f58e51c7000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f58e4fbe000)
/lib64/ld-linux-x86-64.so.2 (0x00007f58e8628000)
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.8-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aptitude depends on:
ii aptitude-common 0.6.8.2-1
ii libapt-pkg4.12 0.9.8.2
ii libboost-iostreams1.49.0 1.49.0-4
ii libc6 2.17-7
ii libcwidget3 0.5.16-3.4
ii libept1.4.12 1.0.9
ii libgcc1 1:4.8.1-2
ii libncursesw5 5.9+20130608-1
ii libsigc++-2.0-0c2a 2.2.10-0.2
ii libsqlite3-0 3.7.17-1
ii libstdc++6 4.8.1-2
ii libtinfo5 5.9+20130608-1
ii libxapian22 1.2.15-2
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages aptitude recommends:
ii apt-xapian-index 0.45
ii aptitude-doc-en [aptitude-doc] 0.6.8.2-1
ii libparse-debianchangelog-perl 1.2.0-1
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
pn debtags <none>
ii tasksel 3.16
-- no debconf information
More information about the Aptitude-devel
mailing list