Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to install a 3rd-party RPM package on RHEL5 which depends on version 3.4 of sqlite. According to Yum I already have 3.3.6 installed.

Is there a way to list the installed packages that depend on sqlite 3.3.6?

share|improve this question

3 Answers 3

up vote 8 down vote accepted

The rpm option you want is:

rpm -q --whatrequires sqlite
share|improve this answer
    
you're missing an 's' at the end of --whatrequire –  Andre Holzner Jun 24 '11 at 20:51
    
whoops, you're right. fixed! –  Wes Hardaker Jun 25 '11 at 13:09

I think what you really want to know is "what are the packages which require sqlite-3.3.6, but won't be happy with sqlite-3.4.z" ... and the only good way of finding that out, is to try it. Like:

echo | yum upgrade sqlite
share|improve this answer

You could also try this command out.

repoquery --whatrequires pam_krb5.so

I got this command from ServerFault and also from The Fedora Forums.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.