Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#662027: cupt: Unable to handle libgphoto2-2 upgrade

1 view
Skip to first unread message

James McCoy

unread,
Mar 3, 2012, 1:10:02 PM3/3/12
to
Package: cupt
Version: 2.4.0
Severity: normal

libgphoto2-2 recently changed from having a "libgd2-noxpm | libgd2-xpm"
Depends to just "libgd2-xpm". cupt won't remove libgd2-noxpm and install
libgd2-xpm to upgrade libgphoto2-2.

$ sudo cupt full-upgrade -o debug::resolver=1
[sudo] password for jamessan:
Building the package cache...
Initializing package resolver and worker...
Scheduling requested actions...
D: install package 'libgphoto2-2', version '2.4.13-1'
Resolving possible unmet dependencies...
D: started resolving
D: (0:0) problem (3:0): libgphoto2-2 2.4.13-1: depends 'libgd2-xpm (>= 2.0.36~rc1~dfsg)'
D: (0:0) -> (1,Δ:[v/a=36]) trying: 'libgd2-xpm <not installed>' -> 'libgd2-xpm 2.0.36~rc1~dfsg-6'
D: (0:0) -> (2,Δ:[-401v/d/2pp=-1165]) trying: 'libgphoto2-2 2.4.13-1' -> 'libgphoto2-2 2.4.11-4'
D: (0:0) -> (3,Δ:[-1v/r/pp=-1463]) trying: 'libgphoto2-2 2.4.13-1' -> 'libgphoto2-2 <not installed>'
D: (1:36) problem (3:1): libgd2-noxpm 2.0.36~rc1~dfsg-6: conflicts 'libgd2-xpm' [libgd2-xpm]
D: (1:36) -> (1,Δ:[-1v/r=-1461]) trying: 'libgd2-noxpm 2.0.36~rc1~dfsg-6' -> 'libgd2-noxpm <not installed>'
D: (1:-1425) finished
D: (2:-1165) finished
D: (2:-1165) proposing this solution

The following packages will have a not preferred version:

libgphoto2-2

Nothing to do.
$ cupt show --all-versions libgphoto2-2 | egrep '^(Version|Depends)'
Version: 2.4.11-4
Depends: libc6 (>= 2.11), libexif12, libgd2-noxpm (>= 2.0.36~rc1~dfsg) | libgd2-xpm (>= 2.0.36~rc1~dfsg), libgphoto2-port0 (>= 2.4.10.1), libjpeg8 (>= 8c), libltdl7 (>= 2.4.2), adduser
Version: 2.4.13-1
Depends: libc6 (>= 2.11), libexif12, libgd2-xpm (>= 2.0.36~rc1~dfsg), libgphoto2-port0 (>= 2.4.10.1), libjpeg8 (>= 8c), libltdl7 (>= 2.4.2), adduser
$ cupt show libgd2-xpm libgd2-noxpm | egrep '^(Package|Provides|Conflicts)'
Package: libgd2-xpm
Conflicts: libgd2, libgd2-noxpm
Provides: libgd2
Package: libgd2-noxpm
Conflicts: libgd2, libgd2-xpm
Provides: libgd2

-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/8 CPU cores)
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.46.1 1.46.1-8
ii libc6 2.13-27
ii libcupt2-0 2.4.0
ii libgcc1 1:4.6.3-1
ii libstdc++6 4.6.3-1

cupt recommends no packages.

Versions of packages cupt suggests:
ii libreadline6 6.2-8
ii sensible-utils 0.0.6

-- no debconf information



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

Eugene V. Lyubimkin

unread,
Mar 3, 2012, 2:00:02 PM3/3/12
to
tags 662027 + confirmed
quit

On 2012-03-03 12:56, James McCoy wrote:
> libgphoto2-2 recently changed from having a "libgd2-noxpm | libgd2-xpm"
> Depends to just "libgd2-xpm". cupt won't remove libgd2-noxpm and install
> libgd2-xpm to upgrade libgphoto2-2.
[...]
> The following packages will have a not preferred version:
>
> libgphoto2-2
>
> Nothing to do.

Indeed. Reproduced. Thank you for the report. The scoring system
will be adjusted to fix this.

As a temporary solution you can increase the "upgrade agressiveness" by
lowering the value of the 'cupt::resolver::score::downgrade' option.
Say, to -1200 or even -1500. Some lowering will probably be a part of
the "official" fix.

--
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Developer
0 new messages