One thing to add is that Discover updates from other sources including flatpak.
Linux
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.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
and firmware and BIOS updates, too.
I have my update stuff put into a simple bash script that includes flatpak so that gets taken care of.
Discovers talks to PackageKit, a project that attempts to abstract packaging concepts. So rather than Discover supporting dnf, apt, pacman, etc, it talks to PackageKit and that handles the lower level stuff.
But PackageKit is not perfect. It’s better to use dnf directly and use the flag for offline upgrades (for more reliable upgrades).
Backend of discover doesn't know about that u did dnf update and think they are pending update in it's database when y restarting it makes dnf update checks underhood and getting informed that there is no update anymore
It still restarts and does the whole "Updating, please do not turn off your computer" screen. Does dnf take care of that all? Is it even necessary to restart?
Offline updates is one of the things that annoyed me most back when I was using Windows, and somehow they've managed to make it even worse in Fedora. Luckily you can turn it off in F41 by going to the "Software Update" section in system settings, and then changing "Apply system updates" to "Immediately". Haven't upgraded to 42 yet but I hope the setting is still there.
Using dnf is betrer than using Discover. Mostly because sudo dnf history undo last
exists, which undoes the latest "transaction".
(Each transaction is an action of removing, reinstalling, updating and installing (a) package(s).)