Bug 2031013

Summary: symlink to directory replacement
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: daniel.mach, igor.raits, jmracek, jrohel, mblaha, mhatina, mjw, packaging-team-maint, pkratoch, pmatilai, pmoravco, rpm-software-management, vmukhame
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: 2021-12-10 10:26:12 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:

Description Remi Collet 2021-12-10 10:08:32 UTC
Also reported to FPC as (if an expected behavior) it may affects packaging documentation

https://pagure.io/packaging-committee/issue/1139


In short when a scriplet (%pretrans) clean a symlink before the update to be replaced by a directory and its content

=> works with pm -Uvh
=> doesn't work with dnf (Transaction test fails)

This may block distro upgrade.

Comment 1 Panu Matilainen 2021-12-10 10:20:02 UTC
Probably dupe of bug 1835424

Comment 2 Remi Collet 2021-12-10 10:26:12 UTC

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