Description of problem: When fakeroot is being installed in environment where documentation files are disabled, for example via tsflags=nodocs in /etc/dnf/dnf.conf, the postinstall scriptlet exits with error. Version-Release number of selected component (if applicable): fakeroot-1.23-1.fc29.x86_64 How reproducible: Deterministic. Steps to Reproduce: 1. docker run --rm -ti registry.fedoraproject.org/fedora:29 dnf install -y fakeroot Actual results: Fedora Modular 29 - x86_64 387 kB/s | 1.5 MB 00:03 Fedora Modular 29 - x86_64 - Updates 531 kB/s | 2.1 MB 00:04 Fedora 29 - x86_64 - Updates 5.9 MB/s | 25 MB 00:04 Fedora 29 - x86_64 14 MB/s | 62 MB 00:04 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: fakeroot x86_64 1.23-1.fc29 fedora 98 k Installing dependencies: fakeroot-libs x86_64 1.23-1.fc29 fedora 34 k Transaction Summary ================================================================================ Install 2 Packages Total download size: 133 k Installed size: 321 k Downloading Packages: (1/2): fakeroot-libs-1.23-1.fc29.x86_64.rpm 34 kB/s | 34 kB 00:01 (2/2): fakeroot-1.23-1.fc29.x86_64.rpm 97 kB/s | 98 kB 00:01 -------------------------------------------------------------------------------- Total 46 kB/s | 133 kB 00:02 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : fakeroot-libs-1.23-1.fc29.x86_64 1/2 Installing : fakeroot-1.23-1.fc29.x86_64 2/2 Running scriptlet: fakeroot-1.23-1.fc29.x86_64 2/2 failed to link /usr/share/man/de/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.de.1.gz: No such file or directory failed to link /usr/share/man/de/man1/faked.1.gz -> /etc/alternatives/faked.de.1.gz: No such file or directory failed to link /usr/share/man/es/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.es.1.gz: No such file or directory failed to link /usr/share/man/es/man1/faked.1.gz -> /etc/alternatives/faked.es.1.gz: No such file or directory failed to link /usr/share/man/fr/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.fr.1.gz: No such file or directory failed to link /usr/share/man/fr/man1/faked.1.gz -> /etc/alternatives/faked.fr.1.gz: No such file or directory failed to link /usr/share/man/nl/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.nl.1.gz: No such file or directory failed to link /usr/share/man/nl/man1/faked.1.gz -> /etc/alternatives/faked.nl.1.gz: No such file or directory failed to link /usr/share/man/pt/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.pt.1.gz: No such file or directory failed to link /usr/share/man/pt/man1/faked.1.gz -> /etc/alternatives/faked.pt.1.gz: No such file or directory failed to link /usr/share/man/sv/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.sv.1.gz: No such file or directory failed to link /usr/share/man/sv/man1/faked.1.gz -> /etc/alternatives/faked.sv.1.gz: No such file or directory failed to link /usr/share/man/de/man1/faked.1.gz -> /etc/alternatives/faked.de.1.gz: No such file or directory failed to link /usr/share/man/de/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.de.1.gz: No such file or directory failed to link /usr/share/man/es/man1/faked.1.gz -> /etc/alternatives/faked.es.1.gz: No such file or directory failed to link /usr/share/man/es/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.es.1.gz: No such file or directory failed to link /usr/share/man/fr/man1/faked.1.gz -> /etc/alternatives/faked.fr.1.gz: No such file or directory failed to link /usr/share/man/fr/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.fr.1.gz: No such file or directory failed to link /usr/share/man/nl/man1/faked.1.gz -> /etc/alternatives/faked.nl.1.gz: No such file or directory failed to link /usr/share/man/nl/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.nl.1.gz: No such file or directory failed to link /usr/share/man/pt/man1/faked.1.gz -> /etc/alternatives/faked.pt.1.gz: No such file or directory failed to link /usr/share/man/pt/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.pt.1.gz: No such file or directory failed to link /usr/share/man/sv/man1/faked.1.gz -> /etc/alternatives/faked.sv.1.gz: No such file or directory failed to link /usr/share/man/sv/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.sv.1.gz: No such file or directory warning: %post(fakeroot-1.23-1.fc29.x86_64) scriptlet failed, exit status 2 Error in POSTIN scriptlet in rpm package fakeroot Verifying : fakeroot-1.23-1.fc29.x86_64 1/2 Verifying : fakeroot-libs-1.23-1.fc29.x86_64 2/2 Installed: fakeroot-1.23-1.fc29.x86_64 fakeroot-libs-1.23-1.fc29.x86_64 Complete! Expected results: No "No such file or directory" messages and %post exiting with status 0. Additional info:
Dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1677540?
(In reply to Ernestas Kulik from comment #1) > Dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1677540? That one is for F30, and this one is for F29, but yes, same issue.
*** This bug has been marked as a duplicate of bug 1677540 ***