yum appears to fail to complete updates if interrupted - solved

Gerry Tool gstool at earthlink.net
Thu Aug 10 19:13:07 UTC 2006


Gerry Tool wrote:
> Kevin DeKorte wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Gerry Tool 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.
>>>
>>> Is there some way to clear this up so the failed updates will proceed?
>>>
>>> Thanks.
>>>
>>> Gerry
>>>
>>
>> Couple of things you can do... all as root
>>
>> 1. yum clean all
>>
>> 2. rpm -q firefox
>>     
>> 3. if this gives you more than 1 result then do this
> [root at gstpc-fc4 openvpn]# yum clean all
> Loading "installonlyn" plugin
> Cleaning up Everything
> 0 headers removed
> 0 packages removed
> 15 metadata files removed
> 0 cache files removed
> 5 cache files removed
> [root at gstpc-fc4 openvpn]# rpm -q firefox
> firefox-1.5.0.4-1.2.fc5
> 
> Gerry
> 
A subsequent yum install firefox updated it.
[root at gstpc-fc4 ~]# rpm -q firefox
firefox-1.5.0.6-2.fc5

Thanks for your replies, Jesse and Kevin.

Gerry





More information about the fedora-test-list mailing list