LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RPM Dependency Question (https://www.linuxquestions.org/questions/linux-software-2/rpm-dependency-question-80639/)

cmpaul 08-10-2003 10:45 AM

RPM Dependency Question
 
I'm attempting to install a few random packages and have run into a dependency problem that's confusing me.

First, I attempt to install this guy:
# rpm -Uvh libltdl-1.4.2-12.i686.rpm
warning: libltdl-1.4.2-12.i686.rpm: V3 DSA signature: NOKEY, key ID f9651d5a
error: Failed dependencies:
libtool-libs = 1.4.3-5 is needed by (installed) libtool-1.4.3-5

So, I try to install what it says it needs:
# rpm -Uvh libtool-libs-1.4.3-5.i386.rpm
Preparing... ########################################### [100%]
package libtool-libs-1.4.3-5 is already installed

Any ideas?

jailbait 08-10-2003 11:57 AM

It sounds like your rpm database is messed up a little. I would try:
rpm --rebuilddb
and see if that cleans up the problem.

Another possible solution is to try to only clean up libtool-libs:
# rpm -Uvh libtool-libs-1.4.3-5.i386.rpm --force

cmpaul 08-10-2003 12:40 PM

Thanks for the quick reply.

Neither of those suggestions worked. When I attempt to rebuild the database, I receive this message:

# rpm --rebuilddb
error: db4 error(16) from dbenv->remove: Device or resource busy

(Before this, I also removed the __db* files from /var/lib/rpm.)

When I attempt cleaning up libtool-libs, it installs fine, but I still receive the original dependency error for libltdl:

# rpm -Uvh libltdl-1.4.2-12.i686.rpm
warning: libltdl-1.4.2-12.i686.rpm: V3 DSA signature: NOKEY, key ID f9651d5a
error: Failed dependencies:
libtool-libs = 1.4.3-5 is needed by (installed) libtool-1.4.3-5

Thanks again for any help you can provide. :)

jailbait 08-10-2003 12:54 PM

-------------------------------------------------------------------------
# rpm --rebuilddb
error: db4 error(16) from dbenv->remove: Device or resource busy
-------------------------------------------------------------------------

Maybe you have a lock file that was not deleted when it should have been.

chrismiceli 08-13-2003 06:16 PM

won't you just have to install that devel package?


All times are GMT -5. The time now is 08:32 AM.