plasma-discover does not automatically update packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
plasma-discover (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
There is no setting in plasma-discover to automate checking for updates
-- Versions ---
> lsb_release -rd
Description: Ubuntu 20.04.3 LTS
Release: 20.04
> plasma-discover -v
discover 5.18.5
-- Expected Behavior ---
Discover will automatically check for software updates and notify user (or delegate that responsibility to Software Updater).
-- What happens ---
Nothing
-- Attempts to Fix Problem ---
There are references to plasma-
> plasma-
command not found
> apt-get install plasma-
Unable to locate package plasma-
Or via Discover itself: Not results found when searching for "plasma-
It is not possible to file a bug report with the upstream project because the version of Discover that is installed in the current Ubuntu LTS release is no longer supported.
-- Security Issues and Best Practices
Security Issue: Discover-managed Software vulnerable to all post-install vulnerabilities
Discover managed software is updated only when user manually runs the update. Best practice is to automatically check for updates and either automatically install them or notify user they need to be installed.
Discover vulnerable to vulnerabilities identified since 2019
The version of Discoverinstalled in Ubuntu 20.04 LTS (5.18.5 released in 2019) is no longer supported by upstream project.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: plasma-discover 5.18.5-0ubuntu0.1
ProcVersionSign
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 27 09:48:33 2021
InstallationDate: Installed on 2020-05-12 (563 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: plasma-discover
UpgradeStatus: No upgrade log present (probably fresh install)
Until this bug is fixed/feature is added. A crude work-around is to add a bash script and run it on start:
nano bin/check_ for_updates. sh
#/bin/bash
# Software update automation via cheese by JDT/Tim Wood, <email address hidden>
# Wait so this will appear over other things
wait 90
# Ask
kdialog --yesno "Some applications are only updated manually \nby running Discover. When Discover is run, \nyou can check updates by clicking 'Updates' \nin the lower left corner. Do you want to \nrun Discover to check for software updates?"
# Do
if [ $? = 0 ];
then plasma-discover &
fi
> chmod +x bin/check_ for_updates. sh
Then use the "Startup Applications" app to run the script on startup