View Issue Details

IDProjectCategoryView StatusLast Update
0017039CentOS-7kmodpublic2020-02-12 15:46
ReporterPUCKfcab 
PrioritynormalSeverityminorReproducibilityalways
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
kmod-20-25.el7.x86_64

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
/etc/depmod.d
/etc/depmod.d/dist.conf
/usr/sbin/depmod
/usr/share/man/man5/depmod.d.5.gz
/usr/share/man/man8/depmod.8.gz

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

Steps To ReproduceAs above.
TagsNo tags attached.
abrt_hash
URL

Activities

TrevorH

TrevorH

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