Hi!
I wanted to understand the state of Third party repositories (RPM Fusion, but also eventually other third party repos eg Skype) during an upgrade of Silverblue (33 to 34 eg).
In workstation that is very polished.
Is that similar on Silverblue?
Maybe there are some special tricks in that regard - but I must admit that I do have trouble doing rebase due to RPM Fusion. Unfortunately the main documentation only covers rebasing when using straight fedora repos.
So overall how is the situation?
Does third party repo have to be removed before upgrade???
Just recently I found something that makes rebaseing to me really easy:
- First of: you need to remove the rpm-fusion repos. This might look like
%1
below. - In case a rebase is not possible due to conflicts through packages you installed from rpmfusion, you can just factory reset your current installation
%2
. This is probably not a great deal especially if you use toolbox a lot.
%1 $ rpm-ostree rebase fedora:fedora/33/x86_64/silverblue --uninstall=rpmfusion-nonfree-release-32-1.noarch --uninstall=rpmfusion-free-release-32-1.noarch
%2 $ rpm-ostree reset
All of this makes it pretty easy to jump in between fedora versions. 5 days ago I was using rawhide, in a matter of just a few minutes I switched to fedora 32 and again just a few minutes later I switched to fedora 33 without any problems.
To me this only leaves the matter of groupupdate
in case of Multimedia
. rpm-ostree
doesn’t seem to support groupupdate
, currently I just use a fedora container to figure out the dependencies I want to install like:
$ podman run -it --rm fedora:33 bash
[root@88864240c6fc /]# dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
[…]
Complete!
[root@88864240c6fc /]# dnf groupupdate Multimedia
RPM Fusion for Fedora 33 - Free - Updates 818 kB/s | 409 kB 00:00
RPM Fusion for Fedora 33 - Free 1.7 MB/s | 897 kB 00:00
RPM Fusion for Fedora 33 - Nonfree - Updates 259 kB/s | 70 kB 00:00
RPM Fusion for Fedora 33 - Nonfree 892 kB/s | 278 kB 00:00
Dependencies resolved.
=======================================================================================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=======================================================================================================================================================================================================================================================================================================
Upgrading:
systemd-libs x86_64 246.13-1.fc33 updates 579 k
Installing group/module packages:
PackageKit-gstreamer-plugin x86_64 1.2.2-2.fc33 updates 18 k
alsa-plugins-pulseaudio x86_64 1.2.2-4.fc33 updates 43 k
alsa-ucm noarch 1.2.4-5.fc33 updates 59 k
alsa-utils x86_64 1.2.4-2.fc33 updates 1.1 M
gstreamer1-libav x86_64 1.18.2-1.fc33 rpmfusion-free-updates 290 k
gstreamer1-plugins-bad-free x86_64 1.18.2-1.fc33 updates 2.5 M
gstreamer1-plugins-bad-freeworld x86_64 1.18.2-3.fc33 rpmfusion-free-updates 250 k
gstreamer1-plugins-good x86_64 1.18.2-1.fc33 updates 2.1 M
gstreamer1-plugins-ugly x86_64 1.18.2-1.fc33 rpmfusion-free-updates 194 k
pulseaudio x86_64 14.0-2.fc33 updates 1.0 M
pulseaudio-module-x11 x86_64 14.0-2.fc33 updates 31 k
Installing dependencies:
[…]
Thanks for your answers!
That was very instructive.
So overall for example upgrading (graphically with gnome software lets say) from FSilverblue 33 to 34 will fail if i have rpmfusion enabled on the system?
I’m glad if can help.
The chances are high that a direct upgrade fails yeah, but either way you need to do the upgrades via CLI because rpm-ostree
isn’t integrated into Gnome Software, yet.
Whenever that fails you can use rpm-ostree status
in order to identify which packages you installed (aka layered) into your system and use that is base to manage those packages in future versions. This looks like the following on my machine:
# rpm-ostree status
State: idle
Deployments:
â—Ź ostree://fedora:fedora/33/x86_64/silverblue
Version: 33.20210421.0 (2021-04-21T21:23:03Z)
BaseCommit: d9abaf82b15f3026ff4501c650361f7a10ce100ed0d92b54b31c4613205437ea
GPGSignature: Valid signature by 963A2BEB02009608FE67EA4249FD77499570FF31
LayeredPackages: PackageKit-gstreamer-plugin fedora-workstation-repositories gstreamer1-libav gstreamer1-plugins-bad-freeworld
gstreamer1-plugins-ugly lame libvirt virt-install virt-manager
LocalPackages: rpmfusion-nonfree-release-33-1.noarch rpmfusion-free-release-33-1.noarch