Description of problem: DNF5 shows warnings on package upgrade at the erase stage. For example: `[6/6] Erasing intel-media-driver-0:24.2.5-1.fc41.x86_64 100% [==================] | 28.0 B/s | 9.0 B | -00m00s >>> Running trigger-post-uninstall scriptlet: glibc-common-0:2.40-3.fc41.x86_64warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead` Version-Release number of selected component (if applicable): $ dnf --version dnf5 version 5.2.6.2 dnf5 plugin API version 2.0 libdnf5 version 5.2.6.2 libdnf5 plugin API version 2.0 How reproducible: 100% Steps to Reproduce: 1. Upgrade a package that has erase action Actual results: `warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead` Expected results: I would expect no warning, I don't know if fedora requires to update packages or what needs to be done, but the output may scare a lot of people when they will switch to dnf5 Additional info:
This appeared with the latest version of RPM, showing the deprecation warnings, more info can be found here: https://github.com/rpm-software-management/rpm/issues/3323
*** This bug has been marked as a duplicate of bug 2291869 ***