LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-24-2006, 12:08 PM   #1
antiqui.populi
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
can't update RPM


Hi. I'm using Fedora Core 4. I had some ugly problems with RPM. I totally broked it. Finally, I downloaded rpm-4.1 sources and reinstalled it. Now I'm trying to update RPM to rpm-4.4.1-21, but I get:
Code:
[root@INTA01]# rpm -Uhv rpm-4.4.1-21.i386.rpm
error: Failed dependencies:
        librpm-4.1.so is needed by (installed) net-snmp-5.0.1-6
        librpm-4.1.so is needed by (installed) rpm-python-4.1-1.06
        librpm-4.1.so is needed by (installed) rpm-devel-4.1-1.06
        librpm-4.1.so is needed by (installed) rpm-build-4.1-1.06
        librpm-4.1.so is needed by (installed) perl-RPM2-0.45-1
        librpm-4.1.so is needed by (installed) rpm2html-1.7-8
        librpmbuild-4.1.so is needed by (installed) rpm-devel-4.1-1.06
        librpmbuild-4.1.so is needed by (installed) rpm-build-4.1-1.06
        librpmdb-4.1.so is needed by (installed) net-snmp-5.0.1-6
        librpmdb-4.1.so is needed by (installed) rpm-python-4.1-1.06
        librpmdb-4.1.so is needed by (installed) rpm-devel-4.1-1.06
        librpmdb-4.1.so is needed by (installed) rpm-build-4.1-1.06
        librpmdb-4.1.so is needed by (installed) perl-RPM2-0.45-1
        librpmdb-4.1.so is needed by (installed) rpm2html-1.7-8
        librpmio-4.1.so is needed by (installed) net-snmp-5.0.1-6
        librpmio-4.1.so is needed by (installed) rpm-python-4.1-1.06
        librpmio-4.1.so is needed by (installed) rpm-devel-4.1-1.06
        librpmio-4.1.so is needed by (installed) rpm-build-4.1-1.06
        librpmio-4.1.so is needed by (installed) perl-RPM2-0.45-1
        librpmio-4.1.so is needed by (installed) rpm2html-1.7-8
        rpm = 4.1 is needed by (installed) rpm-python-4.1-1.06
        rpm = 4.1 is needed by (installed) rpm-devel-4.1-1.06
        rpm = 4.1 is needed by (installed) rpm-build-4.1-1.06
So, I cannot update to rpm 4.4 because rpm 4.1 is installed!
Any suggestions?
Thank you very much
 
Old 10-24-2006, 12:49 PM   #2
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
I'm not sure if I'm right on this one !

The error message says, installing the new rpm package will result in dependency problems as you have other rpm utilities like rpm-python, perl-RPM2 etc. Installing the new package will break the dependency for these packages. I guess, you will have to upgrade these packages first to the latest version and then go about upgrading rpm.
 
Old 10-24-2006, 02:22 PM   #3
Renars
LQ Newbie
 
Registered: Aug 2006
Location: Bauska, Latvia
Distribution: Ubuntu, Fedora
Posts: 29

Rep: Reputation: 15
kevkim55 is right. I suggest using yum as it updates the dependencies for you.
 
Old 10-24-2006, 03:02 PM   #4
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Or, if there're no significant differences between libraries (existing rpm and the new rpm you're trying to install), you could try force installing by passing the option --nodeps to rpm. If other apps you are using complain of a missing librpm-4.1.so, you can create a symlink to librpm-4.4.1.so and it should work though it might not. Try this if you are willing to take the risk. Of course, you can rollback (reinstall 4.1) the installation.
 
Old 10-24-2006, 03:24 PM   #5
antiqui.populi
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Original Poster
Rep: Reputation: 0
thank you, the problem is that I don't have Yum, and I'm doing all this so I can get it! I have a very corrupted system, and when I tried to --force or --nodeps, I make it worst. If I go berseker again, I will try your suggestion. Thanks
 
  


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
RPM update failed? lucky_luuk Fedora 2 11-04-2005 06:31 AM
gaim + RPM update blizunt7 Linux - Software 4 10-19-2004 03:04 PM
kernal rpm update Q? Lleb_KCir Linux - General 6 04-28-2004 11:35 PM
RPM update etron Linux - Software 0 12-18-2002 08:34 AM
RPM update FNJ Mancini Linux - Newbie 4 08-15-2001 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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