[Aptitude-devel] Bug#833423: aptitude says packages are broken just because we didn't upgrade to our target (experimental)?

積丹尼 Dan Jacobson jidanni at jidanni.org
Thu Aug 4 06:59:34 UTC 2016


Package: aptitude
Version: 0.8.2-1
File: /usr/bin/aptitude-curses

The following results in "iB" installed BROKEN state,

# aptitude install perl
...
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libperl5.24 [Not Installed]
2)     perl-modules-5.24 [Not Installed]

     Upgrade the following packages:
3)     libperl5.22 [5.22.2~rc1-1 (now) -> 5.22.2-3 (unstable)]
4)     perl [5.22.2~rc1-1 (now) -> 5.22.2-3 (unstable)]
5)     perl-base [5.22.2~rc1-1 (now) -> 5.22.2-3 (unstable)]
6)     perl-doc [5.22.2~rc1-1 (now) -> 5.22.2-3 (unstable)]
7)     perl-modules-5.22 [5.22.2~rc1-1 (now) -> 5.22.2-3 (unstable)]



Accept this solution? [Y/n/q/?]
The following packages will be upgraded:
  libperl5.22 (perl D: libperl5.22)  perl  perl-base  perl-doc
  perl-modules-5.22 (perl D: perl-modules-5.22)
The following packages are RECOMMENDED but will NOT be installed:
  rename (R: perl)
The following packages will NOT be UPGRADED:
  libdbd-mysql-perl  libglib-perl{a}  libgtk2-perl{a} (S: libgtk2-perl-doc)  libhtml-parser-perl
  liblocale-gettext-perl  libnet-ssleay-perl{a}  libnetaddr-ip-perl
  libparams-classify-perl{a} (S: libscalar-number-perl)  libparams-validate-perl  libsocket6-perl{a}
  libuuid-perl  libxml-libxml-perl  libxml-parser-perl{a}  mysql-client  mysql-server  texinfo
