Bug 2321923
| Summary: | DNF5 shows warnings on erase action | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gurenko Alex <agurenko> |
| Component: | dnf5 | Assignee: | rpm-software-management |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | amatej, jkolarik, nsella, pkratoch, rpm-software-management |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-10-29 05:26:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 *** |
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: