| Summary: | dnf -y upgrade fails without error message | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marius Vollmer <mvollmer> |
| Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | dpeschman, ffesti, ignatenko, jsilhan, jzeleny, lkardos, mls, mluscon, novyjindrich, packaging-team-maint, pknirsch, pnemade, stefw, vmukhame |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-20 11:50:08 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: | |
|
Description
Marius Vollmer
2016-03-16 10:10:33 UTC
I've seen this several times in a row in a test VM. It looks like dnf runs "mandb -q" (via sh) and writes a lot of stuff into its stdin, but mandb -q doesn't read stdin. Thanks for the report. It could happen because of new initializing of rpmdb cache through libsolv unofficial way. This should fix it: https://github.com/openSUSE/libsolv/pull/123 (In reply to Jan Silhan from comment #3) > Thanks for the report. It could happen because of new initializing of rpmdb > cache through libsolv unofficial way. This should fix it: > https://github.com/openSUSE/libsolv/pull/123 Note that EPIPE happens with "mandb", not "rpmdb". This is not a bug in libsolv or dnf, but a bug in the man-db package. It uses the new filetrigger mechanism to update the mandb if a man page is installed. But the filtrigger scriptlet is supposed to read the trigger files from stdin, which it currently doesn't do. The resulting SIGPIPE terminates the complete software stack, as the transaction is done by the man dnf process. So, two things IMHO need to be done: 1) the man-db package needs to read (and discard) the file list from stdin (i.e. cat > /dev/null) 2) rpm should also be changed so that it does not die when a scriptlet misbehaves. This is already fixed in newer rpm versions, but the installed rpm-4.13.0-0.rc1.3.fc23 package does not have the fix. Yes, this is fixed since 4.13.0-0.rc1.6.fc23. |