[Cupt-devel] Bug#754480: cupt: Needlessly tries to upgrade a package to experimental version instead of sid version

James McCoy jamessan at debian.org
Fri Jul 11 14:24:08 UTC 2014


Package: cupt
Version: 2.8.1+b1
Severity: normal

Apt currently has packages both in sid (1.0.6) and experimental
(1.1~exp1).  While running "cupt safe-upgrade", I would expect cupt to
suggest to upgrade the apt related packages from 1.0.5 -> 1.0.6, but it
is instead deciding to pull libapt-inst1.5 from experimental which then
also pulls in libapt-pkg4.13 from experimental.  The rest of the binary
packages from the apt source package are, as expected, only trying to be
upgraded to the latest sid version.

Below is a transcript of some cupt commands showing the problem and I've
also attached a log file with debug::resolver/debug::worker enabled.

$ cupt policy libapt-inst1.5
libapt-inst1.5:
  Installed: 1.0.5^installed
  Preferred: 1.0.6
  Version table:
     1.0.6 501
        http://http.debian.net/debian unstable/main (signed)
     1.1~exp1 201
        http://http.debian.net/debian experimental/main (signed)
 *** 1.0.5^installed 100
        /var/lib/dpkg/status installed/ (unsigned)

$ cupt -D -V -s safe-upgrade virtualbox-guest-x11/installed  # cupt wants to remove that due to X ABI break
Building the package cache... 
Initializing package resolver and worker... 
Scheduling requested actions... 
Resolving possible unmet dependencies... 

The following packages will be installed:

libapt-pkg4.13 [1.1~exp1]
  reason: libapt-inst1.5 1.1~exp1 depends on 'libapt-pkg4.13 (>= 1.1~exp1)'
  caused by changes in: libapt-inst1.5


The following packages will be upgraded:

apt [1.0.5^installed -> 1.0.6]
  reason: user request: upgrade apt
  caused by changes in: <user requests>

apt-utils [1.0.5^installed -> 1.0.6]
  reason: user request: upgrade apt-utils
  caused by changes in: <user requests>

libapt-inst1.5 [1.0.5^installed -> 1.1~exp1]
  reason: user request: upgrade libapt-inst1.5
  caused by changes in: <user requests>

libapt-pkg4.12 [1.0.5^installed -> 1.0.6]
  reason: user request: upgrade libapt-pkg4.12
  caused by changes in: <user requests>


The following packages will have a not preferred version:

bzr [2.6.0+bzr6595-1^installed], preferred: 2.6.0+bzr6595-2
libapt-inst1.5 [1.0.5^installed -> 1.1~exp1], preferred: 1.0.6
python-bzrlib [2.6.0+bzr6595-1^installed], preferred: 2.6.0+bzr6595-2
xserver-xorg-core [2:1.15.1-1^installed], preferred: 2:1.15.99.904-1
xserver-xorg-input-evdev [1:2.8.2-1+b1^installed], preferred: 1:2.8.2-1+b2

Leave the following dependencies unresolved:

user request: upgrade bzr
user request: upgrade python-bzrlib
user request: upgrade xserver-xorg-core
user request: upgrade xserver-xorg-input-evdev

Action summary:
  1 automatically installed packages will be installed
  2 manually installed and 2 automatically installed packages will be upgraded
  1 manually installed and 4 automatically installed packages will have a not preferred version
  4 dependency problems will stay unresolved

Need to get 0B/3076KiB of archives. After unpacking 2964KiB will be used.
Do you want to continue? [y/N/q/a/rc/?] Abandoned or no more solutions.


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

Kernel: Linux 3.14-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cupt depends on:
ii  libboost-program-options1.55.0  1.55.0+dfsg-2
ii  libc6                           2.19-5
ii  libcupt3-0                      2.8.1+b1
ii  libgcc1                         1:4.9.0-10
ii  libstdc++6                      4.9.0-10

cupt recommends no packages.

Versions of packages cupt suggests:
ii  libreadline6    6.3-6
ii  sensible-utils  0.0.9

-- no debconf information
-------------- next part --------------
D: started resolving
D: ignoring soft dependency relation: aptitude 0.6.11-1^installed: recommends 'aptitude-doc-en | aptitude-doc'
D: ignoring soft dependency relation: cifs-utils 2:6.3-1^installed: recommends 'winbind'
D: ignoring soft dependency relation: dkms 2.2.0.3-1.2^installed: recommends 'linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers'
D: ignoring soft dependency relation: dkms 2.2.0.3-1.2^installed: recommends 'linux-image'
D: ignoring soft dependency relation: dpkg-dev 1.17.10^installed: recommends 'libalgorithm-merge-perl'
D: ignoring soft dependency relation: fonts-deva-extra 3.0-2^installed: recommends 'fonts-gargi'
D: ignoring soft dependency relation: fonts-deva-extra 3.0-2^installed: recommends 'fonts-sarai'
D: ignoring soft dependency relation: gnupg 1.4.18-2^installed: recommends 'gnupg-curl'
D: ignoring soft dependency relation: grub-common 2.02~beta2-10^installed: recommends 'os-prober (>= 1.33)'
D: ignoring soft dependency relation: imagemagick 8:6.7.7.10+dfsg-4^installed: recommends 'ufraw-batch'
D: ignoring soft dependency relation: libgeoip1 1.6.2-1^installed: recommends 'geoip-database'
D: ignoring soft dependency relation: libgnomevfs2-0 1:2.24.4-6^installed: recommends 'libgnomevfs2-extra'
D: ignoring soft dependency relation: libkrb5-3 1.12.1+dfsg-3^installed: recommends 'krb5-locales'
D: ignoring soft dependency relation: libparse-debcontrol-perl 2.005-4^installed: recommends 'libtie-ixhash-perl'
D: ignoring soft dependency relation: libsane 1.0.24-1.1+b1^installed: recommends 'sane-utils (>= 1.0.24-1.1+b1)'
D: ignoring soft dependency relation: libuuid1 2.20.1-5.8^installed: recommends 'uuid-runtime'
D: ignoring soft dependency relation: libwrap0 7.6.q-25^installed: recommends 'tcpd'
D: ignoring soft dependency relation: virtualbox 4.3.12-dfsg-1^installed: recommends 'virtualbox-qt (= 4.3.12-dfsg-1)'
D: ignoring soft dependency relation: virtualbox 4.3.12-dfsg-1^installed: recommends 'libqt4-opengl (>= 4:4.5.3)'
D: ignoring soft dependency relation: virtualbox 4.3.12-dfsg-1^installed: recommends 'libqtgui4 (>= 4:4.5.3)'
D: ignoring soft dependency relation: xdg-utils 1.1.0~rc1+git20111210-7.1^installed: recommends 'libfile-mimeinfo-perl'
D: ignoring soft dependency relation: xdg-utils 1.1.0~rc1+git20111210-7.1^installed: recommends 'libnet-dbus-perl'
D: (0:0) problem (3:1): <user requests> <not installed>: custom: upgrade xserver-xorg-input-evdev
D: (0:0) -> (1,?:[uw=-460]) trying: '' -> 'unsatisfied custom: upgrade xserver-xorg-input-evdev'
D: (0:0) -> (2,?:[401v/u/pp=539]) trying: 'xserver-xorg-input-evdev 1:2.8.2-1+b1^installed' -> 'xserver-xorg-input-evdev 1:2.8.2-1+b2'
D: (0:0) -> (3,?:[101v/u/2pp=237]) trying: 'xserver-xorg-input-evdev 1:2.8.2-1+b1^installed' -> 'xserver-xorg-input-evdev 1:2.9.0-1'
D: (0:0) -> (4,?:[-200v/r/ra/3pp=-766]) trying: 'xserver-xorg-input-evdev 1:2.8.2-1+b1^installed' -> 'xserver-xorg-input-evdev <not installed>'
D:  (2:539) problem (5:2): xserver-xorg-input-evdev 1:2.8.2-1+b2: depends 'xserver-xorg-core (>= 2:1.15.99.903)'
D:   (2:539) -> (5,?:[401v/u=541]) trying: 'xserver-xorg-core 2:1.15.1-1^installed' -> 'xserver-xorg-core 2:1.15.99.904-1'
D:   (5:1080) problem (5:3): xserver-xorg-core 2:1.15.99.904-1: depends 'libepoxy0 (>= 1.0)'
D:    (5:1080) -> (6,?:[601v/a=636]) trying: 'libepoxy0 <not installed>' -> 'libepoxy0 1.2-1'
D:    (6:1716) problem (5:3): virtualbox-guest-x11 4.3.12-dfsg-1^installed: depends 'xorg-video-abi-15'
D:     (6:1716) -> (7,?:[-601v/r/ra=-1161]) trying: 'virtualbox-guest-x11 4.3.12-dfsg-1^installed' -> 'virtualbox-guest-x11 <not installed>'
D:     (7:555) problem (6:4): <user requests> <not installed>: custom: install virtualbox-guest-x11 | for package 'virtualbox-guest-x11'
D:     (7:555) no solutions
D:  (3:237) problem (5:2): xserver-xorg-input-evdev 1:2.9.0-1: depends 'xserver-xorg-core (>= 2:1.15.99.903)'
D:   (3:237) -> (8,?:[401v/u=541]) trying: 'xserver-xorg-core 2:1.15.1-1^installed' -> 'xserver-xorg-core 2:1.15.99.904-1'
D:   (8:778) problem (5:3): xserver-xorg-core 2:1.15.99.904-1: depends 'libepoxy0 (>= 1.0)'
D:    (8:778) -> (9,?:[601v/a=636]) trying: 'libepoxy0 <not installed>' -> 'libepoxy0 1.2-1'
D:    (9:1414) problem (5:3): virtualbox-guest-x11 4.3.12-dfsg-1^installed: depends 'xorg-video-abi-15'
D:     (9:1414) -> (10,?:[-601v/r/ra=-1161]) trying: 'virtualbox-guest-x11 4.3.12-dfsg-1^installed' -> 'virtualbox-guest-x11 <not installed>'
D:     (10:253) problem (6:4): <user requests> <not installed>: custom: install virtualbox-guest-x11 | for package 'virtualbox-guest-x11'
D:     (10:253) no solutions
D:  (1:-460) problem (3:1): <user requests> <not installed>: custom: upgrade xserver-xorg-core
D:  (1:-460) -> (11,?:[uw=-460]) trying: '' -> 'unsatisfied custom: upgrade xserver-xorg-core'
D:  (1:-460) -> (12,?:[401v/u/pp=539]) trying: 'xserver-xorg-core 2:1.15.1-1^installed' -> 'xserver-xorg-core 2:1.15.99.904-1'
D:  (1:-460) -> (13,?:[-200v/r/ra/2pp=-764]) trying: 'xserver-xorg-core 2:1.15.1-1^installed' -> 'xserver-xorg-core <not installed>'
D:   (12:79) problem (5:2): xserver-xorg-core 2:1.15.99.904-1: depends 'libepoxy0 (>= 1.0)'
D:    (12:79) -> (14,?:[601v/a=636]) trying: 'libepoxy0 <not installed>' -> 'libepoxy0 1.2-1'
D:    (14:715) problem (5:2): virtualbox-guest-x11 4.3.12-dfsg-1^installed: depends 'xorg-video-abi-15'
D:     (14:715) -> (15,?:[-601v/r/ra=-1161]) trying: 'virtualbox-guest-x11 4.3.12-dfsg-1^installed' -> 'virtualbox-guest-x11 <not installed>'
D:     (15:-446) problem (6:3): <user requests> <not installed>: custom: install virtualbox-guest-x11 | for package 'virtualbox-guest-x11'
D:     (15:-446) no solutions
D:  (4:-766) problem (5:2): xserver-xorg 1:7.7+7^installed: depends 'xserver-xorg-input-evdev'
D:   (4:-766) -> (16,?:[-601v/r/ra=-1161]) trying: 'xserver-xorg 1:7.7+7^installed' -> 'xserver-xorg <not installed>'
D:   (11:-920) problem (3:1): <user requests> <not installed>: custom: upgrade python-bzrlib
D:   (11:-920) -> (17,?:[uw=-460]) trying: '' -> 'unsatisfied custom: upgrade python-bzrlib'
D:   (11:-920) -> (18,?:[401v/u/pp=539]) trying: 'python-bzrlib 2.6.0+bzr6595-1^installed' -> 'python-bzrlib 2.6.0+bzr6595-2'
D:   (11:-920) -> (19,?:[-200v/r/ra/2pp=-764]) trying: 'python-bzrlib 2.6.0+bzr6595-1^installed' -> 'python-bzrlib <not installed>'
D:    (18:-381) problem (5:2): python-bzrlib 2.6.0+bzr6595-2: conflicts 'python-paramiko (>= 1.12.0)' [python-paramiko]
D:     (18:-381) -> (20,?:[-601v/r/ra=-1161]) trying: 'python-paramiko 1.14.0-2^installed' -> 'python-paramiko <not installed>'
D:   (13:-1224) problem (5:2): virtualbox-guest-x11 4.3.12-dfsg-1^installed: depends 'xorg-video-abi-15'
D:    (13:-1224) -> (21,?:[-601v/r/ra=-1161]) trying: 'virtualbox-guest-x11 4.3.12-dfsg-1^installed' -> 'virtualbox-guest-x11 <not installed>'
D:    (17:-1380) problem (3:1): <user requests> <not installed>: custom: upgrade libapt-pkg4.12
D:    (17:-1380) -> (22,?:[uw=-460]) trying: '' -> 'unsatisfied custom: upgrade libapt-pkg4.12'
D:    (17:-1380) -> (23,?:[401v/u/pp=539]) trying: 'libapt-pkg4.12 1.0.5^installed' -> 'libapt-pkg4.12 1.0.6'
D:    (17:-1380) -> (24,?:[-200v/r/ra/2pp=-764]) trying: 'libapt-pkg4.12 1.0.5^installed' -> 'libapt-pkg4.12 <not installed>'
D:     (23:-841) problem (3:1): <user requests> <not installed>: custom: upgrade libapt-inst1.5
D:     (23:-841) -> (25,?:[uw=-460]) trying: '' -> 'unsatisfied custom: upgrade libapt-inst1.5'
D:     (23:-841) -> (26,?:[401v/u/pp=539]) trying: 'libapt-inst1.5 1.0.5^installed' -> 'libapt-inst1.5 1.0.6'
D:     (23:-841) -> (27,?:[101v/u/2pp=237]) trying: 'libapt-inst1.5 1.0.5^installed' -> 'libapt-inst1.5 1.1~exp1'
D:     (23:-841) -> (28,?:[-200v/r/ra/3pp=-766]) trying: 'libapt-inst1.5 1.0.5^installed' -> 'libapt-inst1.5 <not installed>'
D:      (26:-302) problem (3:1): <user requests> <not installed>: custom: upgrade bzr
D:      (26:-302) -> (29,?:[uw=-460]) trying: '' -> 'unsatisfied custom: upgrade bzr'
D:      (26:-302) -> (30,?:[401v/u/pp=539]) trying: 'bzr 2.6.0+bzr6595-1^installed' -> 'bzr 2.6.0+bzr6595-2'
D:      (26:-302) -> (31,?:[-200v/r/2pp=-1964]) trying: 'bzr 2.6.0+bzr6595-1^installed' -> 'bzr <not installed>'
D:       (30:237) problem (5:2): bzr 2.6.0+bzr6595-2: depends 'python-bzrlib (>= 2.6.0+bzr6595-2)'
D:       (30:237) no solutions
D:      (27:-604) problem (5:2): libapt-inst1.5 1.1~exp1: depends 'libapt-pkg4.13 (>= 1.1~exp1)'
D:       (27:-604) -> (32,?:[301v/a=336]) trying: 'libapt-pkg4.13 <not installed>' -> 'libapt-pkg4.13 1.1~exp1'
D:       (32:-268) problem (3:1): <user requests> <not installed>: custom: upgrade bzr
D:       (32:-268) -> (33,?:[uw=-460]) trying: '' -> 'unsatisfied custom: upgrade bzr'
D:       (32:-268) -> (34,?:[401v/u/pp=539]) trying: 'bzr 2.6.0+bzr6595-1^installed' -> 'bzr 2.6.0+bzr6595-2'
D:       (32:-268) -> (35,?:[-200v/r/2pp=-1964]) trying: 'bzr 2.6.0+bzr6595-1^installed' -> 'bzr <not installed>'
D:        (34:271) problem (5:2): bzr 2.6.0+bzr6595-2: depends 'python-bzrlib (>= 2.6.0+bzr6595-2)'
D:        (34:271) no solutions
D:        (33:-728) problem (3:1): <user requests> <not installed>: custom: upgrade apt-utils
D:        (33:-728) -> (36,?:[uw=-460]) trying: '' -> 'unsatisfied custom: upgrade apt-utils'
D:        (33:-728) -> (37,?:[401v/u/pp=539]) trying: 'apt-utils 1.0.5^installed' -> 'apt-utils 1.0.6'
D:        (33:-728) -> (38,?:[101v/u/2pp=237]) trying: 'apt-utils 1.0.5^installed' -> 'apt-utils 1.1~exp1'
D:        (33:-728) -> (39,?:[-200v/r/3pp=-1966]) trying: 'apt-utils 1.0.5^installed' -> 'apt-utils <not installed>'
D:         (37:-189) problem (3:1): <user requests> <not installed>: custom: upgrade apt
D:         (37:-189) -> (40,?:[uw=-460]) trying: '' -> 'unsatisfied custom: upgrade apt'
D:         (37:-189) -> (41,?:[401v/u/pp=539]) trying: 'apt 1.0.5^installed' -> 'apt 1.0.6'
D:         (37:-189) -> (42,?:[101v/u/2pp=237]) trying: 'apt 1.0.5^installed' -> 'apt 1.1~exp1'
D:         (37:-189) -> (43,?:[-200v/r/3pp=-1966]) trying: 'apt 1.0.5^installed' -> 'apt <not installed>'
D:          (41:350) finished
D:          (41:350) proposing this solution
D: releasing lock '//var/lib/cupt/lock'


More information about the Cupt-devel mailing list