[Aptitude-devel] Bug#682363: aptitude suggests removing multiarch packages when uneeded

Kitty kittyinapc at gmail.com
Sun Jul 22 03:26:29 BST 2012


Package: aptitude
Version: 0.6.8-1
Severity: important

It seems when downgrading packages that have dependency issues aptitude
suggests to remove all my multiarch packages. Below is an example but I
have had this happen with more than workrave.

************
Versions
************

$ aptitude versions workrave
Package workrave:                        
p   1.9.1-3                                                   stable                                 500 
i   1.9.909+abc941eb70-1                                      testing,unstable                       990 

Package workrave-data:
p A 1.9.1-3                                                   stable                                 500 
i A 1.9.909+abc941eb70-1                                      testing,unstable                       990 

Package workrave:i386:
p   1.9.909+abc941eb70-1                                      testing,unstable                       990 

*************
With aptitude
*************

$ sudo aptitude -t stable install workrave=1.9.1-3
The following packages will be DOWNGRADED:
  workrave{b} 
The following NEW packages will be installed:
  libgnet2.0-0{a} libpanel-applet2-0{a} 
The following packages will be REMOVED:
  libpanel-applet-4-0{u} workrave-data{u} 
0 packages upgraded, 2 newly installed, 1 downgraded, 2 to remove and 1 not upgraded.
Need to get 0 B/671 kB of archives. After unpacking 8,688 kB will be freed.
The following packages have unmet dependencies:
 workrave : Depends: workrave-data (= 1.9.1-3) but it is not going to be installed.
The following actions will resolve these dependencies:

      Remove the following packages:
1)      libc6:i386                  
2)      libc6-i686:i386             
3)      libgcc1:i386                
4)      libx11-6:i386               
5)      libx11-dev:i386             
6)      libxau-dev:i386             
7)      libxau6:i386                
8)      libxcb1:i386                
9)      libxcb1-dev:i386            
10)     libxdmcp-dev:i386           
11)     libxdmcp6:i386              
12)     libxext-dev:i386            
13)     libxext6:i386               
14)     libxi-dev:i386              
15)     libxi6:i386                 
16)     lzma                        
17)     workrave                    



Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.

$ sudo aptitude -t stable install workrave=1.9.1-3 workrave-data=1.9.1-3
The following packages will be DOWNGRADED:
  workrave workrave-data 
The following NEW packages will be installed:
  libgnet2.0-0{a} libpanel-applet2-0{a} 
The following packages will be REMOVED:
  libpanel-applet-4-0{u} 
0 packages upgraded, 2 newly installed, 2 downgraded, 1 to remove and 1 not upgraded.
Need to get 0 B/5,774 kB of archives. After unpacking 279 kB will be freed.
Do you want to continue? [Y/n/?] n
Abort.

*************
With apt-get
*************

$ sudo apt-get -t stable install workrave=1.9.1-3
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:
 workrave : Depends: workrave-data (= 1.9.1-3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get -t stable install workrave=1.9.1-3 workrave-data=1.9.1-3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libpanel-applet-4-0
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libgnet2.0-0 libpanel-applet2-0
The following NEW packages will be installed:
  libgnet2.0-0 libpanel-applet2-0
The following packages will be DOWNGRADED:
  workrave workrave-data
0 upgraded, 2 newly installed, 2 downgraded, 0 to remove and 1 not upgraded.
Need to get 0 B/5,774 kB of archives.
After this operation, 36.9 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort

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

aptitude version information:
aptitude 0.6.8 compiled at Jun  9 2012 10:02:58
Compiler: g++ 4.7.0
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.20110404
  cwidget version: 0.5.16
  Apt version: 4.12.0

aptitude linkage:
	linux-vdso.so.1 =>  (0x00007fff14b64000)
	libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007feefa57e000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007feefa34e000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007feefa124000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007feef9f1f000)
	libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007feef9c1f000)
	libept.so.1.0.5.4.12 => /usr/lib/libept.so.1.0.5.4.12 (0x00007feef997e000)
	libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007feef9598000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007feef9381000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007feef90d5000)
	libboost_iostreams.so.1.49.0 => /usr/lib/libboost_iostreams.so.1.49.0 (0x00007feef8ebc000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007feef8ca0000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007feef8998000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007feef8716000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007feef8500000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007feef8178000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007feef7f75000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007feef7d71000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007feef7b60000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007feef795b000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007feef7752000)
	/lib64/ld-linux-x86-64.so.2 (0x00007feefaf1c000)

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (400, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  aptitude-common           0.6.8-1
ii  libapt-pkg4.12            0.9.7.1
ii  libboost-iostreams1.49.0  1.49.0-3.1
ii  libc6                     2.13-33
ii  libcwidget3               0.5.16-3.4
ii  libept1.4.12              1.0.9
ii  libgcc1                   1:4.7.1-2
ii  libncursesw5              5.9-10
ii  libsigc++-2.0-0c2a        2.2.10-0.2
ii  libsqlite3-0              3.7.13-1
ii  libstdc++6                4.7.1-2
ii  libtinfo5                 5.9-10
ii  libxapian22               1.2.10-2
ii  zlib1g                    1:1.2.7.dfsg-13

Versions of packages aptitude recommends:
ii  apt-xapian-index                0.45
ii  aptitude-doc-en [aptitude-doc]  0.6.8-1
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils                  0.0.7

Versions of packages aptitude suggests:
pn  debtags  <none>
ii  tasksel  3.11

-- no debconf information



More information about the Aptitude-devel mailing list