Bug 1477712

Summary: file conflict prevents system upgrade
Product: [Fedora] Fedora Reporter: Przemek Klosowski <przemek>
Component: Macaulay2Assignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: rdieter, tremble
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Macaulay2-1.9.2-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-29 14:47:00 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 Przemek Klosowski 2017-08-02 16:54:18 UTC
Description of problem:
file conflict prevents system upgrade from F25 to F26

Version-Release number of selected component (if applicable):
Macaulay2-1.9.2-1.fc26.x86_64 
Macaulay2-1.6-32.fc25.x86_64

How reproducible: every time

Steps to Reproduce:
1. dnf system-upgrade download --releasever=26 --allowerasing

Actual results:
Error: Transaction check error:
  file /usr/share/Macaulay2/Core/factory from install of Macaulay2-1.9.2-1.fc26.x86_64 conflicts with file from package Macaulay2-1.6-32.fc25.x86_64

Expected results: successful upgrade without conflicts

Comment 1 Przemek Klosowski 2017-08-02 18:46:55 UTC
A simple workaround is to 'dnf erase Macaulay2'

Comment 2 Rex Dieter 2017-08-02 20:58:46 UTC
looks like the symlinks used in previous builds were replaced by real directories.  

Need to include some scriptlets to support the upgrade path, see also:
https://fedoraproject.org/wiki/Packaging:Directory_Replacement

Comment 3 Fedora Update System 2017-10-18 17:44:13 UTC
Macaulay2-1.9.2-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6d67d14549

Comment 4 Fedora Update System 2017-10-19 19:52:30 UTC
Macaulay2-1.9.2-2.fc26 has been pushed to the Fedora 26 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-2017-6d67d14549

Comment 5 Fedora Update System 2017-10-29 14:47:00 UTC
Macaulay2-1.9.2-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.