Bug 1962993 - dnf errors with ghostscript-9.54.0-1.fc34
Summary: dnf errors with ghostscript-9.54.0-1.fc34
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Lescak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1965717
TreeView+ depends on / blocked
 
Reported: 2021-05-21 02:34 UTC by Matt Fagnani
Modified: 2021-06-04 01:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-03 10:23:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2021-05-21 02:34:23 UTC
Description of problem:

I ran sudo dnf offline-upgrade download in a F34 KDE Plasma installation with updates-testing enabled. The following dnf errors occurred which indicated problems with ghostscript-core.

Problem 1: package ghostscript-core-9.53.3-5.fc34.x86_64 requires ghostscript(x86-64) = 9.53.3-5.fc34, but none of the providers can be installed
  - cannot install both ghostscript-9.54.0-1.fc34.x86_64 and ghostscript-9.53.3-5.fc34.x86_64
  - cannot install the best update candidate for package ghostscript-core-9.53.3-5.fc34.x86_64
  - cannot install the best update candidate for package ghostscript-9.53.3-5.fc34.x86_64
 Problem 2: problem with installed package ghostscript-core-9.53.3-5.fc34.x86_64
  - package ghostscript-core-9.53.3-5.fc34.x86_64 requires ghostscript-tools-fonts(x86-64) = 9.53.3-5.fc34, but none of the providers can be installed
  - cannot install both ghostscript-tools-fonts-9.54.0-1.fc34.x86_64 and ghostscript-tools-fonts-9.53.3-5.fc34.x86_64
  - cannot install the best update candidate for package ghostscript-tools-fonts-9.53.3-5.fc34.x86_64

ghostscript-9.54.0-1.fc34 doesn't contain ghostscript-core which I had installed https://koji.fedoraproject.org/koji/buildinfo?buildID=1748699 

The same errors happened when I ran sudo dnf upgrade --refresh

Version-Release number of selected component (if applicable):
ghostscript-9.54.0-1.fc34.x86_64

How reproducible:
The dnf errors happened 2/2 times.

Steps to Reproduce:
1. Boot a F34 KDE Plasma installation updated to 2021-5-20 
2. Log in to Plasma on Wayland
3. Start Konsole
4. sudo dnf offline-upgrade download or sudo dnf upgrade --refresh with updates-testing enabled

Actual results:
dnf errors with ghostscript-9.54.0-1.fc34

Expected results:
No errors would happen.

Additional info:

These are the ghostscript packages I had installed.
ghostscript-0:9.53.3-5.fc34.x86_64
ghostscript-core-0:9.53.3-5.fc34.x86_64
ghostscript-tools-fonts-0:9.53.3-5.fc34.x86_64
ghostscript-tools-printing-0:9.53.3-5.fc34.x86_64
libgs-0:9.53.3-5.fc34.x86_64

Comment 1 Michael J Gruber 2021-05-21 08:04:51 UTC
This comes from the fact that this update removed both the core package and the "conflicts" without adding a provides/obsoletes. I guess it would make more sense to do the gs954 first (as in my original pull request) and the change in package structure after (or the other way round), in any case testing upgrades with the new package structure...

To the packager's defense: The spec file contained comments which could be misread as "remove all these at once after F28 is EOLed", and so he did. It's the "at once" without a "provides" which created the problems. Compare with the entries for libgs providing ghostscript-devel.

Comment 2 Fedora Update System 2021-06-02 10:24:00 UTC
FEDORA-2021-41049aa9ae has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-41049aa9ae

Comment 3 Fedora Update System 2021-06-02 10:41:21 UTC
FEDORA-2021-738a7a9c2b has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-738a7a9c2b

Comment 4 Richard Lescak 2021-06-02 10:57:14 UTC
Hello Matt and thanks for the report. New update should solve the problem with ghostscript update. Afrer removal of ghostscript-core in new version, Provides/Obsoletes were added to enable update and to preserve dependencies for other packages.

Comment 5 Fedora Update System 2021-06-03 01:30:24 UTC
FEDORA-2021-738a7a9c2b 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-738a7a9c2b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-738a7a9c2b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Richard Lescak 2021-06-03 10:23:16 UTC
For now new Ghostscript 9.54.0 will stay only in Rawhide, where the update problem is fixed with ghostscript-9.54.0-2. Update will be unpushed from Fedora 33 and 34 at the moment, because of an incompatible changes in ghostscript.

Comment 7 Fedora Update System 2021-06-03 18:11:43 UTC
FEDORA-2021-738a7a9c2b has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-738a7a9c2b

Comment 8 Fedora Update System 2021-06-03 19:04:04 UTC
FEDORA-2021-41049aa9ae 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-41049aa9ae`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-41049aa9ae

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2021-06-03 20:50:01 UTC
FEDORA-2021-41049aa9ae has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-41049aa9ae

Comment 10 Fedora Update System 2021-06-04 01:17:50 UTC
FEDORA-2021-41049aa9ae 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-41049aa9ae`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-41049aa9ae

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-06-04 01:47:32 UTC
FEDORA-2021-738a7a9c2b 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-738a7a9c2b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-738a7a9c2b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.


Note You need to log in before you can comment on or make changes to this bug.