I am trying to upgrade from Fedora 35 to Fedora 37, as the former’s end of life draws near. I am following the recommended upgrade method for doing this.
There are no pending package updates to install, and I have restarted the machine. When I press the “Download” button on the Software application, it processes for a while and then shows the following error:
Unable to upgrade to Fedora Linux 37: could not do untrusted question as no klass support
Here’s a screenshot of it (Imgur link since the forum’s image upload feature failed).
Apparently this issue is supposed to be fixed, but it seems like it never landed on Fedora 35 (GNOME 41).
This Bugzilla issue had a suggestion that it might be caused by some third-party repo file in /etc/yum.repos.d
which has the line gpgcheck=0
. I checked mine, and none of them have that line (grep -w 'gpgcheck=0' /etc/yum.repos.d/*
prints nothing).
Any idea how to fix this?
I already upgraded another machine from F35 to F37 a couple of weeks ago, and did not encounter this problem with that machine.
Here’s what the journal had to say when I encountered the error:
dec 11 17:30:50 pupupuland packagekitd[1855]: WARNING: Repomd xml parser: Unknown element "revision"
dec 11 17:30:50 pupupuland packagekitd[1855]: WARNING: Repomd xml parser: Unknown element "revision"
dec 11 17:30:50 pupupuland packagekitd[1855]: WARNING: Repomd xml parser: Unknown element "revision"
dec 11 17:30:52 pupupuland packagekitd[1855]: Skipping refresh of copr:copr.fedorainfracloud.org:taw:element: cannot update repo 'copr:copr.fedorainfracloud.org:taw:element': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for https://download.copr.fedorainfracloud.org/results/taw/element/fedora-37-x86_64/repodata/repomd.xml (IP: 2600:9000:20fc:8c00:4:bbc1:1840:93a1)
dec 11 17:30:52 pupupuland packagekitd[1855]: WARNING: Repomd xml parser: Unknown element "revision"
dec 11 17:30:52 pupupuland packagekitd[1855]: WARNING: Repomd xml parser: Unknown element "revision"
dec 11 17:30:52 pupupuland packagekitd[1855]: WARNING: Repomd xml parser: Unknown element "revision"
dec 11 17:30:53 pupupuland PackageKit[1855]: upgrade-system transaction /114411_eacdacee from uid 1000 finished with need-untrusted after 2720ms
It seems like it’s not getting the expected response from Fedora’s server.