yum appears to fail to complete updates if interrupted

Horst H. von Brand vonbrand at inf.utfsm.cl
Fri Aug 11 14:38:41 UTC 2006


Gerry Tool <gstool at earthlink.net> wrote:
> I was performing a yum update in FC5 when the system froze.  On
> reboot, I executed yum update again and it updated a partial list of
> the packages that were listed in the first attempt.  However, one of
> the packages in the original list, but not the second list was
> firefox, updating to 1.5.0.6.  After the update, my firefox is still
> at 1.5.0.4.  I have tried several things to get it to update, all
> unsuccessfully, including yum clean all followed by another update
> attempt, and downloading the package and using rpm.  That fails due to
> dependencies which apparently were also in the interrupted update.

I've had to kill -KILL (no reaction to -HUP and -TERM) yum for various
reasons, and sometimes it gets messed up in that it claims there are /no/
updates available (when there clearly are lots of them). Manually deleting
the files in the local staging areas clears this up when a "yum clean all"
doesn't:

  primary.xml.gz primary.xml.gz.sqlite cachecookie repomd.xml

I'm quite sure this is way overkill, but it works...
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513




More information about the test mailing list