Software Manager and Software Update not working <SOLVED>

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
carver
Level 1
Level 1
Posts: 28
Joined: Fri Aug 02, 2019 8:49 pm

Software Manager and Software Update not working <SOLVED>

Post by carver »

Finally got the time to do some updating only to find that neither Software Update and Software Manager will not start. Tried some fixes from earlier posts but none worked. Any help appreciated. I'm running Mint 19.1 Tessa.
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.
RIH
Level 9
Level 9
Posts: 2894
Joined: Sat Aug 22, 2015 3:47 am

Re: Software Manager and Software Update not working

Post by RIH »

What does

Code: Select all

sudo apt-get update
entered into a Terminal give you??
Image
carver
Level 1
Level 1
Posts: 28
Joined: Fri Aug 02, 2019 8:49 pm

Re: Software Manager and Software Update not working

Post by carver »

Entered the command and got this:

Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://muug.ca/mirror/linuxmint/packages tessa InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:5 http://muug.ca/mirror/linuxmint/packages tessa Release
Hit:6 http://archive.canonical.com/ubuntu bionic InRelease
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [50.3 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [59.0 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [1,378 kB]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,303 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [292 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,590 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,767 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [300 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:20 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [9,272 B]
Fetched 8,007 kB in 3s (2,418 kB/s)
Reading package lists... Done
RIH
Level 9
Level 9
Posts: 2894
Joined: Sat Aug 22, 2015 3:47 am

Re: Software Manager and Software Update not working

Post by RIH »

That seems to be working fine..
What do you mean by 'Software Update will not start"?
Have you tried re-installing it through

Code: Select all

sudo apt install --reinstall mintupdate
run in a terminal??
Image
sleeper12
Level 21
Level 21
Posts: 14603
Joined: Thu May 25, 2017 3:22 pm

Re: Software Manager and Software Update not working

Post by sleeper12 »

RIH wrote: Fri Nov 26, 2021 9:58 pm That seems to be working fine..
What do you mean by 'Software Update will not start"?
Have you tried re-installing it through

Code: Select all

sudo apt install --reinstall mintupdate
run in a terminal??
I was told to do it without sudo so as not to mess up permissions, one line at a time:

Code: Select all

apt reinstall mintupdate
mintupdate 
RIH
Level 9
Level 9
Posts: 2894
Joined: Sat Aug 22, 2015 3:47 am

Re: Software Manager and Software Update not working

Post by RIH »

Mmm, yes, probably better to err on the side of safety, although using sudo in a VirtualBox guest caused no issues with then running Update Manager..
Image
sleeper12
Level 21
Level 21
Posts: 14603
Joined: Thu May 25, 2017 3:22 pm

Re: Software Manager and Software Update not working

Post by sleeper12 »

If needed, can also do:

Code: Select all

apt reinstall mintinstall 
mintinstall 
carver
Level 1
Level 1
Posts: 28
Joined: Fri Aug 02, 2019 8:49 pm

Re: Software Manager and Software Update not working

Post by carver »

Sorry, I should of explained it a little better. I open the Menu and click on the Software Manager or Update Manager Icons nothing happens. I've tried in the terminal with the same result. Taking sleeper12's suggestion I tried the commands apt reinstall mintupdate and mintupdate on separate lines. Here is what I got:

cm@cm-Aspire-E5-576:~$ apt reinstall mintupdate
[sudo] password for cm:
The following packages will be REINSTALLED:
mintupdate
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 691 not upgraded.
Need to get 0 B/592 kB of archives. After unpacking 0 B will be used.
(Reading database ... 307040 files and directories currently installed.)
Preparing to unpack .../mintupdate_5.4.7_all.deb ...
Unpacking mintupdate (5.4.7) over (5.4.7) ...
Setting up mintupdate (5.4.7) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint4) ...
Processing triggers for libglib2.0-0:amd64 (2.56.3-0ubuntu0.18.04.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

cm@cm-Aspire-E5-576:~$ mintupdate
cm@cm-Aspire-E5-576:~$ Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 22, in <module>
from kernelwindow import KernelWindow
File "/usr/lib/linuxmint/mintUpdate/kernelwindow.py", line 2, in <module>
import apt
ModuleNotFoundError: No module named 'apt'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
ModuleNotFoundError: No module named 'apport'

Original exception was:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 22, in <module>
from kernelwindow import KernelWindow
File "/usr/lib/linuxmint/mintUpdate/kernelwindow.py", line 2, in <module>
import apt
ModuleNotFoundError: No module named 'apt'

Have not tried the reinstall mintuinstall yet. I'm wondering about the, No module named 'apt' remark.
RIH
Level 9
Level 9
Posts: 2894
Joined: Sat Aug 22, 2015 3:47 am

Re: Software Manager and Software Update not working

Post by RIH »

The 3 files that it is failing on..
/usr/lib/linuxmint/mintUpdate/mintUpdate.py
/usr/lib/linuxmint/mintUpdate/kernelwindow.py
/usr/lib/python3/dist-packages/apport_python_hook.py
are all located in your / (root) area.

I wonder if a re-install at user level would/could effect them, if, indeed a re-install of minupdate via sudo would/could effect them at all...
Image
sleeper12
Level 21
Level 21
Posts: 14603
Joined: Thu May 25, 2017 3:22 pm

Re: Software Manager and Software Update not working

Post by sleeper12 »

I've seen this as a possible solution:

Code: Select all

 sudo apt-get install --reinstall python3-apt 
carver
Level 1
Level 1
Posts: 28
Joined: Fri Aug 02, 2019 8:49 pm

Re: Software Manager and Software Update not working

Post by carver »

The sudo apt-get install --reinstall python3-apt command in terminal got the Update Manager working. Still no luck with the Software Manager.
sleeper12
Level 21
Level 21
Posts: 14603
Joined: Thu May 25, 2017 3:22 pm

Re: Software Manager and Software Update not working

Post by sleeper12 »

Maybe this will help now for Software Manager?

Code: Select all

apt reinstall mintinstall 
mintinstall 
carver
Level 1
Level 1
Posts: 28
Joined: Fri Aug 02, 2019 8:49 pm

[SOLVED] Software Manager and Software Update not working

Post by carver »

With the Update manager working I looked through the list and saw a number of python updates and installed them. They were all level 2 updates. One must have fixed something because Software Manager is working now too.
Big Thanks to RIH and sleeper12.
sleeper12
Level 21
Level 21
Posts: 14603
Joined: Thu May 25, 2017 3:22 pm

Re: Software Manager and Software Update not working

Post by sleeper12 »

8)
Locked

Return to “Software & Applications”