Page MenuHomeLubuntu

Package update notification
Open, Unbreak Now!Public

Description

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.

Related Objects

Event Timeline

kc2bez created this task.Nov 11 2018, 10:50 AM
kc2bez created this object in space S1 Public.
wxl triaged this task as Unbreak Now! priority.Nov 11 2018, 4:37 PM
wxl added a subscriber: wxl.

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.

hmollercl added a subscriber: hmollercl.EditedNov 20 2018, 4:21 PM

maybe I could help, since I'm doing the port on the additional driver tab in https://phab.lubuntu.me/T144 this feature should be in software-properties-gtk so it could be ported to software-properties-qt

hmollercl added a comment.EditedNov 20 2018, 8:27 PM

I thought it was part of software-properties, but is not, is update-manager https://launchpad.net/ubuntu/+source/update-manager/1:18.10.10

hmollercl added a comment.EditedDec 26 2018, 5:17 PM

I'm confused on what is needed, there are 2 pieces of software:

When you try to install any of this, each one depends from the other.

hmollercl added a comment.EditedDec 31 2018, 6:08 AM

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:
https://packages.ubuntu.com/xenial/kde/update-notifier-kde
https://packages.ubuntu.com/source/xenial/kingston-update-notifier
https://tracker.debian.org/pkg/kingston-update-notifier
The latest code I could found is:
https://launchpad.net/ubuntu/+source/kingston-update-notifier
we could re-implement it but I'm not sure if it's good to have "our own" update-notifier because of maintenance issues

hmollercl added a comment.EditedJan 1 2019, 3:07 PM

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/

hmollercl claimed this task.Jan 1 2019, 7:52 PM

So, I found that the best way to check silently if there are updates is to use this script:
/usr/lib/update-notifier/apt-check (/usr/lib/update-notifier/apt_check.py)
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.