LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2008, 06:26 PM   #1
aus-city
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
Fedora left over packages help


I recently upgraded from fedora 9 to 10 using preupgrade. No issues it's all running great. I decided to run rpm -qa | grep fc9 and found maybe 100 odd fc9 packages.

I have spot checked some and it's basically the packages are available in f10 but most are just little older (like 1.2-1 where my f9 package is 1.2-3)

So to do this manually would be bad.

Is there a way to do it with a script and use rpm -Uvh --oldpackage to roll them onto f10?

I don't mind even a script simply downloading from the list of fc9 leftovers into a directory I can simply rpm -Uvh --oldpackage *.rpm

I just want to avoid manually downloading packages one at a time.

Help greatly appreciated!

Last edited by aus-city; 11-27-2008 at 06:33 PM.
 
Old 11-28-2008, 11:31 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Use yum-complete-transaction utility from yum-utils.

or use "package-cleanup --cleandupes"

install yum-utils first
 
Old 11-28-2008, 11:36 AM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
This is only one of the reasons they strongly suggest a fresh install. With the number of regular packages that got missed and are still the F9 versions, imagine the number of config files that are still using the F9 version. Most of these config files will function with the older versions (some will not) but very few will function optimum fashion. I do fresh installs for people who have done yum upgrades that are having screwy problems or the system is running just a tad slow. In almost every instance the problems just go away and they are usually shocked at how much faster the system runs (generally each version of Fedora runs faster than the previous).

You can try something along the lines of: yum list *fc9

If you were to try a yum update *fc9 I suspect it would do nothing (but worth a check). Yum remove *fc9 would probably just bork the system. The problem is that you really need to do two operation at once (remove fc9 package which is newer than the fc10 package you are trying to replace, and then install the fc10 package). For some stuff (say FF) that is no big deal(system does not need this to run) but for packages that are necessary for the system you are stuck. Basically I see two choices : Do a fresh install or use yummex (or similar) to switch the packages manually. While you could probably write a script, by the time you debugged it you could have accomplished either of the other solutions listed above twice and there would be no guarantee that it would work when transitioning to the next version.

edit: I take to long to type. I doubt either of amani's suggestions will do anything in this case, but they are definitely worth a try. If they do work PLEASE report this back.

Last edited by lazlow; 11-28-2008 at 11:39 AM.
 
Old 11-30-2008, 05:17 PM   #4
aus-city
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the replies! It's all fixed! I simply rpm queried all f9 packages installed and dumped to a f9 file. I then dumped a list of f10 packages from the repos and then cross rsferenxed the files to show only same packages. To my joy found only 6 so I just got them and rpm --oldpackage and fixed!

There are a ton of f9 packages in the f10 repos so it's not that bad and as I found the packages preupgrade did not use f10 versions was stuff I got from Komi

So preupgrade works damn well. I done it now to 7 machines all floorless
 
Old 12-01-2008, 12:11 AM   #5
shamraiziqbal
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
hello to all
 
  


Reply



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
scroll left goes right and right goes left adamruss Linux - Hardware 2 08-17-2007 11:31 AM
Updating Fedora 6 packages installs second version of Fedora. cricballa Linux - Distributions 1 01-14-2007 09:05 PM
Fedora 5 packages metallica1973 Fedora 5 07-31-2006 11:18 AM
one inch black bar on left of screen after exiting UT in Fedora Core 3. dr_zayus69 Linux - Software 0 01-14-2005 07:22 PM
Fedora core 3 and left-handed mouse huxley Linux - Hardware 6 01-01-2005 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:23 PM.

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