This is my one main complaint about Fedora Linux.
Discover shows updates to both your flatpaks apps and dnf apps
Because those are Flatpak packages
Those are Flatpak updates. dnf can’t see them I think.
happens to me in Arch with yay.
Discover checks knewstuff (global themes, plasmoids, etc.), Flatpaks, firmware and snaps, (which all have a relevant backend package something like (discover-backend-packagekit). Discover, well more like PackageKit, will let you know if a reboot is necessary if there’s something like a kernel update.
If the kernel, initramfs, or a driver is updated, you have to reboot the computer to apply them (you can’t reload the kernel while it’s running). A user might not know or notice this, so GUI installers (and some CLI tools like pacman on Endeavour) often warn the user or sometimes force a reboot.
I thought we would have learned from Windows, you should never force a reboot.
I’ve never seen a distro force a reboot, Windows style. Only ever advise people to reboot.
Well, then I don’t understand the downvotes, lol. The person i replied to said sometimes a distro will force a reboot, I said that’s bad, and a bunch of people apparently disagree with that.
So when people say ‘force a reboot’ there are two things it can mean:
-
a reboot is required for updates to actually take effect. Linux sometimes does this for things like the kernel.
-
the OS forces you to stop everything you are doing and reboots the machine. I have only ever seen Windows do this. Not Linux, not even MacOS.
This might be where the confusion is coming in. @rtxn is referring to number 1 but the rest of us are referring to number 2
-
I had reverse situation, discover said there’s none of apps i need or/and updates, while dnf was working flawlessly
Looks like flatpaks updates
TL;DR: Because Discover uses PackageKit…
Because Plasma Discover and Gnome Software use PackageKit to talk to DNF. PackageKit will download and cache updates for them to be installed later, but if you manually update via DNF, Plasma Discover and Gnome Software won’t know and therefore they will tell you there are still updates when there isn’t and take up space in the process.
Also, Plasma Discover and Gnome Software force a restart after updates because its easier than the user assuming they don’t have to restart when sometimes they should. Just easier to force it…
Those three reasons are why I dislike PackageKit and refuse to use the respective DE software update apps.
@heartsofwar @UntouchedWagons
I use Discover on Debian testing and Arch, never once did it force me to restart on Arch, but on Debian it would say it is recommended.
I don’t think that’s forcing me to restart, so I guess Fedora does that differently. 🤔AFAIK no distro forces you to reboot, but they all require it for some updates to take effect. You can’t reload the kernel while the system is running.
Fedora just makes that clearer to the user by only installing those updates when they’re going to be active - after a reboot. I think it also blocks new system updates until the current set is completely finished.
You can disable offline updates in the system settings, but I think they’re a good idea, especially for the average user.