Page 1 of 1

[Solved] UpdateManager problems

Posted: 14 Dec 2015 07:04
by docke
A few days ago, since I updated the system to version 2.7.6 the icon on the tray is gone, instead it shows something odd as is shown in the following image.
Also the right click on it does not work, then, there is no GUI available.
Updating to versions 2.7.7 and 2.7.8 did not fix the problem.
Is there a way to downgrade to an previous version?

Image

Re: UpdateManager problems

Posted: 14 Dec 2015 14:58
by Arjen Balfoort
The new icons are svg files (vector images) instead of png and no, you cannot downgrade, but you can do this to see if we can solve this (probably theme related) problem:
  1. Right click on the icon to quit the updatemanager.
  2. Open a terminal and run:

    Code: Select all

    updatemanager -t
    Can you see any Gtk errors in the terminal output?
  3. You can do the same test with another theme.

Re: UpdateManager problems

Posted: 14 Dec 2015 18:24
by ilu
docke wrote:Also the right click on it does not work, then, there is no GUI available.
If you can't terminate UM with right-clicking the tray icon, entering

Code: Select all

killall python3
in terminal will help.

Re: UpdateManager problems

Posted: 15 Dec 2015 06:07
by docke
Now it works! Thank you so much. :clap:

@ ilu
Thank you for the command "killall python3", I was not aware of it.

@ Schoelje
I tried as you said with the following terminal's output:

Code: Select all

owner@pc1 ~ $ killall python3
owner@pc1 ~ $ updatemanager -t
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'kf5' | awk '{print $2}'
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'updatemanagertray.py' | awk '{print $2}'
python3 /usr/lib/solydxk/updatemanager/updatemanagertray.py &
owner@pc1 ~ $ Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'kf5' | awk '{print $2}'
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
> Running KDE4
Added file watches on /etc/apt/sources.list, /etc/apt/sources.list.d/, /usr/lib/solydxk/updatemanager/files
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'updatemanager.py' | awk '{print $2}'
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'updatemanager.py' | awk '{print $2}'
> UmRefresh refresh count #: 1
> icon: /usr/share/solydxk/updatemanager/icons/execute.svg, tooltip: Refreshing...
upd=2015.01.31
upd=2015.01.31
Command to execute: env LANG=C aptitude search '~U' | awk '{print $2}'
Command to execute: env LANG=C dpkg --get-selections | grep hold$ | awk '{print $1}'
There are updates available
> icon: /usr/share/solydxk/updatemanager/icons/updates.svg, tooltip: There are updates available
Done refreshing
Then, I closed the terminal but the contextual menu did not work, except the item "Legend".


I tried again, but this time leaving the terminal open. And the menu and GUI worked perfectly.
After I made a reboot the open terminal is not necessary any longer.
The output was this:

Code: Select all

owner@pc1 ~ $ killall python3
owner@pc1 ~ $ updatemanager -t
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'kf5' | awk '{print $2}'
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'updatemanagertray.py' | awk '{print $2}'
python3 /usr/lib/solydxk/updatemanager/updatemanagertray.py &
owner@pc1 ~ $ Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'kf5' | awk '{print $2}'
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
> Running KDE4
Added file watches on /etc/apt/sources.list, /etc/apt/sources.list.d/, /usr/lib/solydxk/updatemanager/files
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'updatemanager.py' | awk '{print $2}'
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'updatemanager.py' | awk '{print $2}'
> UmRefresh refresh count #: 1
> icon: /usr/share/solydxk/updatemanager/icons/execute.svg, tooltip: Refreshing...
upd=2015.01.31
upd=2015.01.31
Command to execute: env LANG=C aptitude search '~U' | awk '{print $2}'
Command to execute: env LANG=C dpkg --get-selections | grep hold$ | awk '{print $1}'
There are updates available
> icon: /usr/share/solydxk/updatemanager/icons/updates.svg, tooltip: There are updates available
Done refreshing
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'updatemanager.py' | awk '{print $2}'
Command to execute: updatemanager
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
upd=2015.01.31
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'kf5' | awk '{print $2}'
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'updatemanagertray.py' | awk '{print $2}'
Creating: /usr/lib/solydxk/updatemanager/files/.umrefresh
> icon: /usr/share/solydxk/updatemanager/icons/execute.svg, tooltip: Refreshing update list...
Deleting: /usr/lib/solydxk/updatemanager/files/.umrefresh
Command to execute: ps -ef | grep -v sudo | grep -v grep | grep 'updatemanager.py' | awk '{print $2}'
> UmRefresh refresh count #: 2
> icon: /usr/share/solydxk/updatemanager/icons/execute.svg, tooltip: Refreshing...
upd=2015.01.31
upd=2015.01.31
Command to execute: env LANG=C aptitude search '~U' | awk '{print $2}'
Command to execute: env LANG=C dpkg --get-selections | grep hold$ | awk '{print $1}'
There are updates available
> icon: /usr/share/solydxk/updatemanager/icons/updates.svg, tooltip: There are updates available
Done refreshing
Image

Re: [SOLVED] UpdateManager problems

Posted: 15 Dec 2015 08:28
by Arjen Balfoort
I'm glad you solved it.
Could you write "[Solved]" in the opening post's subject line?

Re: [Solved] UpdateManager problems

Posted: 15 Dec 2015 08:32
by docke
Done. ;)