Secret300 ,

Looks like flatpaks updates

therealjcdenton ,
@therealjcdenton@lemmy.zip avatar

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.

bruhduh ,
@bruhduh@lemmy.world avatar

I had reverse situation, discover said there's none of apps i need or/and updates, while dnf was working flawlessly

murph ,
@murph@lemmy.sdf.org avatar

Try this:
"sudo dnf update ; sudo flatpak update"

Pantherina ,

pkcon refresh

Presi300 ,
@Presi300@lemmy.world avatar

Discover shows updates to both your flatpaks apps and dnf apps

Bitrot ,
@Bitrot@lemmy.sdf.org avatar

You can turn it off in the settings (may be system settings, think it's called offline updates).

It's a feature Gnome added and then KDE added too. Fedora isn't the only distro to implement it, but the most popular.

rtxn ,

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.

lemmy_user_838586 ,

I thought we would have learned from Windows, you should never force a reboot.

520 ,

I've never seen a distro force a reboot, Windows style. Only ever advise people to reboot.

lemmy_user_838586 ,

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.

Markaos ,

Those distros "force" you to reboot when you want to update (as opposed to allowing you to do the update on the running system). Think Windows 7 and earlier, that kind of forced reboots, back when people were fine with the way Windows did updates.

520 ,

So when people say 'force a reboot' there are two things it can mean:

  1. a reboot is required for updates to actually take effect. Linux sometimes does this for things like the kernel.
  2. 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

cheerjoy ,
@cheerjoy@lemmy.world avatar

Because those are Flatpak packages

heartsofwar ,

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.

cooleech ,

@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. 🤔

drndramrndra ,

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.

Pantherina ,

I agree that packagekit is annoying and I just have automatic updates in the background using flatpak update -y and rpm-ostree update.

Voytrekk ,
@Voytrekk@lemmy.world avatar

Those updates in Discover are for flatpak, not dnf. You can verify that with flatpak update.

As for discover wanting to restart to do their update, that's a fedora thing for an extra level of safety while updating. You can read about it here.

Sentau ,

As for discover wanting to restart to do their update, that's a fedora thing for an extra level of safety while updating

That shouldn't trigger for flatpaks though. No risk of breaking the system while updating flatpaks

arisunz ,
@arisunz@lemmy.blahaj.zone avatar

Those are Flatpak updates. dnf can't see them I think.

happens to me in Arch with yay.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • linux@lemmy.ml
  • test
  • worldmews
  • mews
  • All magazines