recover from broken yum transaction
seth vidal
skvidal at fedoraproject.org
Tue Sep 23 12:10:54 UTC 2008
On Tue, 2008-09-23 at 12:03 +0300, Panu Matilainen wrote:
> > The above really isn't possible. If you can recreate this then please
> > file a bug. File the bug against rpm but please cc me on it.
>
> I wouldn't call it impossible, in fact I just managed to reproduce it with
> this:
You're right - I should have said 'shouldn't be possible'. Not isn't
possible.
> Without having yet looked deeper into it, it probably comes down to this
> in rpmtsRun():
> /*
> * XXX This has always been a hack, now mostly broken.
> * If install failed, then we shouldn't erase.
> */
>
That's a nice fixme to have. :)
> The hack in question is easily fooled, and so rpm is ultimately
> responsible for the damage that results from yum code tracebacking in the
> transaction callback. Rpm needs fixing (I'll go look into it right now),
> but I'd suggest you go and comb through the ts callback code in yum - you
> do NOT want it tracebacking, especially on "trivial" things like
> sys.stdout operations failing.
I'll look into it, thanks,
-sv
More information about the fedora-devel-list
mailing list