Software updater in 18.04 prompted users that software updates (packages) were available. Since 18.10, unless you go looking for updates(Discover, Muon, sudo apt update) there is no indication that they are available.
Well, this sucks. Previous to Discover, Kubuntu was using update-notifier-kde with Muon, but that hasn't been updated in a long, long time. Now they don't use any of the update-notifier codebase and all the notifications are hidden within the stupid plasmoid widget.
So I guess we need update-notifier-gtk or we need to bring update-notifier-kde back.
I'm confused on what is needed, there are 2 pieces of software:
- update-notifier https://launchpad.net/ubuntu/+source/update-notifier
- update-manager https://launchpad.net/ubuntu/+source/update-manager
When you try to install any of this, each one depends from the other.
This could be another option https://github.com/mhogomchungu/qt-update-notifier
I haven't been able to find update-notifier-kde. Apparently the source was kingston-update-notifier from which I couldn't find the source:
The latest code I could found is:
we could re-implement it but I'm not sure if it's good to have "our own" update-notifier because of maintenance issues
I think that it would be easier and less resource hungry to run a script that updates cache and check for updates, and if there are updates open discover with one of this modes:
plasma-discover --mode Update
I would prefer muon over discover, but in muon you will have to manually check for updates again.
other idea is to use qapt-batch for update cache and install packages, not sure if it can upgrade https://cgit.kde.org/libqapt.git/
So, I found that the best way to check silently if there are updates is to use this script:
which is not installed by default but is part of update-notifier.
Good things is that already handles exception and is the one used by kingston-update-notifier
We shoudl define what to do when we they are updates available.
so, I now understando more the process we need as dependency from ubuntu update-notifier-common, that will handle the cache update, restart needed "flag" (is file/diretcory) and it has the /usr/lib/update-notifier/apt-check to check for updates, so we only need to decide where/how (pop-up/panel/notification) we will show it. Since discover doesn't works well and since in muon we cannot start directly to update, we might have to build an "update manager" which can do the upgrade and maybe force a check update.