(SOLVED) Update manager has disappeared

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

(SOLVED) Update manager has disappeared

Post by paullewisgilbert »

Hi
My Update manager seems to have disappeared. The icon has gone from the bottom right hand icons. I can't access it from the menu by clicking on icon or typing it in search box. Software manager says it is still installed but it won't launch from there either.
This follows me trying to sort out a depackaging fault after doing routine updating. I had a error message saying there was a problem depackaging and I tried to follow the instructions to type in various commands in terminal box. I have very little understanding of this and got in a terrible mess trying to do this.
Eventually I managed to get back to update manger screen which told me there were two things to update. I clicked on Install updates as usual and then Update manager disappeared!!!!
This is all a bit of a blur to mess although I've used Linux for quite a while, I only use the GUI really. Dont really understand the use of the terminal etc.
Could someone help me. Thank you

SOLVED
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

Re: Update manager has dissapeared

Post by xenopeek »

Try starting Update Manager from the terminal. That may show an error that will provide a clue. Open terminal from your menu and run this command:
mintupdate

Copy any output and share it here. You can can select all & copy text through the terminal's Edit menu.
Image
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

Re: Update manager has dissapeared

Post by paullewisgilbert »

paul@paul-SATELLITE-C850-1D2:~$ 'gi.repository.XApp' object has no attribute 'StatusIcon'
<class 'AttributeError'>

this is what came up
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

Re: Update manager has dissapeared

Post by xenopeek »

Try reinstalling Update Manager and the Xapp components you got an error for:

apt install --reinstall mintupdate python3-xapp gir1.2-xapp-1.0 xapps-common

You can copy that command from here and paste it on the terminal through its Edit menu.

Share output of the command again please.
Image
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

Re: Update manager has dissapeared

Post by paullewisgilbert »

Code: Select all

