Description of problem: Two file conflicts prevent upgrade, block upgrade to f25. I am reporting against sagemath because the Component: field in Bugzilla didn't let me select sagemath-doc or sagemath-notebook Version-Release number of selected component (if applicable): sagemath-doc-7.3-6.fc25.x86_64 sagemath-notebook-7.3-6.fc25.x86_64 How reproducible: very Steps to Reproduce: 1. fedup download --releasever 25 Actual results: file /usr/share/doc/sagemath/output from install of sagemath-doc-7.3-6.fc25.x86_64 conflicts with file from package sagemath-doc-6.5-13.fc23.noarch file /usr/lib64/python2.7/site-packages/sagenb/data/mathjax from install of sagemath-notebook-7.3-6.fc25.x86_64 conflicts with file from package sagemath-notebook-6.5-13.fc23.x86_64 Expected results: successful update
A workaround is to delete the offending packages, which essentially unistalls sagemath for the duration of Fedora upgrade: dnf remove sagemath sagemath-doc
BTW, after the upgrade to F25, I was able to reinstall sagemath and sagemath-doc without problems with > dnf install sagemath sagemath-doc
Why are there file conflicts between 2 different versions of the SAME package? Only one should be installed at a time. This sounds like a DNF bug to me.
I have the same problem. The suggested workaround would remove 256 packages, some of which look pretty “unrelated” to me: texinfo, rlwrap, zeromq and pyserial for example (see attached file for a complete list). I would really like to avoid having to decide which of those I need to reinstall after upgrading. Getting the dependencies right seem like a better fix, at least for me :-)
Created attachment 1232887 [details] Complete list of packages to be removed by workaround
I opened bug 1404897 against DNF on this issue: people there blame packaging errors---but I agree with Kevin that if it's the same file in the same package, DNF should not throw an error.
Sorry for the long delay to respond. This was caused by not properly testing updates. The issue was due to inheriting some changes from upstream, with directories replaced by symlinks or vice-versa. But indeed, the case of debuginfo is more complicated, as it is an automatically generated package. Some information about it: https://fedorahosted.org/fpc/ticket/385 [workarounds for rpm symlink <-> directory issue] https://fedoraproject.org/wiki/Packaging:Directory_Replacement
Fixed in http://pkgs.fedoraproject.org/cgit/rpms/sagemath.git/commit/?h=f25&id=0cb5fbe3aeb9251040cc99157a5ae3c6f80bb5ed Also need http://pkgs.fedoraproject.org/cgit/rpms/sagemath.git/commit/?h=f25&id=09aad4ce54dd06f3bfd10d1d0299adbc29d6453b as sagemath is FTBFS in f25+
*** Bug 1402165 has been marked as a duplicate of this bug. ***
sagemath-7.3-7.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f67bf04062
sagemath-7.3-7.fc25 has been pushed to the Fedora 25 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-2016-f67bf04062
sagemath-7.3-7.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.