Re: recover from broken yum transaction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux