Update notification doesn't work

The notifications about new package updates does not appear anymore on one of my PCs. I googled but I found very little about. How can I debug it?

I have Lubuntu 22.04

Out of curiosity, if you open a terminal and run apt update and apt list --upgradeable what does that show?

I found a maybe related post on this forum where someone was seeing a similar behavior but perhaps for a different reason than yours:

Maybe itā€™s normal for this time of the cycle? Not sureā€¦ will defer to someone else.

Are there any updates for Jammy?

Jammy changes for Jan 2025 <<- I see mostly changes for Azure (I think this is wsl?) and other special platforms. But, I didnā€™t look that carefully at it. There could be some stuff for amd64s and whatnot.

I can upgrade my system with usual sudo apt update && sudo apt upgrade, itā€™s only the notification I donā€™t get.

Yeah, I read that post, but it doesnā€™t contain any info about how to fix or debug the problem.

I have a laptop with Lubuntu 22.04 Jammy too, and there I get upgrade notification. Indeed I know that there are upgrades from the laptop.

1 Like

Is lxqt-notificationd running?

If it is perhaps the default configuration has been changed?

lxqt-config-notificationd

The two checkboxes in General Settings are unchecked by defaultā€¦

See: lxqt-notificationd for more info

Yes, lxqt-notificationd is running and it works.

I just noticed that I get upgrade notifications on my laptop because I have Gnome update-notifier installed on it. I have this because on the laptop I upgraded from LXDE to LXQT. On the contrary, I had to make a clean install of LXQT on the PC when the update notification does not work.

I think the package for LXQT is lubuntu-update-notifier. Searching on internet, I found that its script is /usr/libexec/lubuntu-update-notifier/lubuntu-upg-notifier.sh. If I run it manually, I get this error:

marco@buzz:~/sources$ /usr/libexec/lubuntu-update-notifier/lubuntu-upg-notifier.sh
usage: lubuntu-notifier.py [-h] [-p APP] [-u APP] [-s APP] [-r APP] [-v APP]
lubuntu-notifier.py: error: unrecognized arguments: LTS

PS: I choosed in my preferences to be notified only about LTS dist upgrades.

Look at the ā€œusage.ā€ You need to give it all the arguments, otherwise it will provide an error. So it makes sense it doesnā€™t work when you run it that way (that said, @ArrayBolt3 it might make sense to check for those arguments in the shell script before trying to pass it off to lubuntu-notifier.py).