Usually, missing package files result in warning messages, but this is not critical to removing RPM packages.
Posting the exact error message can help us better understand the root of the problem and find a solution.
Ok, first, I run this command: sudo rpm -e Maya2023_64-2023.2-1794.x86_64
then I’ve got this error:
/var/tmp/rpm-tmp.6xsF6x: line 32: /opt/Autodesk/AdskLicensing/12.1.0.7121/helper/AdskLicensingInstHelper: Permission denied
error: %preun(Maya2023_64-2023.2-1794.x86_64) scriptlet failed, exit status 126
error: Maya2023_64-2023.2-1794.x86_64: erase failed
And then I try to remove it by another command: sudo yum erase Maya2023_64-2023.2-1794.x86_64
Dependencies are resolved.
=================================================
Package Architecture Version Repository Size
Maya2023_64 x86_64 2023.2-1794 @@System 5.3 G
=================================================
Transaction result
=================================================
Delete 1 Package
Vacant place: 5.3 G
Continue? [d/N]: y
Checking the transaction
Verification of the transaction was successfully completed.
The transaction is being checked
The transaction test was successfully completed.
Execution of the transaction
Preparation: 1/1
Running the scriptlet: Maya2023_64-2023.2-1794.x86_64 1/1
/var/tmp/rpm-tmp.k2owPs: line 32: /opt/Autodesk/AdskLicensing/12.1.0.7121/helper/AdskLicensingInstHelper: Access denied
error: %preun(Maya2023_64-2023.2-1794.x86_64) scriptlet failed, exit status 126
Error in PREUN scriptlet in rpm package Maya2023_64
Check: Maya2023_64-2023.2-1794.x86_64 1/1
Failure:
Maya2023_64-2023.2-1794.x86_64
Error: Transaction failed
Seems it works and it erase a record about it somewhere, because now it says:
error: Maya2023_64-2023.2-1794.x86_64 package does not install
But I’ve got another issue when I trying to figure out is the missing files had been erased, so I run another command: rpm -Va and I’ve got a long list with missing files. I attach some files here for example: