Description of problem: With Widelands installed the upgrade to Fedora 34 is not possible. Error message states that the file /usr/share/widelands/i18n/fonts/-Culmus conflicts between versions. The changelog of the fc34 version in bodhi states “Unbundle Culmus fonts”, so I guess that is the problem. The same version that hit stable in 34 was stopped by karma in 33 because of the upgrade error. Version-Release number of selected component (if applicable): widelands-0-0.80.build20.fc33 (somehow cannot find it in bodhi, only 79) How reproducible: Always. Steps to Reproduce: 1. Install Widelands in Fedora 33 2. Try to upgrade to Fedora 34 Actual results: Error, no upgrade possible. Expected results: Upgrade. :) Additional info: Stopped widelands build for Fedora 33: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b985d33aac Widelands build in stable in Fedora 34: https://bodhi.fedoraproject.org/updates/FEDORA-2021-08852b7ddd
I looked at the packages and found the problem: The package tries to replace /usr/share/widelands/i18n/fonts/Culmus with a symlink. (“Unbundle Culmus fonts”) Please have a look at https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement to work around this.
Torsten, thank you for your bug-report and thank you for digging a bit deeper into this. In my experience it is better in cases like this to not replace the directory with a symlink, but instead keep the dir and replace the individual font files with symlinks. This avoids all the issues surrounding directory replacement. I'll prepare an update for this.
Ah I see now that widelands actually is the package where this replacement problem happened before, but then it was replacing a symlink with a directory and Andy Mender copied my work around for that. But in the Culmus case we did not have a symlink before, so the workaround is now actually causing a symlink. So in this case we need to keep the dir (rather then keep the symlink). I can see how this is all somewhat confusing. I'll add a note the specfile about this while fixing this.
FEDORA-2021-e64087307a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e64087307a
FEDORA-2021-1379ae692c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1379ae692c
FEDORA-2021-1379ae692c has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1379ae692c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1379ae692c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-e64087307a has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e64087307a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e64087307a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-1379ae692c has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
@
Hi Hans, thanks for caring and preparing an update! The update that is needed to fix the upgrade block to F34 is still in testing though: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e64087307a I would have expected that this would hit stable as a 0-day update. It seems stuck to me. Could you explain why? I’m waiting for it to land to upgrade to F34. Thanks! Torsten
Weird, I enabled auto stable based on both time in stable and on reaching 3+ karma, so it should have been pushed to stable. Anyways I've pushed it manually now, so it should show up in the next batch of updates. Note you can also upgrade widelands to the f33 version with the same fixes while still running f33 and then move to f34, that should work right away.
FEDORA-2021-e64087307a has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.