Bug#559431: cannot upgrade bind9-host with aptitude

2015-09-18 Thread Manuel A. Fernandez Montecelo

Control: tags -1 + moreinfo


Hi Vincent,

2009-12-04 11:23 Vincent Lefevre:

Package: aptitude
Version: 0.6.1.3-3
Severity: normal

I cannot upgrade bind9-host with aptitude, whereas this is
possible with apt-get:

root@vin:/home/vlefevre# aptitude install bind9-host
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
 dnsutils libdns50
The following NEW packages will be installed:
 libdns53{a}
The following packages will be upgraded:
 bind9-host libbind9-50 libisc50 libisccc50 libisccfg50 liblwres50
6 packages upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
Need to get 1,049kB of archives. After unpacking 1,602kB will be used.
The following packages have unmet dependencies:
 dnsutils: Depends: libbind9-50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is 
to be installed.
   Depends: libisc50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is to 
be installed.
   Depends: libisccfg50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is 
to be installed.
   Depends: liblwres50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is 
to be installed.
 libdns50: Depends: libisc50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is to 
be installed.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
bind9-host [1:9.6.1.dfsg.P1-3 (now)]
libbind9-50 [1:9.6.1.dfsg.P1-3 (now)]
libdns53 [Not Installed]
libisc50 [1:9.6.1.dfsg.P1-3 (now)]
libisccc50 [1:9.6.1.dfsg.P1-3 (now)]
libisccfg50 [1:9.6.1.dfsg.P1-3 (now)]
liblwres50 [1:9.6.1.dfsg.P1-3 (now)]

Tier: Cancel all user actions (2)

Accept this solution? [Y/n/q/?]

root@vin:/home/vlefevre# apt-get install -s bind9-host
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
 dnsutils libbind9-50 libdns53 libisc50 libisccc50 libisccfg50 liblwres50
Suggested packages:
 rblcheck
The following packages will be REMOVED:
 libdns50
The following NEW packages will be installed:
 libdns53
The following packages will be upgraded:
 bind9-host dnsutils libbind9-50 libisc50 libisccc50 libisccfg50 liblwres50
7 upgraded, 1 newly installed, 1 to remove and 44 not upgraded.
Inst bind9-host [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst dnsutils [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst libbind9-50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst libisccfg50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst libisccc50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Remv libdns50 [1:9.6.1.dfsg.P1-3] []
Inst libisc50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst libdns53 (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst liblwres50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libisc50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libdns53 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libisccc50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libisccfg50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libbind9-50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf liblwres50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf bind9-host (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf dnsutils (1:9.6.1.dfsg.P2-1 Debian:unstable)


Sorry that this report was not handled until now.

There are still similar problems with current versions of aptitude in
the default configuration -- the first suggestion of aptitude often
prefers to keep packages requested to install/upgrade uninstalled or at
the same version, or even remove them, rather than install/upgrade the
necessary dependencies.  And there are multiple reports about the
different manifestations of the current problem.

I am wondering if it's better to close this particular bug report
though, rather than merge; because judging by the time, version and the
message, the resolver implementation at that time (based on "Tiers") was
different than what it is used now, so in my opinion it doesn't even
make sense to try to reproduce the behaviour which caused this problem,
and keeping it open doesn't help to investigate the problems with the
current implementation that we should attempt to fix.

This is the relevant explanation from the changelog of version of 0.6.2
(version released shortly after the one that you were using):

==
[2010-04-18]
Version 0.6.2   "A costly proposition"

- New features:

+ [all] Resolver tiers are dead, long live resolver costs.

The resolver now supports a flexible system of multi-leveled
costs, in place of the fairly rigid tiers of previous
releases.  The default behavior emulates how tiers worked,
but the resolver can also be configured with custom cost
vectors by setting Aptitude::ProblemResolver::SolutionCost
to something like this:

canceled-actions + 2*removals, 

Bug#559431: cannot upgrade bind9-host with aptitude

2009-12-04 Thread Vincent Lefevre
Package: aptitude
Version: 0.6.1.3-3
Severity: normal

I cannot upgrade bind9-host with aptitude, whereas this is
possible with apt-get:

r...@vin:/home/vlefevre# aptitude install bind9-host
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done   
Reading task descriptions... Done  
The following packages are BROKEN:
  dnsutils libdns50 
The following NEW packages will be installed:
  libdns53{a} 
The following packages will be upgraded:
  bind9-host libbind9-50 libisc50 libisccc50 libisccfg50 liblwres50 
6 packages upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
Need to get 1,049kB of archives. After unpacking 1,602kB will be used.
The following packages have unmet dependencies:
  dnsutils: Depends: libbind9-50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is 
to be installed.
Depends: libisc50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is to 
be installed.
Depends: libisccfg50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is 
to be installed.
Depends: liblwres50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is 
to be installed.
  libdns50: Depends: libisc50 (= 1:9.6.1.dfsg.P1-3) but 1:9.6.1.dfsg.P2-1 is to 
be installed.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
bind9-host [1:9.6.1.dfsg.P1-3 (now)]
libbind9-50 [1:9.6.1.dfsg.P1-3 (now)]
libdns53 [Not Installed]
libisc50 [1:9.6.1.dfsg.P1-3 (now)]
libisccc50 [1:9.6.1.dfsg.P1-3 (now)]
libisccfg50 [1:9.6.1.dfsg.P1-3 (now)]
liblwres50 [1:9.6.1.dfsg.P1-3 (now)]

Tier: Cancel all user actions (2)

Accept this solution? [Y/n/q/?]

r...@vin:/home/vlefevre# apt-get install -s bind9-host
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following extra packages will be installed:
  dnsutils libbind9-50 libdns53 libisc50 libisccc50 libisccfg50 liblwres50
Suggested packages:
  rblcheck
The following packages will be REMOVED:
  libdns50
The following NEW packages will be installed:
  libdns53
The following packages will be upgraded:
  bind9-host dnsutils libbind9-50 libisc50 libisccc50 libisccfg50 liblwres50
7 upgraded, 1 newly installed, 1 to remove and 44 not upgraded.
Inst bind9-host [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst dnsutils [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst libbind9-50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst libisccfg50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst libisccc50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Remv libdns50 [1:9.6.1.dfsg.P1-3] []
Inst libisc50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst libdns53 (1:9.6.1.dfsg.P2-1 Debian:unstable) []
Inst liblwres50 [1:9.6.1.dfsg.P1-3] (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libisc50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libdns53 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libisccc50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libisccfg50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf libbind9-50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf liblwres50 (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf bind9-host (1:9.6.1.dfsg.P2-1 Debian:unstable)
Conf dnsutils (1:9.6.1.dfsg.P2-1 Debian:unstable)

-- Package-specific info:
aptitude 0.6.1.3 compiled at Nov 20 2009 19:56:21
Compiler: g++ 4.3.4
Compiled against:
  apt version 4.8.1
  NCurses version 5.7
  libsigc++ version: 2.0.18
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.7.20090803
  cwidget version: 0.5.16
  Apt version: 4.8.1
linux-vdso.so.1 =  (0x7fffc7dfe000)
libapt-pkg-libc6.9-6.so.4.8 = /usr/lib/libapt-pkg-libc6.9-6.so.4.8 
(0x7f1ebf937000)
libncursesw.so.5 = /lib64/libncursesw.so.5 (0x7f1ebf6e6000)
liblog4cxx.so.10 = /usr/lib/liblog4cxx.so.10 (0x7f1ebf2f2000)
libsigc-2.0.so.0 = /usr/lib/libsigc-2.0.so.0 (0x7f1ebf0ed000)
libcwidget.so.3 = /usr/lib/libcwidget.so.3 (0x7f1ebee1c000)
libept.so.0 = /usr/lib/libept.so.0 (0x7f1ebeba2000)
libxapian.so.15 = /usr/lib/libxapian.so.15 (0x7f1ebe84c000)
libz.so.1 = /usr/lib/libz.so.1 (0x7f1ebe635000)
libsqlite3.so.0 = /usr/lib/libsqlite3.so.0 (0x7f1ebe3a7000)
libboost_iostreams.so.1.40.0 = /usr/lib/libboost_iostreams.so.1.40.0 
(0x7f1ebe19c000)
libpthread.so.0 = /lib64/libpthread.so.0 (0x7f1ebdf8)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x7f1ebdc6f000)
libm.so.6 = /lib64/libm.so.6 (0x7f1ebd9ed000)
libgcc_s.so.1 = /lib64/libgcc_s.so.1 (0x7f1ebd7d7000)
libc.so.6 = /lib64/libc.so.6 (0x7f1ebd482000)
libutil.so.1 = /lib64/libutil.so.1 (0x7f1ebd27f000)
libdl.so.2 = /lib64/libdl.so.2 (0x7f1ebd07b000)
libaprutil-1.so.0 =