Bug 1619725 - dnf reinstall doesn't re-run package scritlets (pretrans, post, postrans)
Summary: dnf reinstall doesn't re-run package scritlets (pretrans, post, postrans)
Keywords:
Status: CLOSED DUPLICATE of bug 1200302
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-21 15:11 UTC by Jonathan Underwood
Modified: 2018-08-21 15:49 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-21 15:49:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Underwood 2018-08-21 15:11:31 UTC
Description of problem:
I recently managed to delete the alternatives entries created by the java-1.8.0-openjdk-headless package. I figured a dnf reinstall java-1.8.0-openjdk-headless would re-run the post script and recreate the alternatives entries. However, this didn't seem to happen.

I notice someone else has previously observed the same behaviour:

https://ask.fedoraproject.org/en/question/113412/what-exactly-happens-on-dnf-reinstallin-terms-of-scriptlets/

I am not sure if this is a bug or a documentation issue. But right now, dnf doesn't meet (at least mine and one other person's) expectations.

Version-Release number of selected component (if applicable):
$ rpm -qa | grep dnf
dnf-2.7.5-12.fc28.noarch
python3-dnf-plugin-system-upgrade-2.0.5-3.fc28.noarch
python3-dnf-plugins-extras-common-2.0.5-3.fc28.noarch
python3-dnf-2.7.5-12.fc28.noarch
dnf-plugins-core-2.1.5-4.fc28.noarch
python2-dnf-2.7.5-12.fc28.noarch
dnfdaemon-0.3.18-6.fc28.noarch
dnf-yum-2.7.5-12.fc28.noarch
libdnf-0.11.1-3.fc28.x86_64
python3-dnfdaemon-0.3.18-6.fc28.noarch
dnfdaemon-selinux-0.3.18-6.fc28.noarch
dnf-conf-2.7.5-12.fc28.noarch
dnfdragora-1.0.1-10.git20180108.b0e8a66.fc28.noarch
python3-dnf-plugins-core-2.1.5-4.fc28.noarch

Comment 1 Jonathan Underwood 2018-08-21 15:49:31 UTC

*** This bug has been marked as a duplicate of bug 1200302 ***


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