Bug 60802 - rpm install fails on a satisfied dependency
Summary: rpm install fails on a satisfied dependency
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 7.1
Hardware: i686 Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-03-06 22:12 UTC by Rick Jenkins
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-06 22:59:07 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Rick Jenkins 2002-03-06 22:12:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.4) Gecko/20011126

Description of problem:
The terminal session below shows a package install failing 
because of a missing dependency. It also shows that the 
required package is installed, and that rpm can see it. Is 
this a bug, or do I merely misunderstand the situation?
Note that I tried an 

rpm --rebuilddb

which apparently succeeded, in that it ran for a while and
terminated with no messages.

[root@fafnir download]#  rpm -i --test perl-Term-ReadLine-Gnu-1.11-1.i386.rpm
error: failed dependencies:
        libreadline.so.4   is needed by perl-Term-ReadLine-Gnu-1.11-1
[root@fafnir download]#  rpm -q readline-4.1-9
[root@fafnir download]#  rpm -ql readline-4.1-9
[root@fafnir download]# ls -l /usr/lib/libreadline*
-rw-r--r--    1 root     root       218440 Apr  7  2001 /usr/lib/libreadline.a
lrwxrwxrwx    1 root     root           18 Nov 19 13:30 /usr/lib/libreadline.so
-> libreadline.so.4.1
lrwxrwxrwx    1 root     root           18 Nov 19 13:41
/usr/lib/libreadline.so.3 -> libreadline.so.3.0
-rw-r--r--    1 root     root       168423 Jul 12  2000 /usr/lib/libreadline.so.3.0
lrwxrwxrwx    1 root     root           18 Nov 19 12:33
/usr/lib/libreadline.so.4 -> libreadline.so.4.1
-rwxr-xr-x    1 root     root       177511 Apr  7  2001 /usr/lib/libreadline.so.4.1

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.See terminal session above

Additional info:

Comment 1 Jeff Johnson 2002-03-06 22:15:50 UTC
What does
	rpm -q --whatprovides libreadline.so.4

Comment 2 Rick Jenkins 2002-03-06 22:23:03 UTC
# rpm -q --whatprovides libreadline.so.4
no package provides libreadline.so.4

Comment 3 Jeff Johnson 2002-03-06 22:47:42 UTC
Then this isn't an rpm problem, as rpm -q --whatprovides
searches for dependencies.

What does
	rpm -q --provides readline
say? If there is no "libreadline.so.4",
then you need to find a readline )or possibly other)
package that actually Provides: the needed dependency.

Comment 4 Rick Jenkins 2002-03-06 22:59:02 UTC
#  rpm -q --provides readline
readline = 4.1-9

But note in the original rpm -ql that the package also provides 


which is merely a link to


Comment 5 Jeff Johnson 2002-03-06 23:03:23 UTC
Yup, but those are not dependencies, only files.
The package header must supply a Provides: or
any matching Requires: will fail.

Look for a readline package that has the needed

Note You need to log in before you can comment on or make changes to this bug.