Fedora Linux Support Community & Resources Center
  #1  
Old 14th July 2008, 04:47 AM
kyuso Offline
Registered User
 
Join Date: Jul 2004
Posts: 212
graceful recovery from interrupted yum update

What is the best way to recover from interrupted yum update?

fglrx crashing X (it's another story why I coudn't use console to update) caused yum update to not fully finish.

Now I see that several packages have both old and new versions ('rpm -qa | sort'). Running 'yum update' again works from where it got interrupted, but doesn't clean up the packages it had been updating before it was interrupted.

Should I manually remove old packages one by one by hand? Is there a simpler way to do that instead?
Reply With Quote
  #2  
Old 14th July 2008, 04:53 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 7,074
Quote:
Should I manually remove old packages one by one by hand? Is there a simpler way to do that instead?
yum clean all
Reply With Quote
  #3  
Old 14th July 2008, 05:20 AM
kyuso Offline
Registered User
 
Join Date: Jul 2004
Posts: 212
I thought 'yum clean' only clean the rpm cache, not the actual installed packages.

Since I'm not familiar with the details of rpm, I may be incorrect, but the old packages seem to take up space, after 'yum update' is interrupted. And they don't seem to be related to rpm cache being cleaned.

Please advise.
Reply With Quote
  #4  
Old 14th July 2008, 07:27 AM
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 46
Posts: 4,167
Start your teminal:
Code:
yum clean all
yum makecache
rpm --rebuilddb
yum update
Does this work?
Reply With Quote
  #5  
Old 21st December 2010, 10:05 AM
kyuso Offline
Registered User
 
Join Date: Jul 2004
Posts: 212
linuxfedorafirefox
Re: graceful recovery from interrupted yum update

I now find that Fedora 14 has yum-complete-transaction and package-cleanup commands for this purpose. Great tools!
Reply With Quote
  #6  
Old 21st December 2010, 07:15 PM
DBelton Online
Administrator
 
Join Date: Aug 2009
Posts: 8,435
linuxfedorafirefox
Re: graceful recovery from interrupted yum update

actually, yum should have refused to run again when you tried, and told you to run yum-complete-transaction to finish the previous transaction.

Have they changed the way that yum works in this respect now?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Graceful downgrade path? mortamus Using Fedora 3 4th January 2008 03:03 AM
Updates interrupted rjspruill Installation, Upgrades and Live Media 2 18th October 2007 02:31 AM
Music (And other media?) interrupted WheelDweller Using Fedora 1 28th November 2005 06:55 AM
network interrupted hasek Servers & Networking 0 5th April 2005 08:52 PM


Current GMT-time: 17:23 (Saturday, 24-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat