Unable to update after rebasing to Silverblue 37

Hello. I’ve used Silverblue 36 for few months now with no issues. I had RPMFusion and Nvidia drivers overlaid, and Firefox overridden, but aside from that, did not modify the base image.

Yesterday I decided to rebase to 37. I updated my RPMFusion packages per these instructions, removed Nvida drivers (I used these instructions to initially install them, and I removed them by changing install to uninstall), and then rebased by using rpm-ostree rebase fedora:fedora/37/x86_64/silverblue.

It all went through, and I installed Nvidia drivers and overrode Firefox again. However, now I’m facing the following error when I try to update:

rpm-ostree upgrade
[user@fedora ~]$ rpm-ostree upgrade
note: automatic updates (stage) are enabled
2 metadata, 0 content objects fetched; 788 B transferred in 3 seconds; 0 bytes content written
Checking out tree d95fb35... done
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates fedora rpmfusion-free-updates-testing rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree phracek-PyCharm google-chrome rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2022-10-06T11:01:40Z solvables: 4
rpm-md repo 'fedora-modular' (cached); generated: 2022-10-24T09:21:36Z solvables: 1454
rpm-md repo 'updates-modular' (cached); generated: 2022-08-09T18:08:16Z solvables: 0
rpm-md repo 'updates' (cached); generated: 2022-08-09T18:08:15Z solvables: 0
rpm-md repo 'fedora' (cached); generated: 2022-10-24T09:28:20Z solvables: 66821
rpm-md repo 'rpmfusion-free-updates-testing' (cached); generated: 2022-10-24T16:52:11Z solvables: 10
rpm-md repo 'rpmfusion-free' (cached); generated: 2022-10-24T17:03:50Z solvables: 493
rpm-md repo 'rpmfusion-nonfree-updates-testing' (cached); generated: 2022-10-24T17:24:27Z solvables: 0
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2022-10-24T17:30:28Z solvables: 218
rpm-md repo 'phracek-PyCharm' (cached); generated: 2022-10-16T04:25:30Z solvables: 5
rpm-md repo 'google-chrome' (cached); generated: 2022-10-25T18:10:09Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2022-10-14T15:09:12Z solvables: 29
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2022-08-24T16:15:54Z solvables: 2
rpm-md repo 'updates-archive' (cached); generated: 2022-02-11T15:19:10Z solvables: 0
Resolving dependencies... done
error: Could not depsolve transaction; 2 problems detected:
 Problem 1: conflicting requests
  - package akmod-nvidia-3:520.56.06-1.fc37.x86_64 requires akmods, but none of the providers can be installed
  - package akmod-nvidia-3:515.65.01-2.fc37.x86_64 requires akmods, but none of the providers can be installed
  - package akmods-0.5.7-9.fc37.noarch requires (kernel-devel-matched if kernel-core), but none of the providers can be installed
  - package kernel-devel-matched-5.19.15-301.fc37.x86_64 requires kernel-core = 5.19.15-301.fc37, but none of the providers can be installed
  - cannot install both kernel-core-5.19.15-301.fc37.x86_64 and kernel-core-5.19.16-301.fc37.x86_64
 Problem 2: conflicting requests
  - package xorg-x11-drv-nvidia-3:515.65.01-1.fc37.x86_64 requires nvidia-kmod >= 3:515.65.01, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:520.56.06-1.fc37.x86_64 requires nvidia-kmod >= 3:520.56.06, but none of the providers can be installed
  - package kmod-nvidia-3:520.56.06-1.fc37.x86_64 requires akmod-nvidia = 3:520.56.06-1.fc37, but none of the providers can be installed
  - package kmod-nvidia-3:515.65.01-2.fc37.x86_64 requires akmod-nvidia = 3:515.65.01-2.fc37, but none of the providers can be installed
  - package akmod-nvidia-3:520.56.06-1.fc37.x86_64 requires akmods, but none of the providers can be installed
  - package akmod-nvidia-3:515.65.01-2.fc37.x86_64 requires akmods, but none of the providers can be installed
  - package akmods-0.5.7-9.fc37.noarch requires (kernel-devel-matched if kernel-core), but none of the providers can be installed
  - package kernel-devel-matched-5.19.15-301.fc37.x86_64 requires kernel-core = 5.19.15-301.fc37, but none of the providers can be installed
  - cannot install both kernel-core-5.19.15-301.fc37.x86_64 and kernel-core-5.19.16-301.fc37.x86_64
  - package kernel-5.19.16-301.fc37.x86_64 requires kernel-core-uname-r = 5.19.16-301.fc37.x86_64, but none of the providers can be installed

Any help regarding what I’m doing wrong would be much appreciated.

Also

rpm-ostree status
[user@fedora ~]$ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● fedora:fedora/37/x86_64/silverblue
                  Version: 37.20221024.n.0 (2022-10-24T07:55:03Z)
               BaseCommit: 0784b1cfc32ee5cae4231a6313f1f329b77b00a72c1d90499f3d79a0cf8e45d3
             GPGSignature: Valid signature by ACB5EE4E831C74BB7C168D27F55AD3FB5323552A
      RemovedBasePackages: firefox firefox-langpacks 105.0.1-2.fc37
          LayeredPackages: akmod-nvidia rpmfusion-free-release rpmfusion-nonfree-release xorg-x11-drv-nvidia

  fedora:fedora/37/x86_64/silverblue
                  Version: 37.20221024.n.0 (2022-10-24T07:55:03Z)
               BaseCommit: 0784b1cfc32ee5cae4231a6313f1f329b77b00a72c1d90499f3d79a0cf8e45d3
             GPGSignature: Valid signature by ACB5EE4E831C74BB7C168D27F55AD3FB5323552A
      RemovedBasePackages: firefox firefox-langpacks 105.0.1-2.fc37
          LayeredPackages: akmod-nvidia rpmfusion-free-release rpmfusion-nonfree-release xorg-x11-drv-nvidia

  fedora:fedora/36/x86_64/silverblue
                  Version: 36.20221024.0 (2022-10-24T13:32:39Z)
               BaseCommit: 4a91f73c7db6ba5b605c9db96f22cd2eeb2ef798a932bd372a2f3f795de873bd
             GPGSignature: Valid signature by 53DED2CB922D8B8D9E63FD18999F7CBF38AB71F4
      RemovedBasePackages: firefox 105.0.2-1.fc36
          LayeredPackages: akmod-nvidia rpmfusion-free-release rpmfusion-nonfree-release xorg-x11-drv-nvidia
                   Pinned: yes

Hello,

I had the same problem when I rebased my installation to fedora 37 (also have RPMFusion and Nvidia)

Fixed it with the following steps:

$> rpm-ostree refresh-md -f
$> rpm-ostree upgrade

Seems like the repos cache don’t update when rebasing and/or updating RPMFusion, so the upgrade tries to pull packages from the old repos, the first step forces the cache to be updated.