View Issue Details

IDProjectCategoryView StatusLast Update
0017039CentOS-7kmodpublic2020-02-12 15:46
Status newResolutionopen 
Product Version7.7-1908 
Target VersionFixed in Version 
Summary0017039: kmod package does not declare all files if provides
DescriptionI was attempting to install a separate RPM, and got this error:

error: Failed dependencies:
        /sbin/depmod is needed by kmod-ena-2.2.3-1.el7.19.x86_64

The file exists on my file system, and 'rpm' says it's owned by the kmod package:

[root@ip-10-200-192-252 ~]# rpm -qf /sbin/depmod

But, the kmod RPM itself doesn't know about that specific path for depmod:

# rpm -q --provides kmod-20-25.el7.x86_64 | grep depmod
# rpm -q -l kmod-20-25.el7.x86_64 | grep depmod

It knows about '/usr/sbin/depmod', but not '/sbin/depmod.

Steps To ReproduceAs above.
TagsNo tags attached.




2020-02-12 15:46

manager   ~0036273

You need to take that up with Amazon or whoever provides that package. The error is correct, their package says it wants /sbin/depmod but the kmod package provides /usr/sbin/depmod. Your rpm -qf works because /sbin is a symlink to /usr/sbin so resolves it. Their package incorrectly wants /sbin/depmod.

Issue History

Date Modified Username Field Change
2020-02-12 15:25 PUCKfcab New Issue
2020-02-12 15:46 TrevorH Note Added: 0036273