Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-06-2008, 02:31 PM   #1
Registered: Sep 2007
Posts: 84

Rep: Reputation: 15
Clearing the yum update list

Hi, all,

I need to do a reinstall of the Fedora Core 8 OS. I've got good backups of /etc, /var, and /home that I can easily restore after the install. However, I suspect that after restoring those directories I'll have yum thinking I'm up to date, but some of the updated files will be missing (because I'm not restoring /usr, or /, you see.)

So, what I want to know is, how can I tell yum that it doesn't have ANY of the updates for the packages I've applied, so it will go ahead and bring everything up to date after I've restored the key parts of my system? I figure if I do that, I can restore the directories I have backed up, then run a huge "yum update" and I'll be back in business.

Thanks in advance.

Phil W.
Old 07-06-2008, 04:08 PM   #2
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,402
Blog Entries: 1

Rep: Reputation: 65
My advice is not to restore "/var/cache/yum". Leave it as is, with the files from the re-installation.

A "yum update" will work fine, as it would after a normal installation.

Restoring "/var/cache/yum" will make the full update impossible (ok, nothing is impossible, let say then just very difficult), since the metadata was restored from the point of backup;


fedora, reinstall, update, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-03-2010 12:42 AM
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 03:03 AM
Clearing YAST update list? bizshop SUSE / openSUSE 3 03-06-2006 10:01 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 01:48 PM
Clearing Recent Doc List b_suny Linux - Software 0 05-14-2004 02:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration