Summary: | Offline updates still used, even though explicitly deactivated | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Tobias G. <tobi.goergens> |
Component: | Updates (offline) | Assignee: | Dan Leinir Turthra Jensen <leinir> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | aleixpol, katyaberezyaka, nate, onlineplayer.dp |
Priority: | NOR | ||
Version: | 5.22.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: |
Description
Tobias G.
2021-06-20 00:00:10 UTC
Can you confirm that "kreadconfig5 --file discoverrc --group Software --key UseOfflineUpdates" returns false on your system? (In reply to Aleix Pol from comment #1) > Can you confirm that "kreadconfig5 --file discoverrc --group Software --key > UseOfflineUpdates" returns false on your system? I cannot confirm that, when I activate the offline option, it returns true. But when I deactivate it, it just returns nothing. So that might be the issue I guess. :D Weeeird. Can you see what's on the config file? "$ cat .config/discoverrc" You should have something like: [Software] UseOfflineUpdates=false (In reply to Aleix Pol from comment #3) > Weeeird. > > Can you see what's on the config file? "$ cat .config/discoverrc" > > You should have something like: > > [Software] > UseOfflineUpdates=false It shows me this when deactivated: $ cat .config/discoverrc [FlatpakSources] Sources=flathub-beta,flathub [Window] geometry=2501,1006,933,597 visibility=2 when activated this: $ cat .config/discoverrc [FlatpakSources] Sources=flathub-beta,flathub [Software] UseOfflineUpdates=true [Window] geometry=2501,1006,933,597 visibility=2 It is really strange that the entry just completely disappears, when deactivated, instead of being set to false. Can you check that your system isn't setting the PK_OFFLINE_UPDATE environment variable? (In reply to Aleix Pol from comment #5) > Can you check that your system isn't setting the PK_OFFLINE_UPDATE > environment variable? Checked it, using $ env | grep PK_OFFLINE_UPDATE but no output, so that doesn't seem to be the case either. The entry disappears when you turn it off because that's the default value; this is standard behavior for config files across all KDE software. I wonder if Kubuntu uses true as its own default such that having no value in the config file falls back to true and gives you offline updates again. Can you try adding [Software] UseOfflineUpdates=false to your config file and see if that works? (In reply to Nate Graham from comment #7) > The entry disappears when you turn it off because that's the default value; > this is standard behavior for config files across all KDE software. I wonder > if Kubuntu uses true as its own default such that having no value in the > config file falls back to true and gives you offline updates again. > > Can you try adding > > [Software] > UseOfflineUpdates=false > > to your config file and see if that works? I tried that, but it still used offline updates when it updated my system. :( I really can't understand why now... Well that's disturbing. |