upgrade does not replace libjeg62-dev with libjpeg-turbo8-dev

Bug #940179 reported by Jean-Baptiste Lallement
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libjpeg8-empty (Ubuntu)
Fix Released
High
Martin Pitt
Precise
Fix Released
High
Martin Pitt

Bug Description

automated upgrade testing lucid to precise universe amd64 failed with
Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

https://jenkins.qa.ubuntu.com/job/precise-upgrade-lucid-universe/ARCH=amd64,LTS=lts,PROFILE=universe,label=upgrade-test/32/

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

This seems to be the root of it:

Investigating (0) libjpeg-turbo8-dev [ amd64 ] < none -> 1.1.90+svn733-0ubuntu4 > ( libdevel )
Broken libjpeg-turbo8-dev:amd64 Conflicts on libjpeg62-dev [ amd64 ] < 6b-15ubuntu1 -> 6b1-2ubuntu1 > ( libdevel )
  Considering libjpeg62-dev:amd64 0 as a solution to libjpeg-turbo8-dev:amd64 -1
  Holding Back libjpeg-turbo8-dev:amd64 rather than change libjpeg62-dev:amd64

Broken r-base-dev:amd64 Depends on libjpeg-dev [ amd64 ] < none > ( none )
  Considering libjpeg62-dev:amd64 235 as a solution to r-base-dev:amd64 37
  Removing r-base-dev:amd64 rather than change libjpeg-dev:amd64

I. e. we have packages that previously depended on libjpeg62-dev in oneiric/lucid, but now the upgrade pulls in libjpeg-turbo8-dev which Conflicts: libjpeg62-dev.

We could perhaps drop the Conflicts, or make it versioned, or add a Provides: libjpeg62-dev?

affects: update-manager (Ubuntu) → libjpeg-turbo (Ubuntu)
Changed in libjpeg-turbo (Ubuntu):
status: New → Triaged
Martin Pitt (pitti)
summary: - lucid->precise upgrade failed: pkgProblemResolver::Resolve generated
- breaks
+ upgrade does not replace libjeg62-dev with libjpeg-turbo8-dev
Revision history for this message
Martin Pitt (pitti) wrote :

Fix uploaded, we now build a real libjpeg-dev package to aid apt over the upgrade.

affects: libjpeg-turbo (Ubuntu Precise) → libjpeg8-empty (Ubuntu Precise)
Changed in libjpeg8-empty (Ubuntu Precise):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libjpeg8-empty - 8c-2ubuntu7

---------------
libjpeg8-empty (8c-2ubuntu7) precise; urgency=low

  * Build a real libjpeg-dev package, to fix upgrades from lucid/oneiric.
    Without this, apt rather holds back libjpeg62-dev instead of installing
    libjpeg-turbo8-dev. (LP: #940179)
 -- Martin Pitt <email address hidden> Mon, 27 Feb 2012 12:33:30 +0100

Changed in libjpeg8-empty (Ubuntu Precise):
status: Fix Committed → Fix Released
tags: added: regression-release
tags: removed: regression-release
Revision history for this message
Christian H (cyborg-x1) wrote :

I guess the current fix could be the reason I can't install the Robot Operating System (www.ros.org) binary packages for "oneiric" on Precise.

ROS package libopencv2.3 needs libjpeg62-dev and libtiff4-dev needs libjpeg8-dev, which needs libjpeg-turbo8-dev, which is conflicting libjpeg62-dev.

These three packages seem to be the only reason why it doesn't install the binary packages.

Revision history for this message
Florian Tobé (florian-tobe) wrote :

I opened a new Bug #1070168 that could be related because I have the same warning :

Les paquets suivants contiennent des dépendances non satisfaites :
 libjpeg-turbo8-dev : Est en conflit avec: libjpeg62-dev mais 6b1-2ubuntu2 devra être installé
E: Erreur, pkgProblemResolver::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.

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.