Bug 1677540 - post-install script fails to link manpages to /etc/alternatives
Summary: post-install script fails to link manpages to /etc/alternatives
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fakeroot
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1696723 1754943 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-15 08:01 UTC by Lumír Balhar
Modified: 2019-10-12 01:36 UTC (History)
7 users (show)

Fixed In Version: fakeroot-1.24-2.fc31 fakeroot-1.24-2.fc30 fakeroot-1.24-2.fc29 fakeroot-1.24-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-28 00:03:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lumír Balhar 2019-02-15 08:01:59 UTC
Description of problem:
Post install scriplet cannot create symlinks and therefore shows errors like this:
failed to link /usr/share/man/de/man1/fakeroot.1.gz -> /etc/alternatives/fakeroot.de.1.gz: No such file or directory

Version-Release number of selected component (if applicable):
fakeroot-1.23-3.fc30

How reproducible:
Always

Steps to Reproduce:
1. dnf install fakeroot
2. see errors in output

Actual results:
# dnf install fakeroot

...

Running scriptlet: fakeroot-1.23-3.fc30.x86_64
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-3.fc30.x86_64) scriptlet failed, exit status 2

Error in POSTIN scriptlet in rpm package fakeroot
  Verifying        : fakeroot-1.23-3.fc30.x86_64
  Verifying        : fakeroot-libs-1.23-3.fc30.x86_64

Expected results:
no errors

Comment 1 ekulik 2019-07-28 19:07:14 UTC
I have reason to believe that this is causing failures in my Kickstart installations with --excludedocs.

Comment 2 Ben Cotton 2019-08-13 18:53:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Dominik 'Rathann' Mierzejewski 2019-09-24 13:52:11 UTC
*** Bug 1754943 has been marked as a duplicate of this bug. ***

Comment 4 Dominik 'Rathann' Mierzejewski 2019-09-24 13:58:26 UTC
*** Bug 1696723 has been marked as a duplicate of this bug. ***

Comment 5 Dominik 'Rathann' Mierzejewski 2019-09-24 13:58:56 UTC
Same issue in all releases, I have a fix in the works.

Comment 6 Fedora Update System 2019-09-26 11:45:14 UTC
FEDORA-2019-0b2a41480a has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0b2a41480a

Comment 7 Fedora Update System 2019-09-26 11:45:19 UTC
FEDORA-2019-7bb146dea7 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7bb146dea7

Comment 8 Fedora Update System 2019-09-26 11:45:20 UTC
FEDORA-2019-f7dd8d9ee0 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f7dd8d9ee0

Comment 9 Fedora Update System 2019-09-27 02:18:54 UTC
fakeroot-1.24-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0b2a41480a

Comment 10 Fedora Update System 2019-09-27 02:29:00 UTC
fakeroot-1.24-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f7dd8d9ee0

Comment 11 Fedora Update System 2019-09-27 02:43:10 UTC
fakeroot-1.24-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-63383aac9d

Comment 12 Fedora Update System 2019-09-27 03:13:33 UTC
fakeroot-1.24-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7bb146dea7

Comment 13 Fedora Update System 2019-09-28 00:03:02 UTC
fakeroot-1.24-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2019-10-04 21:24:12 UTC
fakeroot-1.24-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2019-10-04 21:56:45 UTC
fakeroot-1.24-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2019-10-12 01:36:51 UTC
fakeroot-1.24-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.