this post was submitted on 09 Aug 2025
26 points (96.4% liked)

Linux

57350 readers
428 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

I usually update through dnf but sometimes Discover says there is a "system upgrade" with however many packages that are pending upgrade, but no details provided. It requires a restart after completing.

What is the difference between the two?

Picture of what I'm talking about

top 8 comments
sorted by: hot top controversial new old
[–] raptir@mander.xyz 14 points 1 week ago (2 children)

One thing to add is that Discover updates from other sources including flatpak.

[–] dan@upvote.au 13 points 1 week ago

and firmware and BIOS updates, too.

[–] jws_shadotak@sh.itjust.works 1 points 1 week ago

I have my update stuff put into a simple bash script that includes flatpak so that gets taken care of.

[–] that_leaflet@lemmy.world 9 points 1 week ago

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).

[–] anon5621@lemmy.ml 1 points 1 week ago (1 children)

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

[–] jws_shadotak@sh.itjust.works 3 points 1 week ago (2 children)

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?

[–] fhein@lemmy.world 1 points 6 days ago

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).)