[Aptitude-devel] Bug#735050: aptitude: Continues to remove conflicting package, although new package failed to download

Manuel Bilderbeek Manuel.Bilderbeek at gmail.com
Sun Jan 12 10:56:37 UTC 2014


Package: aptitude
Version: 0.6.8.2-1.2
Severity: normal

Dear Maintainer,

I asked aptitude to install a new package, which conflicted with an
older package. So, it suggested to remove that package. So far so good.
However, the new package failed to download (some transient network
error). But to my surprise, the conflicting older package was still
removed. End result: no new and no old package installed...

I think this is wrong behaviour. I expect that in this situation also
the old package should not be removed after all as no new (conflicting)
package is going to be installed.

Here's the full log of what happened (yes, it's with some 3rd party
package repo, but that is totally irrelevant here, transient network
errors can happen also on the Debian network and there are Debian
packages which have such relations as in this example).

$ sudo aptitude install virtualbox-4.3 
The following NEW packages will be installed:
  virtualbox-4.3{b} 
The following packages will be upgraded:
  virtualbox-4.2{b} 
1 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 135 MB of archives. After unpacking 158 MB will be used.
The following packages have unmet dependencies:
 virtualbox-4.2 : Conflicts: virtualbox but it is not going to be installed.
 virtualbox-4.3 : Conflicts: virtualbox but it is not going to be installed.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     virtualbox-4.2              



Accept this solution? [Y/n/q/?] 
The following NEW packages will be installed:
  virtualbox-4.3 
The following packages will be REMOVED:
  virtualbox-4.2{a} 
0 packages upgraded, 1 newly installed, 1 to remove and 1 not upgraded.
Need to get 69,7 MB of archives. After unpacking 10,8 MB will be used.
Do you want to continue? [Y/n/?] 
Err http://download.virtualbox.org/virtualbox/debian/ wheezy/contrib virtualbox-4.3 amd64 4.3.6-91406~Debian~wheezy
  Connection failed
(Reading database ... 645878 files and directories currently installed.)
Removing virtualbox-4.2 (4.2.22-91556~Debian~squeeze) ...
[ ok ] Stopping VirtualBox kernel modules:.
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for gnome-menus (3.8.0-2) ...
Processing triggers for mime-support (3.54) ...
Processing triggers for shared-mime-info (1.0-1+b1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
E: Failed to fetch http://download.virtualbox.org/virtualbox/debian/pool/contrib/v/virtualbox-4.3/virtualbox-4.3_4.3.6-91406~Debian~wheezy_amd64.deb: Connection failed
                                         
Current status: 1 update [-1].

-- Package-specific info:
Terminal: xterm
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.6.8.2 compiled at Aug 25 2013 12:37:10
Compiler: g++ 4.8.1
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 (0x00007fff1f502000)
	libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007f1ca4bef000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f1ca49bf000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f1ca4795000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f1ca4590000)
	libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f1ca4289000)
	libept.so.1.aptpkg4.12 => /usr/lib/x86_64-linux-gnu/libept.so.1.aptpkg4.12 (0x00007f1ca402c000)
	libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f1ca3c2f000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1ca3a17000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f1ca375b000)
	libboost_iostreams.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.54.0 (0x00007f1ca3541000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1ca3325000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1ca3021000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1ca2d23000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1ca2b0d000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1ca2760000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f1ca255d000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1ca2359000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f1ca2148000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f1ca2142000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1ca1f39000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f1ca558d000)

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  aptitude-common           0.6.8.2-1.2
ii  libapt-pkg4.12            0.9.14.2
ii  libboost-iostreams1.54.0  1.54.0-4+b1
ii  libc6                     2.17-97
ii  libcwidget3               0.5.16-3.5
ii  libept1.4.12              1.0.12
ii  libgcc1                   1:4.8.2-12
ii  libncursesw5              5.9+20130608-1
ii  libsigc++-2.0-0c2a        2.2.10-0.2
ii  libsqlite3-0              3.8.2-1
ii  libstdc++6                4.8.2-12
ii  libtinfo5                 5.9+20130608-1
ii  libxapian22               1.2.16-2
ii  zlib1g                    1:1.2.8.dfsg-1

Versions of packages aptitude recommends:
ii  apt-xapian-index                0.46
pn  aptitude-doc-en | aptitude-doc  <none>
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.18

-- no debconf information



More information about the Aptitude-devel mailing list