Inconsistent package state error message is misleading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aptdaemon |
Fix Released
|
Medium
|
Unassigned | ||
software-center (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Ubuntu Software Center 2.1.18, Ubuntu Maverick
Ubuntu Software Center 5.4.1.2, Ubuntu 12.10
Based on test case <https:/
1. sudo apt-get install 4g8 && sudo dpkg --force-depends -r libnet1
2. Launch Ubuntu Software Center.
(When finished testing, reset if necessary with "sudo apt-get remove 4g8 libnet1".)
What happens: An alert appears, "Items cannot be installed or removed until the package catalog is repaired. Do you want to repair it now?" "Once Update Manager has finished the repairs, you can close it and return to the store." (Or in later versions, "the Software Center" [sic]).
What should happen: "If software can’t be installed because existing software has broken or unsatisfied dependencies, a confirmation alert should appear. It should have primary text 'New software can’t be installed, because there is a problem with the software currently installed. Do you want to repair this problem now?'"
Related branches
- Michael Vogt: Approve
-
Diff: 28 lines (+4/-4)1 file modifieddata/ui/gtk3/dialogs.ui (+4/-4)
Changed in software-center (Ubuntu): | |
milestone: | none → later |
importance: | Undecided → Low |
Changed in aptdaemon: | |
status: | New → Opinion |
Changed in aptdaemon: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in software-center (Ubuntu): | |
importance: | Low → Medium |
milestone: | later → none |
status: | New → Triaged |
description: | updated |
description: | updated |
Changed in software-center (Ubuntu): | |
status: | Triaged → Confirmed |
assignee: | nobody → Matthew Paul Thomas (mpt) |
Changed in aptdaemon: | |
status: | Confirmed → In Progress |
Changed in aptdaemon: | |
status: | In Progress → Confirmed |
Talking about rebuilding here is incorrect. Additional software need to be installed or removed. This is not just a rebuild. The resolver of apt isn't always perfect and people like to mix repositories - so this action could result in removing or installing a large amount of packages. In the end you would also need a dependency confirmation dialog here. Otherwise you risk breaking the system of the user silently.