Bug 435525

Summary: Offline upgrades don't let you choose to not update certain packages
Product: [Applications] Discover Reporter: Michael <michael.hmich>
Component: Updates (offline)Assignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aleixpol, nate, postix, tagwerk19
Priority: NOR    
Version First Reported In: 5.21.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: new pkg bulk processing Discover Updater
"offline" processing

Description Michael 2021-04-08 19:41:09 UTC
the new way discover upgrade shows up with an unchangeable pkg bulk is a bad idea, for any reason the user might not like to upgrade certain packages now or never, now I can not even deselect on or many from the pkg bulk

about the offline upgrade, well don't know what to say about that, seems we are going back into windows steps and I do not see any reason for making the user 2 extra reboots
Comment 1 Michael 2021-04-08 19:44:27 UTC
Created attachment 137438 [details]
new pkg bulk processing Discover Updater
Comment 2 Michael 2021-04-08 19:46:02 UTC
Created attachment 137439 [details]
"offline" processing
Comment 3 Nate Graham 2021-04-09 02:11:38 UTC
The decision about whether to do offline or interactive updates is up to the distro, not Discover, so if you don't like them, you'll have to take it up with them. As for why it might be desirable, it's so that you don't end up with your system in a half-upgraded state, with software still running using old libraries still loaded into memory, while anything newly launches or any plugins newly loaded getting the new stuff. This situation causes tons and tons and tons and tons of subtle bugs for users, which is why a reboot is always recommended anyway after updating. People ignoring that advice has been the cause of millions of problems over the years. So this new method essentially makes the always-recommended reboot mandatory.

But again, that's neither here nore there; it's up to the distro, not Discover. So let's use this to track the fact that you can't de-select packages to upgrade when doing offline upgrades.
Comment 4 Michael 2021-04-09 09:51:51 UTC
well, it was always PIBCAK so I can understand the reason 

whatsoever, being able to make a pkg selection is certainly essential 

thanks
Comment 5 Michael 2021-04-15 13:07:24 UTC
well hope this is the solution for this disturbing matter ...

in /etc/xdg/discoverrc setting UseOfflineUpdates=true to false 

quite saucy setting a new config file or editing it without user's knowledge
Comment 6 Nate Graham 2021-04-15 14:58:34 UTC
FWIW we have just added a config UI for it in Plasma 5.22
Comment 7 Nate Graham 2025-09-18 20:47:11 UTC
This is the way offline updates work; they're all-or-nothing. If you want to be able to hold back specific packages, you should turn off offline updates.