Provide a way for frontends to recalculate dependencies

Bug #927611 reported by karaluh on 2012-02-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
packagekit (Ubuntu)
Wishlist
Unassigned

Bug Description

Use case: I have updates for Firefox and 30 more packages. I would like to install them, but because I have Firefox open, Apper refuses to do the update, because Firefox doesn't like to be updated when running. Apper could deselect Firefox and continue the update, but because of dependencies, Firefox might end being selected again. What is needed is an api call for deselecting packages and it's dependencies from update list.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: packagekit 0.6.18-1 [modified: var/lib/PackageKit/transactions.db]
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
Uname: Linux 3.0.0-16-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Mon Feb 6 13:47:38 2012
ProcEnviron:
 LANGUAGE=pl_PL:pl:en_GB:en
 PATH=(custom, user)
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
SourcePackage: packagekit
UpgradeStatus: Upgraded to oneiric on 2011-10-18 (110 days ago)

karaluh (karaluh) wrote :
Matthias Klumpp (ximion) on 2012-03-14
Changed in packagekit (Ubuntu):
importance: Undecided → Wishlist
Matthias Klumpp (ximion) wrote :

You could manually deselect these packages again... The apropriate way for frontends is just to cancel the previous call and issue a new one without the package in question.
With a more recent PackageKit release, it will update Firefox even when it is running, so you shouldn't have problems with that partivular use-case anymore.

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

Other bug subscribers