[Bugs] #3065 UNSP: [sugar-client] Handle unfinished yum transactions
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Sat Dec 17 10:47:51 EST 2011
#3065: [sugar-client] Handle unfinished yum transactions
------------------------------------------+---------------------------------
Reporter: alsroot | Owner: alsroot
Type: defect | Status: closed
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar-server-kit | Version: Unspecified
Severity: Unspecified | Resolution: fixed
Keywords: | Distribution: Unspecified
Status_field: Unconfirmed |
------------------------------------------+---------------------------------
Changes (by alsroot):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:3 sridhar]:
> yum-complete-transaction won't rescue the RPM if the installation was
aborted when %post scripts are being executed. As far as the rpmdb is
concerned, all the files are there. We need to be careful when creating
RPMs to not rely too much on %post scripts, or have them short enough to
minimise the chance of their execution being interrupted.
In fact, we might miss bunch of possible installation related issues. But
not sure if it worth trying to solve all of them that might be
reproducible in testing environment (since the picture w/ installed rpms
should be the same on all of XOs, excluding cases when people attached new
repositories and installed new packages manually).
(For the dbus related issues in sugar-client itself, it should return true
for now, since dbus call is not critical in its %post).
> Also, we should inhibit system suspend while RPMs are being installed.
I've created #3279. And closing this one since it was originally only
about using yum-complete-transaction and it was fixed in SSK-1.1.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3065#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list