Do you have any layered packages? Verify with
~$ rpm-ostree status
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Do you have any layered packages? Verify with
~$ rpm-ostree status
I have two entries each with a different BaseCommit. One has dnf-automatic, libreoffice, vpn app. The other has the same three plus rpmfusion-free-release and rpmfusion-nonfree-release.
I just recently installed the rpmfusion packages but I didn't know what I was doing. Just found something online suggesting an alternative update method for Silverblue.
dnf-automatic
looks a like a package designed for non-Atomic versions of Fedora.libreoffice
is available as a flatpak. You should avoid layering packages as much as possible./etc/yum.repos.d
. It is possible this package does not support Fedora 42 yet. You can try removing it to see if the update succeeds.rpmfusion
is a repository providing packages that often cannot be pre-installed due to some legal reasons. Unless you need/installed a package from there, uninstall it.So basically it's not allowing me to update because of these layered packages and every time I want to update, I have to uninstall them and reinstall after I update?
Kind of. Atomic versions of Fedora are designed to be set it and forget it kind of distro. New releases can cause issues with third party packages.
It worked! I uninstalled dnf-automatic, libreoffice, and rpmfusion and then restarted.
Thanks for your help! Will keep your tips in mind for the future and try to avoid layering.
Make sure you edit your post with the solution and link to it!✨
Done 😀
Cheers!
Can you confirm Mullvad VPN (if this is your vpnVPN) works on the latest atomic fedora after reinstalling?
Yup no issues here
Also, as I reinstall a flathub version of LibreOffice, should I choose the Fedora repo or Flathub repo?
Fedora version has been packaged by Fedora Linux developers, while the other is published by LibreOffice developers themselves. The former may be only slightly out of date. Choose whichever one you feel comfortable with.
Thanks again!
Also keep in mind the fedora versions adhere to strict policy regarding open source. For example, Fedora's Firefox doesn't ship with all codes needed for video playback of all formats.
Thanks for the additional info. Maybe I will opt for the developer version instead in that case.
What I did was [add Flathub, don't remember if it's already done by default, and] go through all installed apps in the software center once, check if the Flathub version was made by the app's devs directly, and if so, switch the source from Fedora to Flathub. I only kept the Fedora version if the Flatpak was made by an independent third party.
I'm not sure if Silverblue is even the right distro for me if I care about such things this much, though.
Yeah I think I will follow the same approach. 3rd parties are a bit risky.
For the "none of the providers can be installed" errors, there's likely been a package name change or removal in 42. I ran into a similar issue with Bazzite. I uninstalled the offending package, then reinstalled after the update.
The last one says there's a package conflict. You'll need to remove the one you have in order to proceed.
Problem is I don't know what the packages are or what they were for even. I don't recall installing them.
Have you layered any packages?
Yes, I did. I was warned about doing so before but now I understand 😆
Layering isn't bad, but what happens is with each update, the system tries to re-layer each of those packages. If some are missing from the next deployment's rpm database or have been superceded by another package, you'll run into these kinds of issues.
In my case, for example, my next deployment was missing java-17-openjdk
, because it had been superceded by other metapackages.
I see now. So it's possible for someone to run into multiple issues which can make updating a hassle.
Do you have "dnf" installed specifically? What layered packages do you have? I ran rpm -qa
on my system and didn't find any packages containing "dnf"
Also not sure if it's useful but here's my ostree remote list --show-urls
output:
fedora https://ostree.fedoraproject.org/
fedora-compose https://kojipkgs.fedoraproject.org/compose/ostree/repo/
I also always have the same issue trying to use the UI. I had to use rpm-ostree rebase
for the upgrade to 41 and 42, but it worked for me with no issues.
Turns out the issue was with one or some of the layered packages I had. After uninstalling, the CLI method to upgrade worked. See the post below, but thanks for your reply.
I'm not an expert but it looks like you're using the wrong command. You're not trying to rebase, just update
$ rpm-ostree update
Rpm-ostree rebase switches branch, instead of pulling the latest build from the branch.
Exactly
Upgrading 41->42 for silverblue requires a branch change. An upgrade won't do it.
Interesting. Worked for me!
Maybe I just tried to early, before they mainlined the 42 line. I'm on kinoite not silverblue, which might also be relevant.