Jerry James wrote:

>$ rpm -q --scripts kernel-core-7.0.9-205.fc44.x86_64
>
>[snip]
>
>preuninstall scriptlet (using /bin/sh):
>entry_type=""
>
>/bin/kernel-install --help|grep -q -- '--entry-type=' &&
>    entry_type="--entry-type type1"
>
>/bin/kernel-install remove 7.0.9-205.fc44.x86_64 $entry_type || exit 0
>if [ -x /usr/bin/weak-modules ]
>then
>    /usr/bin/weak-modules --remove-kernel 7.0.9-205.fc44.x86_64 || exit 0
>fi
>
>[snip[

Sorry, I don't understand why the above is relevant to the problem.
What is this intending to accomplish or demonstrate?

>Does that machine have /usr/bin/weak-modules?

Apparently not:

> $ ls /usr/bin/weak-modules
> ls: cannot access '/usr/bin/weak-modules': No such file or directory
-- 
Dave Close, Compata, Irvine CA      "Tact is insulting a man without
[email protected], +1 714 434 7359    his knowing it."
[email protected]           -- John "Jackie" Fisher


-- 
_______________________________________________
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://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to