[Solved] package-update-notifier does not showupdates

Everything about X, Gnome, KDE, ... and everything running on it

[Solved] package-update-notifier does not showupdates

Postby peer » 2020-12-26 09:50

In debian 10 xfce I installed the package-update-notifier. I can see a icon on the panel but it does not show any updates. When I run the package updater from within the menu (menu->system->package updater) I can see that here is one update available.

When I click on the package-update-notifier icon I can change the check preference form 'daily' to 'twice a day' ... to 'always'. But even in the setting 'always' it does not see any updates.

Should I do something extra to make the icon show available updates????
Last edited by peer on 2020-12-29 08:38, edited 1 time in total.
peer
 
Posts: 159
Joined: 2017-03-26 10:14

Re: package-update-notifier does not show avalable updates

Postby Head_on_a_Stick » 2020-12-26 11:31

peer wrote:I installed the package-update-notifier

I cannot find any such package in Debian buster: https://packages.debian.org/search?keyw ... ection=all

What exactly did you install?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13273
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: package-update-notifier does not show avalable updates

Postby peer » 2020-12-26 12:59

sorry, wrong package name

the package is: package-update-indicator 2.0-1

https://packages.debian.org/search?suit ... -indicator
peer
 
Posts: 159
Joined: 2017-03-26 10:14

Re: package-update-notifier does not show avalable updates

Postby Head_on_a_Stick » 2020-12-26 13:13

viewtopic.php?f=5&t=142598

Please search the boards before posting.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13273
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: package-update-notifier does not show avalable updates

Postby peer » 2020-12-26 13:27

did the search but did not find working solutions there.

At this moment I cannot check because there are no updates available on my pc
peer
 
Posts: 159
Joined: 2017-03-26 10:14

Re: package-update-notifier does not show avalable updates

Postby Head_on_a_Stick » 2020-12-26 19:48

Did you
Rick B wrote:set the Preferences for "Refresh Cache Always"

viewtopic.php?p=702352#p702352
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13273
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: package-update-notifier does not show avalable updates

Postby peer » 2020-12-27 06:26

yes, I did that. After installing the preference setting was 'daily'. First I changed this to 'twice a day' and then to 'always'. Then I rebooted and waited a while but no notification of updates.
peer
 
Posts: 159
Joined: 2017-03-26 10:14

Re: package-update-notifier does not show avalable updates

Postby Head_on_a_Stick » 2020-12-27 08:43

peer wrote:yes, I did that

Please explicitly list all of the steps taken to help avoid wasting the time and effort of potential helpers.

I have no idea how to make the update notifier work, sorry. For the family laptop I just enable unattended upgrades, which renders update notifiers superfluous. Have you considered that?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13273
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: package-update-notifier does not show avalable updates

Postby peer » 2020-12-27 10:12

all my steps are:
0 debian 10 xfce fresh install (in qemu/kvm)
1 installed 'package-update-indicator''. Synaptic installed extra packages f.e. gnome-packagekit.
After installing there was an icon on the panel. When I right- clicked on the icon I saw greyed out option: 'install updates' and a preference option.
2. I changed the preference 'refresh cache daily' to the 'refresh cache twice a day' and later to 'refresh cache daily'
After reboot the icon does not change in color (I think it should be red when there are updates available) even after a few minutes.
peer
 
Posts: 159
Joined: 2017-03-26 10:14

Re: package-update-notifier does not show avalable updates

Postby zorzi » 2020-12-27 15:11

Nothing to worry about. It probably means that there are no updates available for the moment.

In package-update-indicator preferences, check that the install command field is not empty.

It must contains "gpk-update-viewer" to launch gnome-packagekit updater when clicking "install updates".

Since I do not want gnome dependencies with my xfce, I prefer using synaptic to manage updates. I fill the package-update-indicator instal command with "synaptic-pkexec --upgrade-mode"

EDIT: I remove unattented-upgrades package because I do not want automatic upgrades.
zorzi
 
Posts: 22
Joined: 2017-05-08 11:48

Re: package-update-notifier does not show avalable updates

Postby peer » 2020-12-28 08:42

@Zorzi,
thanks for your reply.
The command field was empty. I entered the first command: "gpk-update-viewer". After reboot still the same situation. The icon does not change color and the option "install update"is grayed out.

I clicked at menu->System->Package Updater. The gpk-update-viewer opened and it did not show any updates.
Then I ran 'sudo apt update' in the terminal to chack and it found two updates.
After that I ran gpk-update-viewer again and it also found two updates. Here seems to be a problem.

I changed the command in the preferences to /usr/bin/gpk-update-viewer and rebooted. The icon still does not change color, there is no notifying of updates and the option "install updates'is grayed out.

So I think there is something wrong with the search for updates.
peer
 
Posts: 159
Joined: 2017-03-26 10:14

Re: package-update-notifier does not show avalable updates

Postby zorzi » 2020-12-28 10:46

Maybe this can help.

With my system, I had removed unattented-upgrades package to avoid automatic updates. But updates were still automatically downloaded (but not installed).

So I had to edit: /etc/apt/apt.conf.d/10periodic

and change the line:

APT::Periodic::Download-Upgradeable-Packages "1";

to:

APT::Periodic::Download-Upgradeable-Packages "0";
zorzi
 
Posts: 22
Joined: 2017-05-08 11:48

Re: package-update-notifier does not show avalable updates

Postby peer » 2020-12-28 10:59

unfortunately does not work for me
unattented-upgrades was installed so I removed it
but the file /etc/apt/apt.conf.d/10periodic does not exits
peer
 
Posts: 159
Joined: 2017-03-26 10:14

Re: package-update-notifier does not show avalable updates

Postby peer » 2020-12-29 08:37

appearrantly it is a known bug: https://bugs.debian.org/cgi-bin/bugrepo ... bug=928814
On this page I found a workaround. I installed the dummy package pk-update-icon and after a reboot the update-indicator worked and I could launch the installer (which I also changed to synaptic)
peer
 
Posts: 159
Joined: 2017-03-26 10:14

Re: [Solved] package-update-notifier does not showupdates

Postby zorzi » 2020-12-29 12:38

Happy you could solved the issue.
zorzi
 
Posts: 22
Joined: 2017-05-08 11:48


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable