[Bug 1042231] Re: InstallPackageNames should not return until the package has been installed
Iain Lane
iain at orangesquash.org.uk
Mon Sep 24 16:34:57 UTC 2012
Uploaded. Thanks. If someone could fill in a Test Case in the
description it'd be helpful. I can't think of a good one.
** Changed in: sessioninstaller (Ubuntu Precise)
Status: In Progress => Triaged
** Changed in: sessioninstaller (Ubuntu Precise)
Importance: Undecided => High
** Changed in: sessioninstaller (Ubuntu Precise)
Assignee: Iain Lane (laney) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sessioninstaller in Ubuntu.
https://bugs.launchpad.net/bugs/1042231
Title:
InstallPackageNames should not return until the package has been
installed
Status in OEM Priority Project:
New
Status in Session Installer:
New
Status in “sessioninstaller” package in Ubuntu:
Fix Released
Status in “sessioninstaller” source package in Precise:
Triaged
Bug description:
[ Description ]
- Call the D-Bus method InstallPackageNames() to install some package
- You are prompted asking if you want to actually install this package, accept
- You are pompted asking for your admin pass, enter it
- The InstallPackageNames method returns and the package is being installed
This method should not return until the package has actually be
installed. That's the easiest way for the application to know that the
package is now ready to be used. That's also how it's implemented in
the official implementation of PackageKit.
[ Development fix ]
r132 in lp:sessioninstaller
[ SRU fix ]
identical
[ Test case ]
?
[ Regression potential ]
The most likely way this will break is to make the
InstallPackageNames() function return at an inappropriate time. Check
that it is synchronous, that it doesn't return until the package is
installed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1042231/+subscriptions
More information about the foundations-bugs
mailing list