-   Linux - Software (
-   -   RPM package manager says package needs to be installed. But I already installed it! (

nick623 05-23-2005 11:23 PM

RPM package manager says package needs to be installed. But I already installed it!
I'm trying to download the KDE Development Tools from the RedHat 9 Package Manager.
I receive a message that it can't locate 5 files and quits. OK, Three of the files I installed from the CD's with relatively no problems. However, two files netpbm-9.24-10.90.1 and XFree86-libs-4.3.0-2.90.55 are giving me problems. The package manager still complains these two files can't be located. Yet I have installed them! I've done a RPM -qa query and the exact same version of these 2 files are installed.

OK, I ran the following command rpm -Uvh netpbm-9.24-10.i386.rpm --test and got the following message: Failed dependencies:netpbm = 9.24-10.90.1 is needed by (installed) netpbm-progs-9.24-10.90.1. I can't figure this message out. Do I need to install another package first?

Ran this command on the other file: rpm -Uvh XFree86-libs-4.3.0-2.i386.rpm --test. Got this message.
error: Failed dependencies:
XFree86-libs-data = 4.3.0-2 is needed by XFree86-libs-4.3.0-2
XFree86-libs = 4.3.0-2.90.55 is needed by (installed) XFree86-4.3.0-2.90.55
XFree86-libs = 4.3.0-2.90.55 is needed by (installed) XFree86-xfs-4.3.0-2.90.55
XFree86-libs = 4.3.0-2.90.55 is needed by (installed) XFree86-twm-4.3.0-2.90.55
Must be a dependency issue.

I'm just getting really frustated. If anyone could give me any suggestions I would appreciate it.

s_deepak_123 05-24-2005 01:54 AM

When some package is needed by some another package, it means that by uninstalling the former, you can't use the latter as it needed that package.
You can try to reinstall the two packages with the option --force
rpm -ivh --force netpbm-9.24-10.i386.rpm

With the above command, you can reinstall even if it says that the package is already installed.

No keyboard found. Press F1 to continue...

dannyk1 05-24-2005 02:15 AM

I used to have problems like this using RPMs.

I then discovered YUM

do a google search on setting up yum on your distro.
once it is up and going, its just a matter of typing yum install (app) and it will
go and get all the dependences for you.
One command does everything.

All times are GMT -5. The time now is 04:00 AM.