LinuxQuestions.org
Visit Jeremy's Blog.
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 03-25-2008, 08:16 PM   #1
brisbin33
Member
 
Registered: Oct 2007
Location: boston, ma
Distribution: fedora, ubuntu, slack, arch
Posts: 30

Rep: Reputation: 15
Dependency Problems in Fedora 8


just today i started getting errors resolving dependencies when using Add/Remove and Software Updater. the dependencies it's telling me i need are as follows:

libkdecorations.so.1
libdvdread.so.3
fedora-release = 8
kdemultimedia3 >= 3.5.8

however, all of these are in fact installed on my system already

i have been googling a bit, and i fear i unknowingly fell into the freshrpms/livna conflict from hell. i needed livna for my nVidia driver and i guess freshrpms was a default repo with my fedora install... lesson learned i suppose. any thoughts on if this is the actual problem and if so, how do i fix it. i reaaaaally don't want to reinstall my system.

let me know if there are any logs i should post if it would help.

thanks in advance,
pat
 
Old 03-26-2008, 05:23 AM   #2
BlueC
Member
 
Registered: Aug 2007
Posts: 122

Rep: Reputation: 17
I think you guessed right - you've got conflicting repos!

Please post the output of "yum repolist"

FreshRPMs is not a default repo for F8 so you must have installed it. I would never advise to have FreshRPMs enabled because it WILL cause dependency issues if you have livna or another 3rd party repo also enabled.

As you need livna for your nvidia drivers and livna is quite a safe repo for F8, I would keep livna enabled and disable FreshRPMs. If you ever need to download anything from freshrpms you can do so with the "--enablerepo" switch in yum.
 
Old 03-26-2008, 07:02 AM   #3
brisbin33
Member
 
Registered: Oct 2007
Location: boston, ma
Distribution: fedora, ubuntu, slack, arch
Posts: 30

Original Poster
Rep: Reputation: 15
thanks for the reply, ill post yum repolist tonight when i get home

if i go into add/remove and choose edit>>repositories and go to delete freshrpms it gives me a scary looking warning; i assume i couldn't make it any worse, would it be a good idea to delete that entirely (i un-ticked its box a week ago)?

is there an easy way to delete anything i've gotten from freshrpms and redownload as needed from livna to try and resolve the conflicting dependencies?

thanks
 
Old 03-26-2008, 09:13 AM   #4
BlueC
Member
 
Registered: Aug 2007
Posts: 122

Rep: Reputation: 17
Quote:
Originally Posted by brisbin33 View Post
if i go into add/remove and choose edit>>repositories and go to delete freshrpms it gives me a scary looking warning; i assume i couldn't make it any worse, would it be a good idea to delete that entirely (i un-ticked its box a week ago)?
No, I wouldn't delete it entirely, just make sure it is marked as not active (disabled).

Alternatively, if you don't mind having the FreshRPMs packages replacing some of the official Fedora packages then re-enable the FreshRPMs repo and I would imagine it *might* fix your dependency problems (it might also make it worse!). Personally, I wouldn't want the FreshRPMs stuff on my machine except for a few specific packages, so I wouldn't go down that route.

Quote:
is there an easy way to delete anything i've gotten from freshrpms and redownload as needed from livna to try and resolve the conflicting dependencies?
There is no particularly easy way to get your system back to having no freshrpms stuff installed and its gonna depend on just how many FreshRPM packages have been installed. The process I would use would be something along these lines...

1) Ensure the freshrpms repo is not enabled and that *only* the fedora, updates, and livna repos are enabled. Confirm this with "yum repolist" and you should get an output similar to this (yours may be i386 or whatever):

Code:
repo id              repo name                                 status
fedora               Fedora 8 - x86_64                         enabled
livna                Livna for Fedora Core 8 - x86_64 - Base   enabled
updates              Fedora 8 - x86_64 - Updates               enabled
2) Do "package-cleanup --orphans" this will list any packages installed that are not available from the currently enabled repos. i.e. this should list all the packages that you previously installed from freshrpms.

3) Analyse the output of the above command and...
a) If there are many many orphaned packages and some of them are core system packages then its going to be difficult to "downgrade" them all back to the standard fedora packages. You couldn't just delete them and reinstall them because the dependencies involved would probably mean crippling your whole system. I guess you'd have to grab the relevant RPMs from the fedora mirrors and use the command "rpm -iVh whatever.rpm --oldpackage" to force it to install the standard fedora packages.
b) If there are just a few orphaned packages and they are not core system packages but just installed apps then you could just try removing them individually with "yum erase packagename" then reinstalling them with "yum install packagename" - this will reinstall them from the official repos.

Hope this helps a bit.
Chris

Last edited by BlueC; 03-26-2008 at 09:15 AM.
 
Old 03-26-2008, 10:37 AM   #5
brisbin33
Member
 
Registered: Oct 2007
Location: boston, ma
Distribution: fedora, ubuntu, slack, arch
Posts: 30

Original Poster
Rep: Reputation: 15
thanks for the directions, those sorts of yum commands were what i was looking for

i'll attempt some things tonight or tomorrow night and post the results

thanks again,
pat
 
Old 03-26-2008, 05:26 PM   #6
brisbin33
Member
 
Registered: Oct 2007
Location: boston, ma
Distribution: fedora, ubuntu, slack, arch
Posts: 30

Original Poster
Rep: Reputation: 15
Dependency Problem -- All set (i hope)

OK, good news and bad news, well, mostly good...

so i went into add/remove>>edit>>repos and made it so i only had fedora; livna; and fedora updates checked off.

yum repolist displayed as you said it would

however, "package-cleanup --orphans" and "yum package-cleanup --orphans" just yielded command line errors as it is "not a valid option"

this is ok though, because (the good news) when i jumped back to software updater i got the dependency error again but then on a second attempt it worked fine (updated my nvidia driver to 169.12) and then i went over to add/remove and added some random programs to test the process and it worked fine as well.

so it looks like all is well, no reinstall necessary.

thanks very much for your help,
pat
 
  


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
Fedora Core 6 ... Dependency Check .. mikeshn Fedora 3 01-20-2007 01:09 PM
libxine.so.1 dependency fedora core 5 enlightenment DeltaXFX Fedora 6 08-01-2006 11:17 AM
Problems Installing/uninstalling MySQL On Fedora Fc4 (library dependency issue) donraja Linux - Software 2 05-26-2006 01:06 AM
HAving dependency problems in installing QGIS on Fedora Core 1 linux_accd Linux - Newbie 1 09-19-2005 07:27 AM
Dependency problems Lossenelin Linux - Software 5 01-28-2003 04:02 PM

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

All times are GMT -5. The time now is 08:24 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