Package: aptitude
Version: 0.6.1.5-3
Severity: normal

Hi,

I am trying to get the new kde 4.4.2 installed with aptitude, and am
noticing that aptitude behaves differently than apt-get when it comes
to selecting packages.

$ apt-cache policy konsole
konsole:
  Installed: 4:4.3.4-1
  Candidate: 4:4.4.2-0rc1
  Version table:
     4:4.4.2-0rc1 0
        501 http://qt-kde.debian.net experimental-snapshots/main Packages
 *** 4:4.3.4-1 0
        500 http://ftp2.de.debian.org sid/main Packages
        -10 http://ftp2.de.debian.org squeeze/main Packages
        100 /var/lib/dpkg/status
     4:3.5.9.dfsg.1-6 0
        -10 http://ftp2.de.debian.org lenny/main Packages

With this settings, apt-get install konsole will immediately pull
4:4.4.2-0rc1 from qt-kde.debian.net. However, aptitude needs an
additional -t experimental-snapshots, which might have side effects
that I wouldn't want to have. Additionally, this precludes me from
using aptitude in full-screen mode.

Why does aptitude behave differently than apt-get here?

$ sudo apt-get -d install konsole
[sudo] password for mh on swivel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  konsole: Depends: libkdecore5 (>= 4:4.4.0) but it is not going to be installed
           Depends: libkdeui5 (>= 4:4.4) but it is not going to be installed
           Depends: libkio5 (>= 4:4.4) but it is not going to be installed
           Depends: libknotifyconfig4 (>= 4:4.4) but it is not going to be 
installed
           Depends: libkparts4 (>= 4:4.4) but it is not going to be installed
           Depends: libkpty4 (>= 4:4.4) but it is not going to be installed
           Depends: libqtcore4 (>= 4:4.6.1) but 4:4.5.3-4 is to be installed
E: Broken packages
$ sudo apt-get -d install konsole
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  konsole: Depends: libkdecore5 (>= 4:4.4.0) but it is not going to be installed
           Depends: libkdeui5 (>= 4:4.4) but it is not going to be installed
           Depends: libkio5 (>= 4:4.4) but it is not going to be installed
           Depends: libknotifyconfig4 (>= 4:4.4) but it is not going to be 
installed
           Depends: libkparts4 (>= 4:4.4) but it is not going to be installed
           Depends: libkpty4 (>= 4:4.4) but it is not going to be installed
           Depends: libqtcore4 (>= 4:4.6.1) but 4:4.5.3-4 is to be installed
E: Broken packages
$ sudo aptitude -d install konsole
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done

$ sudo aptitude -t experimental-snapshots -d install konsole
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
The following packages will be upgraded:
  konsole{b}
1 packages upgraded, 0 newly installed, 0 to remove and 159 not upgraded.
Need to get 461kB of archives. After unpacking 69,6kB will be freed.
The following packages have unmet dependencies:
  konsole: Depends: libkdecore5 (>= 4:4.4.0) but it is not going to be 
installed.
           Depends: libkdeui5 (>= 4:4.4) but it is not going to be installed.
           Depends: libkio5 (>= 4:4.4) but it is not going to be installed.
           Depends: libknotifyconfig4 (>= 4:4.4) but it is not going to be 
installed.
           Depends: libkparts4 (>= 4:4.4) but it is not going to be installed.
           Depends: libkpty4 (>= 4:4.4) but it is not going to be installed.
           Depends: libqtcore4 (>= 4:4.6.1) but 4:4.5.3-4 is installed.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     kde-minimal
2)     kdebase
3)     kdebase-apps
4)     kile
5)     konsole

     Tier: Safe actions, Remove packages (10000)

Accept this solution? [Y/n/q/?] ^C
$


-- Package-specific info:
aptitude 0.6.1.5 compiled at Mar 12 2010 09:52:06
Compiler: g++ 4.4.3
Compiled against:
  apt version 4.8.0
  NCurses version 5.7
  libsigc++ version: 2.2.4.2
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.7.20100313
  cwidget version: 0.5.16
  Apt version: 4.8.0
        linux-gate.so.1 =>  (0xffffe000)
        libapt-pkg-libc6.9-6.so.4.8 => /usr/lib/libapt-pkg-libc6.9-6.so.4.8 
(0xb76a5000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0xb765f000)
        liblog4cxx.so.10 => /usr/lib/liblog4cxx.so.10 (0xb74b8000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb74b2000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb73f2000)
        libept.so.0 => /usr/lib/libept.so.0 (0xb737f000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0xb7231000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb721d000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb7198000)
        libboost_iostreams.so.1.40.0 => /usr/lib/libboost_iostreams.so.1.40.0 
(0xb718d000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7174000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb707f000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7059000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb703a000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb6ef3000)
        libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb6eef000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb6eeb000)
        libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb6ecb000)
        libdb-4.8.so => /usr/lib/libdb-4.8.so (0xb6d64000)
        libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb6d36000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb6d25000)
        librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb6d1c000)
        /lib/ld-linux.so.2 (0xb7786000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb6d18000)
        libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb6ce5000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6cbf000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

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

Kernel: Linux 2.6.33.1-zgws1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.9 0.7.25.3         Advanced front-end for dpkg
ii  libboost-iostreams1.40. 1.40.0-6+b1      Boost.Iostreams Library
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
ii  libcwidget3             0.5.16-3         high-level terminal interface libr
ii  libept0                 0.5.30           High-level library for managing De
ii  libgcc1                 1:4.4.3-5        GCC support library
ii  liblog4cxx10            0.10.0-1.1       A logging library for C++
ii  libncursesw5            5.7+20100313-1   shared libraries for terminal hand
ii  libsigc++-2.0-0c2a      2.2.4.2-1        type-safe Signal Framework for C++
ii  libsqlite3-0            3.6.23-1         SQLite 3 shared library
ii  libstdc++6              4.4.3-5          The GNU Standard C++ Library v3
ii  libxapian15             1.0.18-1         Search engine library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages aptitude recommends:
pn  apt-xapian-index              <none>     (no description available)
ii  aptitude-doc-en [aptitude-doc 0.6.1.5-3  English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1.1-2    parse Debian changelogs and output
ii  sensible-utils                0.0.2      Utilities for sensible alternative

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
pn  tasksel                       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to