paul@paul-SATELLITE-C850-1D2:~$ 
paul@paul-SATELLITE-C850-1D2:~$ apt install --reinstall mintupdate python3-xapp gir1.2-xapp-1.0 xapps-common
[sudo] password for paul:           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ardour-data cheese-common gnome-video-effects jackd libaubio5
  libcheese-gtk25 libcheese8 libcwiid1 libgnome-desktop-3-17 libllvm9 liblo7
  liblrdf0 libltc11 libqm-dsp0 libvamp-sdk2v5 linux-headers-4.15.0-101
  linux-headers-4.15.0-101-generic linux-headers-4.15.0-106
  linux-headers-4.15.0-106-generic linux-headers-4.15.0-108
  linux-headers-4.15.0-108-generic linux-headers-4.15.0-109
  linux-headers-4.15.0-109-generic linux-headers-4.15.0-111
  linux-headers-4.15.0-111-generic linux-headers-4.15.0-112
  linux-headers-4.15.0-112-generic linux-headers-4.15.0-115
  linux-headers-4.15.0-115-generic linux-headers-4.15.0-117
  linux-headers-4.15.0-117-generic linux-headers-4.15.0-118
  linux-headers-4.15.0-118-generic linux-headers-4.15.0-121
  linux-headers-4.15.0-121-generic linux-headers-4.15.0-122
  linux-headers-4.15.0-122-generic linux-headers-4.15.0-123
  linux-headers-4.15.0-123-generic linux-headers-4.15.0-124
  linux-headers-4.15.0-124-generic linux-headers-4.15.0-126
  linux-headers-4.15.0-126-generic linux-headers-4.15.0-128
  linux-headers-4.15.0-128-generic linux-headers-4.15.0-129
  linux-headers-4.15.0-129-generic linux-headers-4.15.0-130
  linux-headers-4.15.0-130-generic linux-headers-4.15.0-132
  linux-headers-4.15.0-132-generic linux-headers-4.15.0-134
  linux-headers-4.15.0-134-generic linux-headers-4.15.0-135
  linux-headers-4.15.0-135-generic linux-headers-4.15.0-136
  linux-headers-4.15.0-136-generic linux-headers-4.15.0-137
  linux-headers-4.15.0-137-generic linux-headers-4.15.0-139
  linux-headers-4.15.0-139-generic linux-headers-4.15.0-140
  linux-headers-4.15.0-140-generic linux-headers-4.15.0-141
  linux-headers-4.15.0-141-generic linux-headers-4.15.0-142
  linux-headers-4.15.0-142-generic linux-headers-4.15.0-143
  linux-headers-4.15.0-143-generic linux-headers-4.15.0-144
  linux-headers-4.15.0-144-generic linux-headers-4.15.0-96
  linux-headers-4.15.0-96-generic linux-headers-4.15.0-99
  linux-headers-4.15.0-99-generic linux-image-4.15.0-101-generic
  linux-image-4.15.0-106-generic linux-image-4.15.0-108-generic
  linux-image-4.15.0-109-generic linux-image-4.15.0-111-generic
  linux-image-4.15.0-112-generic linux-image-4.15.0-115-generic
  linux-image-4.15.0-117-generic linux-image-4.15.0-118-generic
  linux-image-4.15.0-121-generic linux-image-4.15.0-122-generic
  linux-image-4.15.0-123-generic linux-image-4.15.0-124-generic
  linux-image-4.15.0-126-generic linux-image-4.15.0-128-generic
  linux-image-4.15.0-129-generic linux-image-4.15.0-130-generic
  linux-image-4.15.0-132-generic linux-image-4.15.0-134-generic
  linux-image-4.15.0-135-generic linux-image-4.15.0-136-generic
  linux-image-4.15.0-137-generic linux-image-4.15.0-139-generic
  linux-image-4.15.0-140-generic linux-image-4.15.0-141-generic
  linux-image-4.15.0-142-generic linux-image-4.15.0-143-generic
  linux-image-4.15.0-144-generic linux-image-4.15.0-96-generic
  linux-image-4.15.0-99-generic linux-modules-4.15.0-101-generic
  linux-modules-4.15.0-106-generic linux-modules-4.15.0-108-generic
  linux-modules-4.15.0-109-generic linux-modules-4.15.0-111-generic
  linux-modules-4.15.0-112-generic linux-modules-4.15.0-115-generic
  linux-modules-4.15.0-117-generic linux-modules-4.15.0-118-generic
  linux-modules-4.15.0-121-generic linux-modules-4.15.0-122-generic
  linux-modules-4.15.0-123-generic linux-modules-4.15.0-124-generic
  linux-modules-4.15.0-126-generic linux-modules-4.15.0-128-generic
  linux-modules-4.15.0-129-generic linux-modules-4.15.0-130-generic
  linux-modules-4.15.0-132-generic linux-modules-4.15.0-134-generic
  linux-modules-4.15.0-135-generic linux-modules-4.15.0-136-generic
  linux-modules-4.15.0-137-generic linux-modules-4.15.0-139-generic
  linux-modules-4.15.0-140-generic linux-modules-4.15.0-141-generic
  linux-modules-4.15.0-142-generic linux-modules-4.15.0-143-generic
  linux-modules-4.15.0-144-generic linux-modules-4.15.0-96-generic
  linux-modules-4.15.0-99-generic linux-modules-extra-4.15.0-101-generic
  linux-modules-extra-4.15.0-106-generic
  linux-modules-extra-4.15.0-108-generic
  linux-modules-extra-4.15.0-109-generic
  linux-modules-extra-4.15.0-111-generic
  linux-modules-extra-4.15.0-112-generic
  linux-modules-extra-4.15.0-115-generic
  linux-modules-extra-4.15.0-117-generic
  linux-modules-extra-4.15.0-118-generic
  linux-modules-extra-4.15.0-121-generic
  linux-modules-extra-4.15.0-122-generic
  linux-modules-extra-4.15.0-123-generic
  linux-modules-extra-4.15.0-124-generic
  linux-modules-extra-4.15.0-126-generic
  linux-modules-extra-4.15.0-128-generic
  linux-modules-extra-4.15.0-129-generic
  linux-modules-extra-4.15.0-130-generic
  linux-modules-extra-4.15.0-132-generic
  linux-modules-extra-4.15.0-134-generic
  linux-modules-extra-4.15.0-135-generic
  linux-modules-extra-4.15.0-136-generic
  linux-modules-extra-4.15.0-137-generic
  linux-modules-extra-4.15.0-139-generic
  linux-modules-extra-4.15.0-140-generic
  linux-modules-extra-4.15.0-141-generic
  linux-modules-extra-4.15.0-142-generic
  linux-modules-extra-4.15.0-143-generic
  linux-modules-extra-4.15.0-144-generic linux-modules-extra-4.15.0-96-generic
  linux-modules-extra-4.15.0-99-generic vamp-plugin-sdk
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  gir1.2-xapp-1.0 xapps-common
2 to upgrade, 0 to newly install, 2 reinstalled, 0 to remove and 139 not to upgrade.
Need to get 52.2 kB/620 kB of archives.
After this operation, 136 kB of additional disk space will be used.
Get:1 http://packages.linuxmint.com tricia/backport amd64 gir1.2-xapp-1.0 amd64 1.6.10+tricia [12.0 kB]
Get:2 http://packages.linuxmint.com tricia/backport amd64 xapps-common all 1.6.10+tricia [40.2 kB]
Fetched 52.2 kB in 0s (124 kB/s)   
(Reading database ... 1423427 files and directories currently installed.)
Preparing to unpack .../gir1.2-xapp-1.0_1.6.10+tricia_amd64.deb ...
Unpacking gir1.2-xapp-1.0 (1.6.10+tricia) over (1.4.6+tessa) ...
Setting up gir1.2-xapp-1.0 (1.6.10+tricia) ...
(Reading database ... 1423427 files and directories currently installed.)
Preparing to unpack .../xapps-common_1.6.10+tricia_all.deb ...
Unpacking xapps-common (1.6.10+tricia) over (1.4.6+tessa) ...
Setting up xapps-common (1.6.10+tricia) ...
(Reading database ... 1423448 files and directories currently installed.)
Preparing to unpack .../mintupdate_5.5.9_all.deb ...
Unpacking mintupdate (5.5.9) over (5.5.9) ...
Preparing to unpack .../python3-xapp_1.8.1_all.deb ...
Unpacking python3-xapp (1.8.1) over (1.8.1) ...
Setting up python3-xapp (1.8.1) ...
Setting up mintupdate (5.5.9) ...
Processing triggers for desktop-file-utils (0.23+linuxmint5) ...
Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.8) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
paul@paul-SATELLITE-C850-1D2:~$ 
paul@paul-SATELLITE-C850-1D2:~$
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

Re: Update manager has dissapeared

Post by xenopeek »

That looks okay and there was an update for the Xapp components, now installed.

Does mintupdate run on the terminal now do anything else?
Image
User avatar
Termy
Level 12
Level 12
Posts: 4254
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Update manager has disappeared

Post by Termy »

You have quite a lot of old kernel versions taking up a lot of space; unless you need them, I recommend running: sudo apt-get autoremove
I'm also Terminalforlife on GitHub.
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

Re: Update manager has disappeared

Post by paullewisgilbert »

this comes up now

Code: Select all

paul@paul-SATELLITE-C850-1D2:~$ mintupdate
paul@paul-SATELLITE-C850-1D2:~$ /usr/lib/linuxmint/mintUpdate/mintUpdate.py:1114: Warning: cannot retrieve class for invalid (unclassed) type 'void'
  self.icon = XApp.StatusIcon()
could not get a reference to type class
<class 'TypeError'>
thanks for all your help so far too
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

Re: Update manager has disappeared

Post by paullewisgilbert »

have removed old kernels as Termy suggested.
No sign of Update manager!!!
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

Re: Update manager has disappeared

Post by paullewisgilbert »

I am still not getting update manger on my system.
It appears in start up applications and is ticked
It appears in main menu but disappears as soon as you click on it
It appears as already installed in software manager but will not launch from there
It has disappeared from panel in right hand bottom corner and applet ( is that the right word) no longer appears.

machine appears to be working except for wi fi which won't work anymore . have connected it to ethernet.
is it still be updated somewhere deep in my laptop or is it now massively behind where it should be? I am not using it for online buying or anything like that.
I am absolutely mystified.
Any ideas? I am worried about security up dates especially.
Thank you
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

