Unable to start Update Manager

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
Lamyergeier
Level 1
Level 1
Posts: 6
Joined: Fri Jan 07, 2022 1:00 pm

Unable to start Update Manager

Post by Lamyergeier »

Unable to start Update Manager from GUI or from terminal. Any suggestions?

```bash
$ mintupdate
$ Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 18, in <module>
import pycurl
ImportError: pycurl: libcurl link-time version (7.68.0) is older than compile-time version (7.79.0)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_lib_linuxmint_mintUpdate_mintUpdate.py.1000.crash'

Original exception was:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 18, in <module>
import pycurl
ImportError: pycurl: libcurl link-time version (7.68.0) is older than compile-time version (7.79.0)
```
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
JoeFootball
Level 13
Level 13
Posts: 4673
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: Unable to start Update Manager

Post by JoeFootball »

Lamyergeier wrote: Any suggestions?
Maybe a reinstall? Try: apt reinstall mintupdate
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Unable to start Update Manager

Post by Larry78723 »

Have you installed an older version of python on that machine? Please post the output of the following command:

Code: Select all

python3 -V
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.
Lamyergeier
Level 1
Level 1
Posts: 6
Joined: Fri Jan 07, 2022 1:00 pm

Re: Unable to start Update Manager

Post by Lamyergeier »

Larry78723 wrote: Thu Jan 13, 2022 12:48 pm Have you installed an older version of python on that machine? Please post the output of the following command:

Code: Select all

python3 -V

```bash
$ python3 -V
Python 3.8.10
```
Last edited by Lamyergeier on Fri Jan 14, 2022 6:11 am, edited 1 time in total.
Lamyergeier
Level 1
Level 1
Posts: 6
Joined: Fri Jan 07, 2022 1:00 pm

Re: Unable to start Update Manager

Post by Lamyergeier »

JoeFootball wrote: Thu Jan 13, 2022 11:45 am
Lamyergeier wrote: Any suggestions?
Maybe a reinstall? Try: apt reinstall mintupdate
- Didn't help to reinstall

```bash
$ sudo apt reinstall mintupdate
[sudo] password for nikhil:
The following packages will be REINSTALLED:
mintupdate
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/627 kB of archives. After unpacking 0 B will be used.
(Reading database ... 403532 files and directories currently installed.)
Preparing to unpack .../mintupdate_5.8.1_all.deb ...
Unpacking mintupdate (5.8.1) over (5.8.1) ...
Setting up mintupdate (5.8.1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for libglib2.0-0:i386 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for man-db (2.9.1-1) ...

$ mintupdate
$ Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 18, in <module>
import pycurl
ImportError: pycurl: libcurl link-time version (7.68.0) is older than compile-time version (7.79.0)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_lib_linuxmint_mintUpdate_mintUpdate.py.1000.crash'

Original exception was:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 18, in <module>
import pycurl
ImportError: pycurl: libcurl link-time version (7.68.0) is older than compile-time version (7.79.0)
```
acerimusdux
Level 5
Level 5
Posts: 633
Joined: Sat Dec 26, 2009 3:36 pm

Re: Unable to start Update Manager

Post by acerimusdux »

Well I thought maybe reinstall libcurl, but 7.68 seems to be correct, that's the one showing in synaptic. Maybe reinstall python3-pycurl. Or see what version is installed with:

Code: Select all

apt list --installed|grep pycurl
Should be 7.43.0.2 if you are on 20.3.
User avatar
spamegg
Level 14
Level 14
Posts: 5117
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Unable to start Update Manager

Post by spamegg »

Yep, acerimusdux has the right idea I think, you might want to try apt install --reinstall python3-pycurl.

See these issues for people having similar issues (including me!) https://github.com/linuxmint/cinnamon/issues/10591 https://github.com/linuxmint/cinnamon/issues/10579 https://github.com/linuxmint/cinnamon/issues/10572

The issue always seems to be solved by some form of apt install --reinstall python3-SOMETHING
Lamyergeier
Level 1
Level 1
Posts: 6
Joined: Fri Jan 07, 2022 1:00 pm

Re: Unable to start Update Manager

Post by Lamyergeier »

acerimusdux wrote: Fri Jan 14, 2022 7:46 am Well I thought maybe reinstall libcurl, but 7.68 seems to be correct, that's the one showing in synaptic. Maybe reinstall python3-pycurl. Or see what version is installed with:

Code: Select all

apt list --installed|grep pycurl
Should be 7.43.0.2 if you are on 20.3.
```bash
$ apt list --installed|grep pycurl

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

python-pycurl/focal,now 7.43.0.2-1ubuntu5 amd64 [installed]
python3-pycurl/focal,now 7.43.0.2-1ubuntu5 amd64 [installed]
```
Lamyergeier
Level 1
Level 1
Posts: 6
Joined: Fri Jan 07, 2022 1:00 pm

Re: Unable to start Update Manager

Post by Lamyergeier »

spamegg wrote: Fri Jan 14, 2022 7:52 am Yep, acerimusdux has the right idea I think, you might want to try apt install --reinstall python3-pycurl.

See these issues for people having similar issues (including me!) https://github.com/linuxmint/cinnamon/issues/10591 https://github.com/linuxmint/cinnamon/issues/10579 https://github.com/linuxmint/cinnamon/issues/10572

The issue always seems to be solved by some form of apt install --reinstall python3-SOMETHING
Reinstalled `python3-pycurl` but facing same issue.
User avatar
spamegg
Level 14
Level 14
Posts: 5117
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Unable to start Update Manager

Post by spamegg »

Maybe try the script by Mint dev mtwebster at the bottom of this issue: https://github.com/linuxmint/cinnamon/issues/10591
acerimusdux
Level 5
Level 5
Posts: 633
Joined: Sat Dec 26, 2009 3:36 pm

Re: Unable to start Update Manager

Post by acerimusdux »

I'm wondering if you need python-pycurl for anything. That's not installed by default. My machine has python3-pycurl, but not python-pycurl. So maybe try

Code: Select all

apt remove python-pycurl
See if there's anything else that depends on it, or if you can just remove it. Though the traceback shows the problem was with a python3 script, so this likely won't solve it anyway.
Locked

Return to “Software & Applications”