Bug 1903009
| Summary: | Unable to update segamath-doc-en because of conflicts | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel <danielsun3164> |
| Component: | sagemath | Assignee: | Paulo Andrade <paulo.cesar.pereira.de.andrade> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 33 | CC: | jam, loganjerry, paulo.cesar.pereira.de.andrade |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | sagemath-9.2-3.fc33 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-18 01:09:49 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
Daniel
2020-12-01 06:03:08 UTC
*** Bug 1903189 has been marked as a duplicate of this bug. *** This is (sort of) my fault. I added the %pretrans scriptlet required to handle replacing a directory with a symlink, as described here: https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/. I did a test build, installed the old version of sagemath in a mock chroot, and verified that this problem did not happen when upgrading to the new version. Then I tried submitting the build to koji. Koji's SRPM creator choked on the line "%pretrans doc-en -p <lua>" with an error indicating it did not understand the package name. (I didn't write the exact error down, alas!) So I removed the package name in commit 483f4c9, hoping that "%pretrans -p <lua>" would work, since it should still run before the entire RPM transaction, right? Wrong. I don't know what to do. The correct form works fine in mock, but koji doesn't like it. The incorrect form doesn't work. Now what? For those stuck on this, a workaround is to completely uninstall sagemath, then reinstall from scratch. The documentation is no longer installed by default, so if you want it you will also have to install sagemath-doc and sagemath-doc-XX, where XX is your language of choice. I'll keep trying to figure this out. If anybody out in bugzilla land knows what to do, I'd appreciate a pointer. Maybe it's a bug in koji? Is there an update pending for it? FEDORA-2020-3ec995517b has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-3ec995517b FEDORA-2020-3ec995517b 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-2020-3ec995517b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-3ec995517b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. (In reply to Jeff MacDonald from comment #3) > Maybe it's a bug in koji? Is there an update pending for it? It turns out it was a bug in my brain, now fixed. Please try the new update. Sorry for the delay. Thank you for your contact. I run command `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-3ec995517b` as following, After that, `sudo dnf update` got the same conflict error. $ sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-3ec995517b Fedora 33 - x86_64 - Test Updates 761 kB/s | 19 MB 00:25 Slack 1.4 kB/s | 1.0 kB 00:00 Fedora 33 - x86_64 - VirtualBox 10 kB/s | 6.9 kB 00:00 Errors during downloading metadata for repository 'virtualbox': - Status code: 404 for http://download.virtualbox.org/virtualbox/rpm/fedora/33/x86_64/repodata/repomd.xml (IP: 23.210.220.49) Error: Failed to download metadata for repo 'virtualbox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Ignoring repositories: virtualbox Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Upgrading: arb x86_64 2.19.0-1.fc33 updates-testing 1.0 M arb-devel x86_64 2.19.0-1.fc33 updates-testing 48 k Transaction Summary ================================================================================ Upgrade 2 Packages Total download size: 1.1 M Is this ok [y/N]: y Downloading Packages: (1/2): arb-devel-2.19.0-1.fc33.x86_64.rpm 177 kB/s | 48 kB 00:00 (2/2): arb-2.19.0-1.fc33.x86_64.rpm 739 kB/s | 1.0 MB 00:01 -------------------------------------------------------------------------------- Total 295 kB/s | 1.1 MB 00:03 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : arb-2.19.0-1.fc33.x86_64 1/4 Upgrading : arb-devel-2.19.0-1.fc33.x86_64 2/4 Cleanup : arb-devel-2.18.1-2.fc33.x86_64 3/4 Cleanup : arb-2.18.1-2.fc33.x86_64 4/4 Running scriptlet: arb-2.18.1-2.fc33.x86_64 4/4 Verifying : arb-2.19.0-1.fc33.x86_64 1/4 Verifying : arb-2.18.1-2.fc33.x86_64 2/4 Verifying : arb-devel-2.19.0-1.fc33.x86_64 3/4 Verifying : arb-devel-2.18.1-2.fc33.x86_64 4/4 Upgraded: arb-2.19.0-1.fc33.x86_64 arb-devel-2.19.0-1.fc33.x86_64 Complete! FEDORA-2020-3ec995517b has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. |