LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   failed dependencies to installed packages?? (https://www.linuxquestions.org/questions/linux-newbie-8/failed-dependencies-to-installed-packages-229061/)

mandrakemikael 09-10-2004 04:00 PM

failed dependencies to installed packages??
 
i have been wondering this problem for quite a while now. many installer scripts complain about failed dependencies to packages i have installed with my distro (mdk10.0). i give an example:

$ rpm --install xmms-flac-1.1.0-0.fdr.16.rh80.i386.rpm
warning: xmms-flac-1.1.0-0.fdr.16.rh80.i386.rpm: V3 DSA signature: NOKEY, key ID 8df56d05
error: Failed dependencies:
xmms >= 1:1.2.7 is needed by xmms-flac-1.1.0-0.fdr.16.rh80
libid3-3.8.so.3 is needed by xmms-flac-1.1.0-0.fdr.16.rh80

$ xmms --version
xmms 1.2.9

$ locate libid3-3
/usr/local/lib/libid3-3.8.so.3.0.0
/usr/local/lib/libid3-3.8.so.3

OR

checking for XMMS - version >= 1.0.0... no
*** The xmms-config script installed by XMMS could not be found.
*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XMMS_CONFIG environment variable to the
*** full path to xmms-config.
configure: error: *** XMMS >= 1.0.0 not installed - please install first ***


i have this problem with several packages, not just xmms. is there a simple universal cure for this?
:confused: :confused: :confused:

Mara 09-10-2004 04:26 PM

In the second case I think it may be connected with xmms-devel package. Do you have it? Probably not. If such an error occurs when compiling a program from source, first check devel package for the program/library that seems to be causing it.

First case... Not sure. If it happens for many libraries and devels don't help, you may have a broken database. In such case
rpmdb --rebuilddb


All times are GMT -5. The time now is 10:34 AM.