FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That error is more to do with mirrors that have not synced properly than rpm itself although at times badly built rpms can cause similar problems. What you need to do is use the exclude option for yum, so that the problematic package is not upgraded e.g.
Code:
#yum upgrade --exclude=somepackage
Alternatively, if you are using the GUI updater, just deselect the problematic packages and then try to upgrade them again after a few hours.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Since your to lazy to report the actual errors or any useful related information, my wild in the dark guess is you have a mixed mode installation (32 and 64-bit apps and libs). A quick check using your "reported" error;
Now what confuses me more is that this is a pretty fresh install of Fedora Core 6 that has been sitting on my hard drive since FC6 first came out. Never really did much with it or touched it, yet it somehow hosed itself with its own dependency problems. Is this common with Fedora Core??
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
OK, it looks like you can resolve this issue by hand. Download the four elfutils rpms from Fedora Updates directly into a common location where they are the only rpm packages.
Normally it is not a good idea to use the force switch, but in this case it is appropriate to use. You have both older and newer versions of some elfutils rpm packages installed, this will re-install the newer versions and remove the older at the same time.
Why this happened is beyond me, but this does happen when yum (and the related rpm packages) are updated at the same time as other packages. In the future if you happen to notice any yum updates it would be a good idea to first update yum first then the rest;
Another popular way is to ask yum to un-install offending packages, it will remove anything associated (dependencies). Then turn around and tell yum to install that package and it will install the newer with dependencies.
yum remove packagename
yum install packagename
Here I would go for elfutils-libelf-devel, or elfutils
Last edited by Junior Hacker; 02-10-2007 at 07:18 PM.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
Quote:
Originally Posted by Junior Hacker
Another popular way is to ask yum to un-install offending packages, it will remove anything associated (dependencies). Then turn around and tell yum to install that package and it will install the newer with dependencies.
yum remove packagename
yum install packagename
Here I would go for elfutils-libelf-devel, or elfutils
Uninstalling and reinstalling the elfutils still gives me errors.
Quote:
Originally Posted by Lenard
OK, it looks like you can resolve this issue by hand. Download the four elfutils rpms from Fedora Updates directly into a common location where they are the only rpm packages.
I downloaded each of those elfutils RPM's into a directory. When I run your command to force it to install and upgrade, it still won't let me! Still gives me dependency conflicts, even with the --force option!
Code:
[root@localhost elfutils]# ls
elfutils-0.125-1.fc6.i386.rpm
elfutils-devel-0.125-1.fc6.i386.rpm
elfutils-devel-static-0.125-1.fc6.i386.rpm
elfutils-libelf-0.125-1.fc6.i386.rpm
elfutils-libelf-devel-0.125-1.fc6.i386.rpm
elfutils-libelf-devel-static-0.125-1.fc6.i386.rpm
[root@localhost elfutils]# rpm -Uvh --force elfutils*.rpm
error: Failed dependencies:
elfutils > 0.123-1.fc6 conflicts with elfutils-libs-0.123-1.fc6.i386
elfutils-devel > 0.123-1.fc6 conflicts with elfutils-libs-0.123-1.fc6.i386
elfutils-libs < 0.125-1.fc6 conflicts with elfutils-libelf-0.125-1.fc6.i386
elfutils-libelf = 0.123-1.fc6 is needed by (installed) elfutils-libs-0.123-1.fc6.i386
Make sure elfutils-libs, elfutils-libelf appear in the list of dependencies getting removed also, if not you may need to remove them also. Best to put them all in one command.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
When I tried removing elfutils, it told me I had to remove 150+ dependencies, ranging from X server to OpenOffice. It sounds like if I remove elfutils, I will hose my system. I'd be better off reinstalling. I'm going to wait to hear back from others and if nobody has a solution, then I will have to reinstall. Such a shame because I need to learn RedHat/Fedora Core for my Linux+ certification which I may take. I really hate the whole Red Hat Package Manager and never understood it. I am more comfortable with Ubuntu and their 'aptitude' for installing programs
I have 64bit, I do not have elfutils-devel installed, I noticed you have two versions of elfutils-libelf and elfutils-libs, is this list from the cache or what is installed? To me all you need to do is remove the two (123) presumably older ones before upgrading the elfutils & elfutils-libelf-devel to version (125) based on what my packages are (all 125)
You may already know, but there is a list in /root called install.log of all packages installed in the order they were installed if the /var/log/rpmpkgs list is not there as I believe it shows up after first instance of an update and is also updated once a week. The GUI software updater is good for showing all available, installed, not installed on the list tab. Just put the radio button on "All packages".
EDIT: re-installing probably won't make a difference. Never had such experiences with Mandrake/Mandriva which is also Red Hat based, I find their rpm extension "urpmi" is fairly flawless compared to "yum".
Last edited by Junior Hacker; 02-10-2007 at 10:48 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.