[Aptitude-devel] Bug#823928: aptitude wants to remove manually installed packages with SolutionCost "safety, removals"

Vincent Lefevre vincent at vinc17.net
Tue May 10 14:14:37 UTC 2016


Package: aptitude
Version: 0.8.1-1
Severity: normal

I have:

Aptitude::ProblemResolver::SolutionCost "safety, removals";

cventin:~> aptitude upgrade -s
Resolving dependencies...                
Unable to resolve dependencies for the upgrade: no solution found.
Unable to safely resolve dependencies, try running with --full-resolver.

No problems here. But with --full-resolver:

cventin:~> aptitude upgrade -s --full-resolver
The following packages will be upgraded: 
  libegl1-mesa libegl1-mesa-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri 
  libgl1-mesa-glx{b} libglapi-mesa{b} libgles1-mesa libgles2-mesa 
  libwayland-egl1-mesa libxatracker2 mesa-common-dev mesa-vdpau-drivers 
13 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 7902 kB of archives. After unpacking 4984 kB will be used.
The following packages have unmet dependencies:
 libglapi-mesa : Breaks: libglapi-mesa:i386 (!= 11.2.1-2) but 11.1.3-1 is installed
 libglapi-mesa:i386 : Breaks: libglapi-mesa (!= 11.1.3-1) but 11.2.1-2 is to be installed
 libgl1-mesa-glx : Breaks: libgl1-mesa-glx:i386 (!= 11.2.1-2) but 11.1.3-1 is installed
 libgl1-mesa-glx:i386 : Breaks: libgl1-mesa-glx (!= 11.1.3-1) but 11.2.1-2 is to be installed
The following actions will resolve these dependencies:

      Remove the following packages:                            
1)      libgl1-mesa-glx:i386 [11.1.3-1 (now, testing, unstable)]
2)      libglu1-mesa:i386 [9.0.0-2.1 (now, testing, unstable)]  
3)      libwine:i386 [1.8.1-2 (now, testing, unstable)]         
4)      wine32:i386 [1.8.1-2 (now, testing, unstable)]          

      Keep the following packages at their current version:     
5)      libgl1-mesa-dev [11.1.3-1 (now, testing)]               
6)      libgl1-mesa-glx [11.1.3-1 (now, testing)]               
7)      libglapi-mesa [11.1.3-1 (now, testing)]                 
8)      libgles1-mesa [11.1.3-1 (now, testing)]                 
9)      libgles2-mesa [11.1.3-1 (now, testing)]                 
10)     mesa-common-dev [11.1.3-1 (now, testing)]               

      Leave the following dependencies unresolved:              
11)     wine64 recommends wine32 (>= 1.8.1-2)                   
12)     wine64 recommends wine32 (< 1.8.1-2.1~)                 

In addition to breaking recommends, aptitude wants to remove a
manually installed package: libwine:i386.

i   libwine:i386               1.8.1-2                  1.8.1-2
i   wine32:i386                1.8.1-2                  1.8.1-2

The difference with bug 819636 is that now, *manually installed*
packages are removed.

Compressed /var/lib/aptitude/pkgstates file attached.

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

aptitude version information:
aptitude 0.8.1
Compiler: g++ 5.3.1 20160429
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.20160319
  cwidget version: 0.5.17
  Apt version: 5.0.0

aptitude linkage:
	linux-vdso.so.1 (0x00007ffdf73af000)
	libgtk3-nocsd.so.0 => /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f87a5c4b000)
	libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007f87a58d3000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f87a56a2000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f87a5478000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f87a5271000)
	libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007f87a4f73000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f87a4c79000)
	libboost_iostreams.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.58.0 (0x00007f87a4a5f000)
	libboost_filesystem.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0 (0x00007f87a4845000)
	libboost_system.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 (0x00007f87a4641000)
	libxapian.so.22 => /usr/lib/x86_64-linux-gnu/libxapian.so.22 (0x00007f87a423d000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f87a401f000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f87a3c9f000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f87a39a1000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f87a378a000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f87a33e6000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f87a31e2000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f87a2fde000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f87a2dc7000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f87a2bac000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f87a299b000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f87a2778000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f87a2566000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f87a235d000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f87a2158000)
	/lib64/ld-linux-x86-64.so.2 (0x000055e22c5e8000)

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

Kernel: Linux 4.5.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages aptitude depends on:
ii  aptitude-common            0.8.1-1
ii  libapt-pkg5.0              1.2.11
ii  libboost-filesystem1.58.0  1.58.0+dfsg-5+b1
ii  libboost-iostreams1.58.0   1.58.0+dfsg-5+b1
ii  libboost-system1.58.0      1.58.0+dfsg-5+b1
ii  libc6                      2.22-7
ii  libcwidget3v5              0.5.17-4+b1
ii  libgcc1                    1:6.1.1-1
ii  libncursesw5               6.0+20160319-1
ii  libsigc++-2.0-0v5          2.8.0-1
ii  libsqlite3-0               3.12.2-1
ii  libstdc++6                 6.1.1-1
ii  libtinfo5                  6.0+20160319-1
ii  libxapian22v5              1.2.23-1

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-8
ii  sensible-utils                 0.0.9

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

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgstates.xz
Type: application/octet-stream
Size: 627888 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20160510/868601bc/attachment.obj>


More information about the Aptitude-devel mailing list