dpkg should not "simplify" version numbers in dependencies

Bug #873435 reported by hcmeyer
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
dpkg (Debian)
Fix Released
Unknown
dpkg (Ubuntu)
Invalid
Low
Unassigned

Bug Description

libqwt-dev 6.0.0-1ubuntu1 shows as upgradeable, upgrading does not satisfy upgrade. Synaptic and apt-get upgrade show same.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libqwt-dev 6.0.0-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Thu Oct 13 11:48:43 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110919)
SourcePackage: qwt
UpgradeStatus: No upgrade log present (probably fresh install)

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qwt (Ubuntu):
status: New → Confirmed
Revision history for this message
theghost (theghost) wrote :

This error also occcurs on Ubuntu 11.10 x64.

theghost (theghost)
Changed in apt (Ubuntu):
status: New → Confirmed
Revision history for this message
theghost (theghost) wrote : Re: package libqwt-dev - failed to upgrade

Added package 'apt' as affected, merged another duplicate, changed title and added tag. Hopefully, this bug gets more attention now.

tags: added: apport-package
summary: - packaging error - recursive update
+ package libqwt-dev - failed to upgrade
Revision history for this message
David Kalnischkies (donkult) wrote :

This is caused by dpkg stripping the ending dash from the version number in the Replaces dependency.
Online is:
Replaces: libqwt5-qt4-dev (<< 6.0.0-)
After installation you have in dpkg/status:
Replaces: libqwt5-qt4-dev (<< 6.0.0)

APT therefore detects these two versions as different as they have different dependencies. Having the dash around doesn't make a lot of sense for libqwt-dev, but removing it in the status file isn't the nicest think which could be done by dpkg, too.
Either way, not really a bug in APT…

(qwt has a bugreport in debian for this, too: See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631816)

affects: apt (Ubuntu) → dpkg (Ubuntu)
Changed in dpkg (Ubuntu):
status: Confirmed → Incomplete
status: Incomplete → Fix Committed
Changed in qwt (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Hans Meine (hans-meine) wrote :

What does "Fix Committed" mean? (I still have this problem, and it's one week later now.)
I have no other pending updates; if this was fixed in dpkg, can we get an update for oneiric?

Revision history for this message
Raphaël Hertzog (hertzog) wrote :

It means someone changed the status without justification. This is a dpkg bug but a rather minor one.

dpkg simplifies some versions like "0:1.0" into "1.0" or "1.0-" into "1.0" but it should not do that to avoid the kind of problem described here.

Changed in dpkg (Ubuntu):
status: Fix Committed → Confirmed
summary: - package libqwt-dev - failed to upgrade
+ dpkg should not "simplify" version numbers in dependencies
Changed in qwt (Ubuntu):
status: Fix Committed → Confirmed
no longer affects: qwt (Ubuntu)
Revision history for this message
Raphaël Hertzog (hertzog) wrote :

Please use #900566 to track the problem on the qwt side. This bug is now for the dpkg side of the problem.

Changed in dpkg (Ubuntu):
importance: Undecided → Low
Changed in dpkg (Debian):
status: Unknown → New
Changed in dpkg (Debian):
status: New → Fix Released
Revision history for this message
Ken Sharp (kennybobs) wrote :

Is there any update on this? The qwt bug was fixed over a year ago.

Changed in dpkg (Ubuntu):
status: Confirmed → Incomplete
Changed in dpkg (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
dino99 (9d9) wrote :

That version is no more supported

Changed in dpkg (Ubuntu):
status: Triaged → Invalid
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.