recover from broken yum transaction

Alexandre Oliva aoliva at redhat.com
Mon Sep 22 00:06:03 UTC 2008


On Sep 21, 2008, Bruno Wolff III <bruno at wolff.to> wrote:

> On Sun, Sep 21, 2008 at 17:55:40 -0300,
>   Alexandre Oliva <aoliva at redhat.com> wrote:
>> > On Sun, Sep 21, 2008 at 07:05:37 -0300,
>> >   Alexandre Oliva <aoliva at redhat.com> wrote:
>> 
>> I do.  But how do you propose to script that over 10+ (or 100+ :-)
>> boxes?

> If you are scripting it, shouldn't you be able to run yum not attached to
> any terminal?

That's exactly how I run it.  It knows it doesn't have a terminal, and
it doesn't print as much in terms of progress report as it does when
it's run in a terminal.  But it still prints messages once it installs
each package, and I redirect that to a file on the server.  Still, if
the server fails, yum stops installing packages, and then starts
removing packages that it had scheduled to remove in the transaction,
or something like that.

And then, again, you seem to be proposing work-arounds for what I
perceive as an actual problem.

Do you really not think there is a problem, or are you just trying to
be helpful to me?

My interest is not in work arounds, it's in addressing the actual
problem, if there's agreement that there is one, so that it doesn't
bite people who didn't know about the need for work arounds in the
first place.

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}
FSFLA Board Member       ¡Sé Libre! => http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}




More information about the fedora-devel-list mailing list