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
On Thursday 10 August 2006 14:04, 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?
what does a simple rpm -q firefox show? It is possible that the update did the first part, install the new package, but froze before the second part, remove old package. You could in effect have both installed.
Jesse Keating wrote:
On Thursday 10 August 2006 14:04, 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?
what does a simple rpm -q firefox show? It is possible that the update did the first part, install the new package, but froze before the second part, remove old package. You could in effect have both installed.
[root@gstpc-fc4 openvpn]# rpm -q firefox firefox-1.5.0.4-1.2.fc5
-----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
for f in `rpm -q firefox`;do rpm -e --nodeps $f; done
4. yum install firefox
Kevin - -- Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=7574690260641978351
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
yum clean all
rpm -q firefox
if this gives you more than 1 result then do this
[root@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@gstpc-fc4 openvpn]# rpm -q firefox firefox-1.5.0.4-1.2.fc5
Gerry
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
yum clean all
rpm -q firefox
if this gives you more than 1 result then do this
[root@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@gstpc-fc4 openvpn]# rpm -q firefox firefox-1.5.0.4-1.2.fc5
Gerry
A subsequent yum install firefox updated it. [root@gstpc-fc4 ~]# rpm -q firefox firefox-1.5.0.6-2.fc5
Thanks for your replies, Jesse and Kevin.
Gerry
Gerry Tool gstool@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...
On Fri, 2006-08-11 at 10:38 -0400, Horst H. von Brand wrote:
Gerry Tool gstool@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...
Hmmm, yum has quite a lot to do and it can often take some time. As a result, it isn't unheard of for a crash (or similar) while yum is doing it's work.
I can't help but wonder if yum doesn't need some sort of auditing that would allow yum to recover cleanly from these sorts of situations.
Yum seems to follow a clean line of events.
1. Download information about updates 2. Download update rpms
(at this point a failure in yum isn't likely to cause any issues, restart yum and it should pick up where it left off. The only thing I have seen is that yum doesn't realize that the package currently being downloaded isn't all there and as a result it fails. Maybe it needs to check the shasum of packages that are already cached to see if they are complete.)
3. Figure out the best order to install updates 4. Install updates 5. Remove older packages 6. Ta Da.
I know this is a little vague, but if this rough view of how it works is close enough, then a list of things that need to be done during the critical install/remove stage could be made and then verified as they are completed. By doing this, yum could realize that it failed to complete an update last time it was run and attempt to resume at the point when it failed.
Does this sound like something that should be BZ'ed as a enhancement?
Or maybe I'm on crack ;-]
R..