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.
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
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.