5 packages upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Need to get 0 B/14.8 MB of archives. After unpacking 4,096 B will be freed.
Do you want to continue? [Y/n/?]
Reading changelogs...
apt-listchanges: Mailing root: apt-listchanges: changelogs for jidanni2
(Reading database ... 163348 files and directories currently installed.)
Preparing to unpack .../libperl5.22_5.22.2-3_i386.deb ...
Unpacking libperl5.22:i386 (5.22.2-3) over (5.22.2~rc1-1) ...
Preparing to unpack .../perl-doc_5.22.2-3_all.deb ...
Leaving 'diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc'
Unpacking perl-doc (5.22.2-3) over (5.22.2~rc1-1) ...
Preparing to unpack .../perl_5.22.2-3_i386.deb ...
Unpacking perl (5.22.2-3) over (5.22.2~rc1-1) ...
Preparing to unpack .../perl-base_5.22.2-3_i386.deb ...
Unpacking perl-base (5.22.2-3) over (5.22.2~rc1-1) ...
Processing triggers for libc-bin (2.23.90+20160725.b898b64-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up perl-base (5.22.2-3) ...
(Reading database ... 163349 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.22_5.22.2-3_all.deb ...
Unpacking perl-modules-5.22 (5.22.2-3) over (5.22.2~rc1-1) ...
Setting up perl-modules-5.22 (5.22.2-3) ...
Setting up libperl5.22:i386 (5.22.2-3) ...
Setting up perl (5.22.2-3) ...
Setting up perl-doc (5.22.2-3) ...
Processing triggers for libc-bin (2.23.90+20160725.b898b64-1) ...

Current status: 0 (+0) broken, 19 (-2) upgradable, 52333 (+0) new.
14:48 ~# aptitude search ~U|sort|s
i  mysql-client - MySQL database client (metapackage depending on the latest version)
i  mysql-server - MySQL database server (metapackage depending on the latest version)
i  texinfo - Documentation system for on-line information and printed output
iB libdbd-mysql-perl - Perl5 database interface to the MySQL database
iB libhtml-parser-perl - collection of modules that parse HTML text documents
iB liblocale-gettext-perl - module using libc functions for internationalization in Perl
iB libnetaddr-ip-perl - IP address manipulation module
iB libparams-validate-perl - Perl module to validate parameters to Perl method/function calls
iB libuuid-perl - Perl extension for using UUID interfaces as defined in e2fsprogs
iB libxml-libxml-perl - Perl interface to the libxml2 library
iB perl - Larry Wall's Practical Extraction and Report Language
iBA libglib-perl - interface to the GLib and GObject libraries
iBA libgtk2-perl - Perl interface to the 2.x series of the Gimp Toolkit library
iBA libnet-ssleay-perl - Perl module for Secure Sockets Layer (SSL)
iBA libparams-classify-perl - Perl module for argument type classification
iBA libsocket6-perl - Perl extensions for IPv6
iBA libxml-parser-perl - Perl module for parsing XML files
iu perl-base - minimal Perl system
iu perl-doc - Perl documentation

In fact all we did was pick a version different than the target (experimental)
$ apt-cache policy perl
perl:
  Installed: 5.22.2-3
  Candidate: 5.24.0-1
  Version table:
     5.24.0-1 990
        990 http://free.nchc.org.tw/debian experimental/main i386 Packages
 *** 5.22.2-3 500
        500 http://free.nchc.org.tw/debian unstable/main i386 Packages
        100 /var/lib/dpkg/status


Aptitude 0.8.2: log report
Thu, Aug  4 2016 14:47:41 +0800

  IMPORTANT: this log only lists intended actions; actions which fail
  due to dpkg problems may not be completed.

Will install 5 packages, and remove 0 packages.
4096 B of disk space will be freed
========================================
[HOLD, DEPENDENCIES] libglib-perl:i386 3:1.320-2
[HOLD, DEPENDENCIES] libgtk2-perl:i386 2:1.2498-1
[HOLD, DEPENDENCIES] libnet-ssleay-perl:i386 1.74-1
[HOLD, DEPENDENCIES] libparams-classify-perl:i386 0.013-5+b1
[HOLD, DEPENDENCIES] libsocket6-perl:i386 0.25-1+b2
[HOLD, DEPENDENCIES] libxml-parser-perl:i386 2.44-1+b1
[HOLD] libdbd-mysql-perl:i386 4.033-1+b1
[HOLD] libhtml-parser-perl:i386 3.72-1
[HOLD] liblocale-gettext-perl:i386 1.07-1+b1
[HOLD] libnetaddr-ip-perl:i386 4.078+dfsg-1+b1
[HOLD] libparams-validate-perl:i386 1.23-1
[HOLD] libuuid-perl:i386 0.24-1+b1
[HOLD] libxml-libxml-perl:i386 2.0123+dfsg-1+b1
[HOLD] mysql-client:i386 5.6.30-1
[HOLD] mysql-server:i386 5.6.30-1
[HOLD] texinfo:i386 6.1.0.dfsg.1-6
[UPGRADE] libperl5.22:i386 5.22.2~rc1-1 -> 5.22.2-3
[UPGRADE] perl:i386 5.22.2~rc1-1 -> 5.22.2-3
[UPGRADE] perl-base:i386 5.22.2~rc1-1 -> 5.22.2-3
[UPGRADE] perl-doc:i386 5.22.2~rc1-1 -> 5.22.2-3
[UPGRADE] perl-modules-5.22:i386 5.22.2~rc1-1 -> 5.22.2-3
========================================

Terminal: xterm
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8.2
Compiler: g++ 5.4.0 20160609
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.20160625
  cwidget version: 0.5.17
  Apt version: 5.0.0

aptitude linkage:
	linux-gate.so.1 (0xb77e6000)
	libapt-pkg.so.5.0 => /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0 (0xb7244000)
	libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xb720f000)
	libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb71ec000)
	libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 (0xb71e4000)
	libcwidget.so.3 => /usr/lib/i386-linux-gnu/libcwidget.so.3 (0xb70e1000)
	libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb6fcd000)
	libboost_iostreams.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_iostreams.so.1.58.0 (0xb6fb4000)
	libboost_filesystem.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_filesystem.so.1.58.0 (0xb6f9b000)
	libboost_system.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_system.so.1.58.0 (0xb6f94000)
	libxapian.so.22 => /usr/lib/i386-linux-gnu/sse2/libxapian.so.22 (0xb6d8a000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb6d6d000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6bf4000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb6b9f000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6b82000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb69cb000)
	libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xb69c7000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb69c2000)
	libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb69aa000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb698d000)
	libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb6978000)
	liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb694f000)
	liblz4.so.1 => /usr/lib/i386-linux-gnu/liblz4.so.1 (0xb693c000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb6933000)
	libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb692d000)
	/lib/ld-linux.so.2 (0x800d1000)

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

Kernel: Linux 4.6.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages aptitude depends on:
ii  aptitude-common            0.8.2-1
ii  libapt-pkg5.0              1.3~pre2
ii  libboost-filesystem1.58.0  1.58.0+dfsg-5.1
ii  libboost-iostreams1.58.0   1.58.0+dfsg-5.1
ii  libboost-system1.58.0      1.58.0+dfsg-5.1
ii  libc6                      2.23.90+20160725.b898b64-1
ii  libcwidget3v5              0.5.17-4+b1
ii  libgcc1                    1:6.1.1-10
ii  libncursesw5               6.0+20160625-1
ii  libsigc++-2.0-0v5          2.8.0-1
ii  libsqlite3-0               3.13.0-1
ii  libstdc++6                 6.1.1-10
ii  libtinfo5                  6.0+20160625-1
ii  libxapian22v5              1.2.23-1

Versions of packages aptitude recommends:
pn  libparse-debianchangelog-perl  <none>
ii  sensible-utils                 0.0.9

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

-- no debconf information



More information about the Aptitude-devel mailing list