Hello,

The recent Fedora versions have removed the script of "/usr/sbin/weak-modules" 
from the "kmod" package. On my Fedora 39, I found that the rpm tool: 
/usr/lib/rpm/redhat/kmodtool,  from  package 
kernel-rpm-macros-205-20.fc39.noarch, still calls  /"usr/sbin/weak-modules". 
E.g.:

/usr/lib/rpm/redhat/kmodtool:Requires(post):   /usr/sbin/weak-modules
/usr/lib/rpm/redhat/kmodtool:Requires(postun): /usr/sbin/weak-modules

This will cause rpmbuild built packages failed to install with errors like:

 - nothing provides /usr/sbin/weak-modules needed by 
kmod-lustre-client-2.16.61-1.fc39.aarch64 from @commandline

I could use "--nodeps" to ignore this error to forcibly install.  While I 
wonder is there any reason to keep the "kmodtool" work like that? Or if there's 
a way to install "/usr/sbin/weak-modules" ?

Thanks

Feng
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to