Summary: | Offline updates still used, even though explicitly deactivated | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Tobias G. <kde-bugzilla.oink169> |
Component: | Updates (offline) | Assignee: | Dan Leinir Turthra Jensen <leinir> |
Status: | NEEDSINFO WAITINGFORINFO | ||
Severity: | normal | CC: | aleixpol, nate, onlineplayer.dp |
Priority: | NOR | ||
Version First Reported In: | 5.22.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
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. Can you still reproduce this in Plasma 6.4 or later? ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! |