[master] upgrade problem with libcupsys2: "E:Error, pkgProblemResolver::Resolve generated breaks"

Bug #874835 reported by Michael Vogt
154
This bug affects 29 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Fix Released
High
Michael Vogt
Oneiric
Fix Released
Undecided
Michael Vogt
update-manager (Ubuntu)
Invalid
High
Unassigned
Oneiric
Invalid
High
Unassigned

Bug Description

On a amd64 natty->oneirc upgrade with libcupsys2 installed the upgrade will not work, attached is a apt.log and the dpkg status file.

TEST CASE:
1. use AMD64 natty THROWAWAY VM (as the next step will put any real system into a really unmaintainable state)
2. either use the dpkg-status file attached here via "sudo cp dpkg-status /var/lib/dpkg/status" OR just copy/paste the libcupsys2 package record from the file
3. run do-release-upgrade
4. verify that it fails
5. enable natty-proposed in your /etc/apt/sources.list
6. run "do-release-upgrade" again and verify that it works this time

Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :
summary: - [master] upgrade problemwith libcupsys2
+ [master] upgrade problemwith libcupsys2: "E:Error,
+ pkgProblemResolver::Resolve generated breaks"
Changed in update-manager (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Michael Vogt (mvo) wrote : Re: [master] upgrade problemwith libcupsys2: "E:Error, pkgProblemResolver::Resolve generated breaks"

The workaround is to remove the package "libcupsys2" that is no longer needed and replaced with licups2.

Changed in update-manager (Ubuntu Oneiric):
status: New → Confirmed
importance: Undecided → High
Andy Whitcroft (apw)
summary: - [master] upgrade problemwith libcupsys2: "E:Error,
+ [master] upgrade problem with libcupsys2: "E:Error,
pkgProblemResolver::Resolve generated breaks"
Revision history for this message
Michael Vogt (mvo) wrote :

So one way of fixing it is to remove the "Provides: libcupsys2" from libcups2, that will ensure that the upgrade continues. If we add a old fashioned transitional package that will ensure it keeps working.

Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

I uploaded a slightly different version that does not use a transitional pacakge but instead simply conflicts/provides/replaces and that is doing the trick for me in my test-setup.

Changed in cups (Ubuntu):
importance: Undecided → High
status: New → In Progress
Changed in cups (Ubuntu Oneiric):
status: New → In Progress
Changed in cups (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
Changed in cups (Ubuntu Oneiric):
assignee: nobody → Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
status: Confirmed → Invalid
Changed in update-manager (Ubuntu Oneiric):
status: Confirmed → Invalid
Michael Vogt (mvo)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

I committed the change to the Debian bzr, so the next sync to precise will have it.

Changed in cups (Ubuntu):
status: In Progress → Fix Committed
Changed in cups (Ubuntu Oneiric):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Michael, or anyone else affected,

Accepted cups into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups - 1.5.0-9

---------------
cups (1.5.0-9) unstable; urgency=low

  [ Till Kamppeter ]
  * debian/patches/do-not-suppress-inputslot-setting-with-empty-ap-d-inputslot.patch:
    CUPS adds the option setting "AP_D_InputSlot=" to every job. This overrides
    the InputSlot option and so the InputSlot setting and even the default
    setting for InputSlot in the PPD get never used, rendering InputSlot
    useless (LP: #872527).
  * debian/patches/cups-avahi.patch: Updated patch from upstream (Red Hat)
    to fix crashes of the CUPS daemon when using the timeout function call
    functionality (LP: #860691, LP: #860498).

  [ Martin Pitt ]
  * debian/local/apparmor-profile: Also allow cups to map libraries under
    /usr/local/. (LP: #860765)
  * cups-avahi.patch: Make sure to guard against retrying the Avahi connection
    whilst already doing so. Thanks to Tim Waugh for the patch! (LP: #877967)

  [ Michael Vogt ]
  * debian/control: Add Conflicts/Replaces: libcupsys2 to ensure that the apt
    resolver can calculate the upgrade in a multiarch scenario where a old
    libcupsys2 package is installed (LP: #874835)
 -- Martin Pitt <email address hidden> Wed, 19 Oct 2011 14:57:50 +0200

Changed in cups (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Ernest Barker (erbarker) wrote :

I think nspluginwrapper was my problem. I had a canon mp600 printer install that I used a i386 configuration script to install, that included installing a nspluginwrapper that I don' t know the source of. I had a system that was working fine, then I tried to upgrade that didn't work. I did a clean install not I have a system that is highly unstable. I am going back to 11.04. I may try to upgrade again in a few months. If I still have problems I am going back to Fedora.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Oneiric:
I have reproduced the problem with cups 1.5.0-8ubuntu2 in oneiric-updates and have verified that the version of cups 1.5.0-8ubuntu3 in -proposed fixes the issue.

Marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups - 1.5.0-8ubuntu3

---------------
cups (1.5.0-8ubuntu3) oneiric-proposed; urgency=low

  * debian/control:
    - properly Provides/Conflicts/Replaces: libcupsys2 to ensure that
      the apt resolver can calculate the upgrade in a multiarch scenario
      where a old libcupsys2 package is installed (LP: #874835)
 -- Michael Vogt <email address hidden> Wed, 19 Oct 2011 10:45:43 +0200

Changed in cups (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Krzysztof Dryja (cih997) wrote :

Hi, I want to upgrade from 11.04 to 11.10. I think I have the same issue. As I read, resolution of the problem is to install cups 1.5.0-8ubuntu3. How can I install cups 1.5.0-8ubuntu3 on 11.04 amd64? I enabled natty-proposed but newest available version is cups 1.4.6-5ubuntu1.4. Thx in advance.

Revision history for this message
Audun Hansen (audunlea) wrote : Re: [Bug 874835] Re: [master] upgrade problem with libcupsys2: "E:Error, pkgProblemResolver::Resolve generated breaks"

Hi!

It seems like ubuntu has updated central packages. A week after I got the sollution, I just reexecuted the upgrade process and it installed ok.

Some mismatch with my printer driver for my multi function Canon printer as result, but I haven't tried to fix it.

Good luck with Your upgrade!

--
Med vennlig hilsen / Best regards
Audun Lea Hansen

Den 8. nov. 2011 kl. 22:08 skrev cih997 <email address hidden>:

> Hi, I want to upgrade from 11.04 to 11.10. I think I have the same
> issue. As I read, resolution of the problem is to install cups
> 1.5.0-8ubuntu3. How can I install cups 1.5.0-8ubuntu3 on 11.04 amd64? I
> enabled natty-proposed but newest available version is cups
> 1.4.6-5ubuntu1.4. Thx in advance.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (878107).
> https://bugs.launchpad.net/bugs/874835
>
> Title:
> [master] upgrade problem with libcupsys2: "E:Error,
> pkgProblemResolver::Resolve generated breaks"
>
> Status in “cups” package in Ubuntu:
> Fix Released
> Status in “update-manager” package in Ubuntu:
> Invalid
> Status in “cups” source package in Oneiric:
> Fix Released
> Status in “update-manager” source package in Oneiric:
> Invalid
>
> Bug description:
> On a amd64 natty->oneirc upgrade with libcupsys2 installed the upgrade
> will not work, attached is a apt.log and the dpkg status file.
>
> TEST CASE:
> 1. use AMD64 natty THROWAWAY VM (as the next step will put any real system into a really unmaintainable state)
> 2. either use the dpkg-status file attached here via "sudo cp dpkg-status /var/lib/dpkg/status" OR just copy/paste the libcupsys2 package record from the file
> 3. run do-release-upgrade
> 4. verify that it fails
> 5. enable natty-proposed in your /etc/apt/sources.list
> 6. run "do-release-upgrade" again and verify that it works this time
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/874835/+subscriptions
>

Revision history for this message
Oded Sela (shmany) wrote :
Download full text (3.6 KiB)

I may jumped the gun, but since that I needed the machine urgently for work, and since that at some point my gnome didnt work. i moved to 32 bit. Ubuntu is running okay now it recognized all of my 8gig ram and most of the problems are gone.

On Nov 10, 2011, at 1:10 PM, Audun Hansen <email address hidden> wrote:

> Hi!
>
> It seems like ubuntu has updated central packages. A week after I got
> the sollution, I just reexecuted the upgrade process and it installed
> ok.
>
> Some mismatch with my printer driver for my multi function Canon printer
> as result, but I haven't tried to fix it.
>
> Good luck with Your upgrade!
>
> --
> Med vennlig hilsen / Best regards
> Audun Lea Hansen
>
> Den 8. nov. 2011 kl. 22:08 skrev cih997 <email address hidden>:
>
>> Hi, I want to upgrade from 11.04 to 11.10. I think I have the same
>> issue. As I read, resolution of the problem is to install cups
>> 1.5.0-8ubuntu3. How can I install cups 1.5.0-8ubuntu3 on 11.04 amd64? I
>> enabled natty-proposed but newest available version is cups
>> 1.4.6-5ubuntu1.4. Thx in advance.
>>
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (878107).
>> https://bugs.launchpad.net/bugs/874835
>>
>> Title:
>> [master] upgrade problem with libcupsys2: "E:Error,
>> pkgProblemResolver::Resolve generated breaks"
>>
>> Status in “cups” package in Ubuntu:
>> Fix Released
>> Status in “update-manager” package in Ubuntu:
>> Invalid
>> Status in “cups” source package in Oneiric:
>> Fix Released
>> Status in “update-manager” source package in Oneiric:
>> Invalid
>>
>> Bug description:
>> On a amd64 natty->oneirc upgrade with libcupsys2 installed the upgrade
>> will not work, attached is a apt.log and the dpkg status file.
>>
>> TEST CASE:
>> 1. use AMD64 natty THROWAWAY VM (as the next step will put any real system into a really unmaintainable state)
>> 2. either use the dpkg-status file attached here via "sudo cp dpkg-status /var/lib/dpkg/status" OR just copy/paste the libcupsys2 package record from the file
>> 3. run do-release-upgrade
>> 4. verify that it fails
>> 5. enable natty-proposed in your /etc/apt/sources.list
>> 6. run "do-release-upgrade" again and verify that it works this time
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/874835/+subscriptions
>>
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (876334).
> https://bugs.launchpad.net/bugs/874835
>
> Title:
> [master] upgrade problem with libcupsys2: "E:Error,
> pkgProblemResolver::Resolve generated breaks"
>
> Status in “cups” package in Ubuntu:
> Fix Released
> Status in “update-manager” package in Ubuntu:
> Invalid
> Status in “cups” source package in Oneiric:
> Fix Released
> Status in “update-manager” source package in Oneiric:
> Invalid
>
> Bug description:
> On a amd64 natty->oneirc upgrade with libcupsys2 installed the upgrade
> will not work, attached is a apt.log and the dpkg status file.
>
> TEST CASE:
> 1. use AMD64 natty THROWAWAY VM (as the next step will put any real system into a really unmaintainable state)
> ...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.