Closed miabbott closed 1 year ago
We can simplify the second command with the one in https://discussion.fedoraproject.org/t/simplifying-updates-for-rpm-fusion-packages-and-other-packages-shipping-their-own-rpm-repos/30364/34?u=siosm:
$ sudo rpm-ostree update \
--uninstall rpmfusion-free-release \
--uninstall rpmfusion-nonfree-release \
--install rpmfusion-free-release \
--install rpmfusion-nonfree-release
Maybe we should provide our own full set of commands until this is fixed in the RPM Fusion Wiki.
The "correct" and complete way of setting this up right directly is:
# Install RPM Fusion repos
$ sudo rpm-ostree 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
$ reboot
# Replace the versioned local packages by overlayed packages from the repo
$ sudo rpm-ostree update \
--uninstall rpmfusion-free-release \
--uninstall rpmfusion-nonfree-release \
--install rpmfusion-free-release \
--install rpmfusion-nonfree-release
$ reboot
We can simplify the second command with the one in https://discussion.fedoraproject.org/t/simplifying-updates-for-rpm-fusion-packages-and-other-packages-shipping-their-own-rpm-repos/30364/34?u=siosm:
$ sudo rpm-ostree update \ --uninstall rpmfusion-free-release \ --uninstall rpmfusion-nonfree-release \ --install rpmfusion-free-release \ --install rpmfusion-nonfree-release
Good catch; I was just copy/pasting from the top comment on that thread.
Updated with Timothee's suggestions :arrow_up:
This is definitely an improvement, but I don't know whether we rather shouldn't fix the RPMFusion wiki instead - specifically the https://rpmfusion.org/Howto/OSTree linked from https://rpmfusion.org/Configuration. Also https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion/ might need a "OSTree based" specific section as well. I would also like to see a header section as in the Fedora Docs:
"" This page discusses third-party software sources not officially affiliated with or endorsed by the Fedora Project. Use them at your own discretion. Fedora recommends the use of free and open source software and avoidance of software encumbered by patents. ""
We could take as it is only replacing the "This page" with "This section".
@tpopela See https://discussion.fedoraproject.org/t/simplifying-updates-for-rpm-fusion-packages-and-other-packages-shipping-their-own-rpm-repos/30364/32?u=siosm. I don't feel good pinging folks so many times and I can not edit the Wiki.
Linking https://github.com/coreos/rpm-ostree/issues/1978 here too
We should try to find another workaround that does not involve two reboots.
This is definitely an improvement, but I don't know whether we rather shouldn't fix the RPMFusion wiki instead - specifically the https://rpmfusion.org/Howto/OSTree linked from https://rpmfusion.org/Configuration. Also https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion/ might need a "OSTree based" specific section as well. I would also like to see a header section as in the Fedora Docs:
"" This page discusses third-party software sources not officially affiliated with or endorsed by the Fedora Project. Use them at your own discretion. Fedora recommends the use of free and open source software and avoidance of software encumbered by patents. ""
We could take as it is only replacing the "This page" with "This section".
Updated with the warning message :arrow_up:
Thank you @miabbott !!
I've (anecdotally) seen a number of folks complaining about using RPM Fusion with Silverblue and the challenges that come with that.
Let's just admit the obvious and give users the straight-forward way of enabling the repos.