cannot force a version of a package with dependencies, error message is misleading

Bug #433777 reported by Nonconventionally Creative
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Ubuntu 9.04
synaptic 0.62.5ubuntu3 from jaunty-updates

If Package A depends on a specific version of Package B, then
Choosing "Force Package version" on Package A will do nothing.
Choosing "Force Package version" on Package B will note that Package A must be up/downgraded, but:
trying to apply changes will give an empty list "NOT AUTHENTICATED" and then, on confirmation, display:
E: Unable to correct problems, you have held broken packages.
E: Unable to lock the download directory.
and all marked changes disappear.

Example packages: amarok depends on an equal version of amarok-common between jaunty and jaunty-backports.
This occurs whether for an upgrade or a downgrade.
For some packages, this can be worked-around by removing and then installing the desired version.

Revision history for this message
Victor Vargas (kamus) wrote :

sir, this was reassigned to package synaptic.

affects: ubuntu → synaptic (Ubuntu)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

Reproduced in lucid.

Changed in synaptic (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

to workaround it you need to first force the version of the dependencies then force the version of the package you want to install.
The error occurs when you directly force the version of the main package.
Synaptic tries to install the forced version but install the current version of the dependencies which failed because of version mismatch.

summary: - synaptic gives garbage message, crashes on forcing package version with
- dependencies
+ cannot force a version of a package with dependencies, error message is
+ misleading
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.