I get this error. Upgrading : swtpm-0.8.1-11.fc40.x86_64 18/312 Upgrading : swtpm-selinux-0.8.1-11.fc40.noarch 19/312 Running scriptlet: swtpm-selinux-0.8.1-11.fc40.noarch 19/312 /var/tmp/rpm-tmp.EtHRxH: line 13: /usr/sbin/rm: No such file or directory /var/tmp/rpm-tmp.EtHRxH: line 13: /usr/sbin/rm: No such file or directory /var/tmp/rpm-tmp.EtHRxH: line 13: /usr/sbin/rm: No such file or directory Did rm get moved from /usr/sbin/rm to /usr/bin/rm? It happened in another package that got updated. Reproducible: Always Steps to Reproduce: 1. When upgrading swtpm-selinux package. 2. I get this error: /var/tmp/rpm-tmp.EtHRxH: line 13: /usr/sbin/rm: No such file or directory 3. I guess the rpm scripts need to be updated.
This has already been discussed and resolved here: https://bugzilla.redhat.com/show_bug.cgi?id=2283639#c1
*** This bug has been marked as a duplicate of bug 228363 ***
*** This bug has been marked as a duplicate of bug 2283639 ***