Fedora Silverblue can't upgrade to Fedora 41 due to missing layered packages

I’ve been attempting to upgrade to Fedora 41 in Silverblue. However, rpm-ostree tells me certain packages can’t be found, despite being clearly layered. As far as I can tell, all the necessary repositories are active as well. What might be going wrong here?

This is the output of rpm-ostree status --verbose:

State: idle
AutomaticUpdates: disabled
Deployments:
● fedora:fedora/40/x86_64/silverblue (index: 0)
                  Version: 40.20241029.0 (2024-10-29T02:02:20Z)
               BaseCommit: 3cc6098c2ae595fd9de536cde0c8af7be0f701c7b6d5cc9c41cfde01f5b8e90a
                           ├─ repo-0 (2024-04-14T18:51:11Z)
                           ├─ repo-1 (2024-10-29T01:31:48Z)
                           └─ repo-2 (2024-10-29T01:39:45Z)
                   Commit: c2c4b595c27ac75d040a0556bb57f35c2b09c5fb9fe30ff92cfcf39b05718d2c
                   Staged: no
                StateRoot: fedora
             GPGSignature: 1 signature
                           Signature made Mon 28 Oct 2024 07:03:31 PM PDT using RSA key ID 0727707EA15B79CC
                           Good signature from "Fedora <fedora-40-primary@fedoraproject.org>"
      RemovedBasePackages: libavdevice-free libavfilter-free libavformat-free ffmpeg-free libpostproc-free libswresample-free libavutil-free libavcodec-free libswscale-free 6.1.2-1.fc40
                           mesa-va-drivers 24.1.7-1.fc40
         InactiveRequests: gstreamer1-plugin-libav
          LayeredPackages: cosmic-desktop distrobox ffmpeg ffmpegthumbnailer gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld
                           gstreamer1-plugins-ugly gstreamer1-vaapi langpacks-core-es langpacks-es libheif-freeworld libheif-tools
                           mesa-va-drivers-freeworld steam-devices tmux zsh
            LocalPackages: nordvpn-3.18.4-1.x86_64

  fedora:fedora/40/x86_64/silverblue (index: 1)
                  Version: 40.20241029.0 (2024-10-29T02:02:20Z)
               BaseCommit: 3cc6098c2ae595fd9de536cde0c8af7be0f701c7b6d5cc9c41cfde01f5b8e90a
                           ├─ repo-0 (2024-04-14T18:51:11Z)
                           ├─ repo-1 (2024-10-29T01:31:48Z)
                           └─ repo-2 (2024-10-29T01:39:45Z)
                   Commit: a277174291e49c09ec3c9d02c9bc2057bf806532be6fb05d20c92a9cd9728516
                StateRoot: fedora
             GPGSignature: 1 signature
                           Signature made Mon 28 Oct 2024 07:03:31 PM PDT using RSA key ID 0727707EA15B79CC
                           Good signature from "Fedora <fedora-40-primary@fedoraproject.org>"
      RemovedBasePackages: libavdevice-free libavfilter-free libavformat-free ffmpeg-free libpostproc-free libswresample-free libavutil-free libavcodec-free libswscale-free 6.1.2-1.fc40
                           mesa-va-drivers 24.1.7-1.fc40
         InactiveRequests: gstreamer1-plugin-libav
          LayeredPackages: cosmic-desktop distrobox ffmpeg ffmpegthumbnailer gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld
                           gstreamer1-plugins-ugly gstreamer1-vaapi langpacks-core-es langpacks-es libheif-freeworld libheif-tools
                           mesa-va-drivers-freeworld steam-devices sushi tmux zsh
            LocalPackages: nordvpn-3.18.4-1.x86_64

The following is the output for rpm-ostree upgrade:

⠚ Receiving metadata objects: 1/(estimating) 49 bytes/s 196 bytes...                                                                                2 metadata, 0 content objects fetched; 788 B transferred in 5 seconds; 0 bytes content written
Receiving metadata objects: 1/(estimating) 49 bytes/s 196 bytes... done
Checking out tree 8cece5c... done
Inactive requests:
  gstreamer1-plugin-libav (already provided by gstreamer1-plugin-libav-1.24.8-1.fc40.x86_64)
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora copr:copr.fedorainfracloud.org:phracek:PyCharm rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam google-chrome copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2024-03-12T11:45:42Z solvables: 3
rpm-md repo 'updates' (cached); generated: 2024-10-31T02:10:41Z solvables: 30184
rpm-md repo 'fedora' (cached); generated: 2024-04-14T18:51:11Z solvables: 74881
rpm-md repo 'copr:copr.fedorainfracloud.org:phracek:PyCharm' (cached); generated: 2024-03-18T11:54:41Z solvables: 14
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-10-27T08:05:13Z solvables: 17
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-10-03T14:20:29Z solvables: 2
rpm-md repo 'google-chrome' (cached); generated: 2024-10-30T08:18:14Z solvables: 4
rpm-md repo 'copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch' (cached); generated: 2024-10-30T07:49:28Z solvables: 1140
rpm-md repo 'updates-archive' (cached); generated: 2024-10-31T03:24:50Z solvables: 52579
error: Packages not found: ffmpeg, ffmpegthumbnailer, gstreamer1-plugins-bad-freeworld, gstreamer1-plugins-ugly, libheif-freeworld, mesa-va-drivers-freeworld

I think the issue is that RPM Fusion repo packages rpmfusion-free-release & rpmfusion-nonfree-release are gone. Can you still rollback to the previous image?

Better yet, reinstall or enable those repos (rpmfusion-nonfree and rpmfusion-free (and their corresponding updates repo)) then do the upgrade. That way the upgrade should pull in those missing packages for upgrade.

1 Like

To clarify there should be no need to reinstall Silverblue for this, but rather do rpm-ostree reset, rebase, then apply layering on the new version after that.

3 Likes

I tried to roll back as per Y.Z.'s suggestion, but this did not work. This worked, however. I removed all layered packages, rebased, and reinstalled RPM Fusion and all other packages afterwards. Thank you both for your help ! :slight_smile:

Added rpm-ostree

Normally you layer the rpmfusion packages according to their docs.

rpmfusion.org/Configuration

Then the packages should update themselves?