Re: Update manager has disappeared

Post by xenopeek »

Try also reinstalling python3-gi with this command:
apt install --reinstall python3-gi

Then try the command mintupdate again. Does it work now, same error, different error?

If still an errorplease share the exact version of Update Manager. This command should tell you:
apt version mintupdate

Also, for time being, you can apply all updates with this command:
apt update && apt upgrade
Image
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

Re: Update manager has disappeared

Post by paullewisgilbert »

thank you xenopeek. I shall try those
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

Re: Update manager has disappeared

Post by paullewisgilbert »

Code: Select all

paul@paul-SATELLITE-C850-1D2:~$ apt install --reinstall python3-gi
[sudo] password for paul:           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 139 not to upgrade.
Need to get 153 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-gi amd64 3.26.1-2ubuntu1 [153 kB]
Fetched 153 kB in 0s (2,020 kB/s)  
(Reading database ... 356553 files and directories currently installed.)
Preparing to unpack .../python3-gi_3.26.1-2ubuntu1_amd64.deb ...
Unpacking python3-gi (3.26.1-2ubuntu1) over (3.26.1-2ubuntu1) ...
Setting up python3-gi (3.26.1-2ubuntu1) ...

Code: Select all

paul@paul-SATELLITE-C850-1D2:~$ mint update

Command 'mint' not found, did you mean:

  command 'tint' from deb tint
  command 'mina' from deb mina
  command 'minc' from deb mblaze

Try: sudo apt install <deb name>

Code: Select all

paul@paul-SATELLITE-C850-1D2:~$ mintupdate
paul@paul-SATELLITE-C850-1D2:~$ /usr/lib/linuxmint/mintUpdate/mintUpdate.py:1114: Warning: cannot retrieve class for invalid (unclassed) type 'void'
  self.icon = XApp.StatusIcon()
could not get a reference to type class
<class 'TypeError'>
apt version mintupdate
5.5.9

Code: Select all

paul@paul-SATELLITE-C850-1D2:~$ apt version mintupdate
5.5.9
paul@paul-SATELLITE-C850-1D2:~$ 
This is what's come up now. I made a few typing mistakes!
User avatar
Termy
Level 12
Level 12
Posts: 4254
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Update manager has disappeared

Post by Termy »

Have you added any PPAs for Python?
I'm also Terminalforlife on GitHub.
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

Re: Update manager has disappeared

Post by paullewisgilbert »

XENOPEEK. YOU ABSOLUTE GENIUS!!!!! iT'S NOW WORKING. EVERYTHING RESTORED. BRILLIANT. YOU'VE MADE AN OLD MAN VERY HAPPY
paullewisgilbert
Level 1
Level 1
Posts: 22
Joined: Sun Aug 01, 2021 4:12 am

Re: Update manager has disappeared

Post by paullewisgilbert »

sorry Termy but I don't know what PPAs are. It has now been fixed. Thank you so much for your input.
User avatar
Termy
Level 12
Level 12
Posts: 4254
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Update manager has disappeared

Post by Termy »

It's okay. Just glad it's sorted. :) Although I do wonder what in the heck caused it to break in the first place. :roll:
I'm also Terminalforlife on GitHub.
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update manager has disappeared

Post by karlchen »

paullewisgilbert wrote: Wed Aug 04, 2021 4:20 amXENOPEEK. YOU ABSOLUTE GENIUS!!!!! iT'S NOW WORKING. EVERYTHING RESTORED. BRILLIANT. YOU'VE MADE AN OLD MAN VERY HAPPY
Does this mean that the last terminal command line, which xenopeek had posted , apt update && apt upgrade, is what has resolved the Update Manager problem?
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Update manager has disappeared

Post by Larry78723 »

Karl, I'd guess it was the apt install --reinstall python3-gi and a reboot that actually fixed it.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update manager has disappeared

Post by karlchen »

That post above did not look like "problem solved". And the commandline "apt update && apt upgrade" was the only command left, which had been given by xenopeek, but which had not been executed, yet, telling from the post above.
This is why I asked what finally fixed the issue.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
Locked

Return to “Beginner Questions”