Summary: | Discover checks for updates daily, regardless of the frequency set in the Software Sources dialog. | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Eli Acherkan <eliac8> |
Component: | Notifier | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alsubbota, eliac8, nate |
Priority: | NOR | ||
Version: | 5.16.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/discover/76fcc0ecf29eabe52bfcc5c1cdb13a421bba46f1 | Version Fixed In: | 5.19.0 |
Bug Depends on: | |||
Bug Blocks: | 466693 |
Description
Eli Acherkan
2020-03-20 18:12:26 UTC
Proposed fix: https://phabricator.kde.org/D28167 Git commit 76fcc0ecf29eabe52bfcc5c1cdb13a421bba46f1 by Aleix Pol. Committed on 23/03/2020 at 12:05. Pushed by apol into branch 'master'. packagekit: Fix checking of APT::Periodic::Update-Package-Lists Summary: Currently `PackageKitNotifier` attempts to check the frequency by running `apt-config dump` and looking for the `Apt::Periodic::Update-Package-Lists` property in its output. However, on my system the property name starts with uppercase `APT` rather than `Apt`, and ends with a semicolon. This patch is a defensive, backward-compatible fix. It assumes that under some circumstances the previous code was correct to look for `Apt` and no ending semicolon. To cover both cases, I edited the regexp to allow for an optional semicolon, and to make the comparison case-insensitive. Reviewers: #discover_software_store, apol, ngraham Reviewed By: #discover_software_store, apol Subscribers: plasma-devel Tags: #plasma, #discover_software_store Differential Revision: https://phabricator.kde.org/D28167 M +1 -1 libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp https://commits.kde.org/discover/76fcc0ecf29eabe52bfcc5c1cdb13a421bba46f1 I have the same bug on my system: Discover 5.27.6 Operating System: Fedora Linux 38 KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.4.6-200.fc38.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz Memory: 31,0 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics Manufacturer: Micro-Star International Co., Ltd. Product Name: Creator Z16 A11UE System Version: REV:1.0 Please do not re-open old bug reports. New issues generally have different root causes, so re-opening an old bug report just confuses everyone. And there is already a new one tracking the issue; see Bug 466693. |