Upgrade from v39 to v40 failed with an error 404

Hello.

I’m trying to upgrade my Bazzite system on a Rog Ally but it failed with an error 404.

It seems that the system is looking for a non=existing kernel.

Here is what I’m done (my last try at least).

$ sudo rpm-ostree cleanup -m
$ sudo rpm-ostree refresh-md
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:lukenukem:asus-linux copr:copr.fedorainfracloud.org:matte-schwartz:sunshine copr:copr.fedorainfracloud.org:sentry:kernel-ba fedora-cisco-openh264 updates fedora google-chrome rpmfusion-free-updates-testing rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree-updates rpmfusion-nonfree copr:copr.fedorainfracloud.org:codifryed:CoolerControl code updates-archive
Updating metadata for 'copr:copr.fedorainfracloud.org:lukenukem:asus-linux'... done
Updating metadata for 'copr:copr.fedorainfracloud.org:matte-schwartz:sunshine'... done
Updating metadata for 'copr:copr.fedorainfracloud.org:sentry:kernel-ba'... done
Updating metadata for 'fedora-cisco-openh264'... done
Updating metadata for 'updates'... done
Updating metadata for 'fedora'... done
Updating metadata for 'google-chrome'... done
Updating metadata for 'rpmfusion-free-updates-testing'... done
Updating metadata for 'rpmfusion-free-updates'... done
Updating metadata for 'rpmfusion-free'... done
Updating metadata for 'rpmfusion-nonfree-updates-testing'... done
Updating metadata for 'rpmfusion-nonfree-updates'... done
Updating metadata for 'rpmfusion-nonfree'... done
Updating metadata for 'copr:copr.fedorainfracloud.org:codifryed:CoolerControl'... done
Updating metadata for 'code'... done
Updating metadata for 'updates-archive'... done
Importing rpm-md... done
rpm-md repo 'copr:copr.fedorainfracloud.org:lukenukem:asus-linux'; generated: 2024-05-31T08:09:25Z solvables: 5
rpm-md repo 'copr:copr.fedorainfracloud.org:matte-schwartz:sunshine'; generated: 2024-06-02T08:36:28Z solvables: 2
rpm-md repo 'copr:copr.fedorainfracloud.org:sentry:kernel-ba'; generated: 2024-05-12T09:02:15Z solvables: 40
rpm-md repo 'fedora-cisco-openh264'; generated: 2024-03-12T12:13:24Z solvables: 4
rpm-md repo 'updates'; generated: 2024-06-04T02:13:19Z solvables: 24732
rpm-md repo 'fedora'; generated: 2023-11-01T00:12:39Z solvables: 70825
rpm-md repo 'google-chrome'; generated: 2024-05-31T17:00:31Z solvables: 3
rpm-md repo 'rpmfusion-free-updates-testing'; generated: 2024-05-31T14:41:25Z solvables: 3
rpm-md repo 'rpmfusion-free-updates'; generated: 2024-05-31T14:41:16Z solvables: 182
rpm-md repo 'rpmfusion-free'; generated: 2023-11-04T16:49:08Z solvables: 445
rpm-md repo 'rpmfusion-nonfree-updates-testing'; generated: 2024-05-31T14:57:31Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-updates'; generated: 2024-05-31T14:57:25Z solvables: 87
rpm-md repo 'rpmfusion-nonfree'; generated: 2023-11-04T17:26:32Z solvables: 208
rpm-md repo 'copr:copr.fedorainfracloud.org:codifryed:CoolerControl'; generated: 2024-04-17T03:43:10Z solvables: 6
rpm-md repo 'code'; generated: 2024-06-04T03:14:35Z solvables: 386
rpm-md repo 'updates-archive'; generated: 2024-05-17T02:42:10Z solvables: 48685

$ ujust update

── 09:13:33 - System update ────────────────────────────────────────────────────
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-ally:stable
Importing: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-ally:stable (digest: sha256:4428e1ba0720984a322b2de5598228ab3433c9a277eb71896e80f2d52e780e9c)
ostree chunk layers already present: 34
ostree chunk layers needed: 31 (1,6 Go)
custom layers needed: 4 (3,4 Go)
Checking out tree b33e018... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:lukenukem:asus-linux copr:copr.fedorainfracloud.org:matte-schwartz:sunshine copr:copr.fedorainfracloud.org:sentry:kernel-ba fedora-cisco-openh264 updates fedora google-chrome rpmfusion-free-updates-testing rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree-updates rpmfusion-nonfree copr:copr.fedorainfracloud.org:codifryed:CoolerControl code updates-archive
Updating metadata for 'copr:copr.fedorainfracloud.org:lukenukem:asus-linux'... done
Updating metadata for 'copr:copr.fedorainfracloud.org:matte-schwartz:sunshine'... done
Updating metadata for 'copr:copr.fedorainfracloud.org:sentry:kernel-ba'... done
error: Updating rpm-md repo 'copr:copr.fedorainfracloud.org:sentry:kernel-ba': cannot update repo 'copr:copr.fedorainfracloud.org:sentry:kernel-ba': 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/sentry/kernel-ba/fedora-40-x86_64/repodata/repomd.xml (IP: 13.249.9.102)
System update failed: 
   0: Command failed: `/usr/bin/rpm-ostree upgrade`
   1: `/usr/bin/rpm-ostree` failed: exit status: 1

Location:
   src/steps/os/linux.rs:273
Retry? (y)es/(N)o/(s)hell/(q)uit

$rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-ally:stable
                   Digest: sha256:b6c232eec945a87c359a6b1ca6694dc2e4987170f2019151b09992262a1bb1ab
                  Version: 39.20240415.0 (2024-04-15T15:45:17Z)
          LayeredPackages: code iperf3 mono-complete nmap powerline-fonts qemu-img sysbench
            LocalPackages: google-chrome-stable-123.0.6312.105-1.x86_64
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf" ' 

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-ally:stable
                   Digest: sha256:b6c232eec945a87c359a6b1ca6694dc2e4987170f2019151b09992262a1bb1ab
                  Version: 39.20240415.0 (2024-04-15T15:45:17Z)
          LayeredPackages: code iperf3 mono-complete nmap powerline-fonts qemu-img
            LocalPackages: google-chrome-stable-123.0.6312.105-1.x86_64
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf" ' 

I checked and indeed, there is no v40 inside Index of /results/sentry/kernel-ba/

So, I guess I’ve to change the kernel, probably the “kernel-fsync/fedora-40-x86_64” as it seems the most up to date version, but: how I’m supposed to do that?

Thanks for your help.

Try this, from the 3.0 announcement post:

sudo rm /etc/yum.repos.d/_copr_sentry-kernel-ba.repo

Then try to update again.

Thanks for sharing this link.
Sorry I missed this post and obviously my search keywords weren’t pertinent :sweat_smile:

I will give it a try tonight.

Solved … :slight_smile:

I executed the two recommended commands, and voilà… it was pretty fast.

The system seems stable now. We’ll see how it goes.

Thanks for pointing me to this post (I missed it).

2 Likes