Bug 2155975

Summary: dnf problems when updating to webkitgtk-2.38.3-1.fc37 involving nothing provides javascriptcoregtk6.0(x86-64) = 2.38.3-1.fc37 needed by webkit2gtk5.0-2.38.3-1.fc37.x86_64
Product: [Fedora] Fedora Reporter: Matt Fagnani <matt.fagnani>
Component: webkitgtkAssignee: Michael Catanzaro <mcatanza>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: gnome-sig, mcatanza, peter, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-23 18:28:55 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 Matt Fagnani 2022-12-23 06:24:59 UTC
Description of problem:

I was using a Fedora 37 KDE Plasma installation with the GNOME desktop installed. I tried to update to webkitgtk-2.38.3-1.fc37 https://bodhi.fedoraproject.org/updates/FEDORA-2022-4b0c87af0c from koji using 
sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/javascriptcoregtk4.0-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/javascriptcoregtk4.0-devel-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/javascriptcoregtk4.1-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/javascriptcoregtk5.0-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/webkit2gtk4.0-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/webkit2gtk4.0-devel-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/webkit2gtk4.1-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/webkit2gtk5.0-2.38.3-1.fc37.x86_64.rpm

dnf problems showed that nothing provides javascriptcoregtk6.0(x86-64) = 2.38.3-1.fc37 needed by webkit2gtk5.0-2.38.3-1.fc37.x86_64 

Problem 1: cannot install the best update candidate for package webkit2gtk5.0-2.38.2-1.fc37.x86_64
  - nothing provides javascriptcoregtk6.0(x86-64) = 2.38.3-1.fc37 needed by webkit2gtk5.0-2.38.3-1.fc37.x86_64
 Problem 2: problem with installed package webkit2gtk5.0-2.38.2-1.fc37.x86_64
  - package webkit2gtk5.0-2.38.2-1.fc37.x86_64 requires javascriptcoregtk5.0(x86-64) = 2.38.2-1.fc37, but none of the providers can be installed
  - cannot install both javascriptcoregtk5.0-2.38.3-1.fc37.x86_64 and javascriptcoregtk5.0-2.38.2-1.fc37.x86_64
  - cannot install the best update candidate for package javascriptcoregtk5.0-2.38.2-1.fc37.x86_64
  - nothing provides javascriptcoregtk6.0(x86-64) = 2.38.3-1.fc37 needed by webkit2gtk5.0-2.38.3-1.fc37.x86_64
======================================================================================================
 Package                            Architecture   Version                 Repository            Size
======================================================================================================
Upgrading:
 javascriptcoregtk4.0               x86_64         2.38.3-1.fc37           @commandline         6.6 M
 javascriptcoregtk4.0-devel         x86_64         2.38.3-1.fc37           @commandline         155 k
 javascriptcoregtk4.1               x86_64         2.38.3-1.fc37           @commandline         6.6 M
 webkit2gtk4.0                      x86_64         2.38.3-1.fc37           @commandline          17 M
 webkit2gtk4.0-devel                x86_64         2.38.3-1.fc37           @commandline         317 k
 webkit2gtk4.1                      x86_64         2.38.3-1.fc37           @commandline          18 M
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 javascriptcoregtk5.0               x86_64         2.38.3-1.fc37           @commandline         6.6 M
Skipping packages with broken dependencies:
 webkit2gtk5.0                      x86_64         2.38.3-1.fc37           @commandline          18 M

Transaction Summary
======================================================================================================
Upgrade  6 Packages
Skip     2 Packages

Total size: 49 M
Is this ok [y/N]: 

javascriptcoregtk6.0 doesn't appear to be in the F37 webkitgtk-2.38.3-1.fc37 build https://koji.fedoraproject.org/koji/buildinfo?buildID=2103494 but it's in webkitgtk-2.39.3-3.fc38 https://koji.fedoraproject.org/koji/buildinfo?buildID=2102512 The commit at https://src.fedoraproject.org/rpms/webkitgtk/c/ac26c980fffdb44d413d1f28b54b85a4c3f67f98?branch=f37 changed webkit2gtk5.0 to require javascriptcoregtk6.0%{?_isa} = %{version}-%{release}

I got the same errors with the following just to check that I didn't miss any rpms.
bodhi updates download --updateid=FEDORA-2022-4b0c87af0c
sudo dnf upgrade *rpm

Version-Release number of selected component (if applicable):
webkit2gtk5.0-2.38.3-1.fc37.x86_64

How reproducible:
The errors happened 2/2 times

Steps to Reproduce:
1. Boot a Fedora 37 KDE Plasma installation with the GNOME desktop group installed
2. Log in to Plasma on Wayland
3. Start konsole
4. sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/javascriptcoregtk4.0-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/javascriptcoregtk4.0-devel-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/javascriptcoregtk4.1-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/javascriptcoregtk5.0-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/webkit2gtk4.0-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/webkit2gtk4.0-devel-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/webkit2gtk4.1-2.38.3-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/webkitgtk/2.38.3/1.fc37/x86_64/webkit2gtk5.0-2.38.3-1.fc37.x86_64.rpm

Actual results:
dnf problems when updating to webkitgtk-2.38.3-1.fc37 involving nothing provides javascriptcoregtk6.0(x86-64) = 2.38.3-1.fc37 needed by webkit2gtk5.0-2.38.3-1.fc37.x86_64

Expected results:
No dnf problems would happen when updating.

Additional info:

Comment 1 Michael Catanzaro 2022-12-23 18:28:55 UTC
I've revoked the bad update and will try again. Thanks for reporting this.