mintupdate not running

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
xmanmonk

mintupdate not running

Post by xmanmonk »

mintupdate no longer starts on my machine. Attempts to manually start it result in the following:

Code: Select all

sudo mannex@Leviathan:~$ sudo mintupdate
[sudo] password for mannex: 
mannex@Leviathan:~$ cannot import name urandom
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 59, in <module>
    gettext.install("mintupdate", "/usr/share/linuxmint/locale")
NameError: name 'gettext' is not defined

mannex@Leviathan:~$ 
Any ideas? Also, a few other applications have stopped working, including eyeD3. I suspect this has something to do with virtualenv, but I know nothing about that and have never used it. Note that a python upgrade was done today. Attempts to reverse the upgrade of python, however, result in synaptic trying to remove a large list of applications that I'd rather not reinstall.

*** ADDITIONAL INFO ***

I'm adding this after the first post.

I was able to get aptitude to run, and it mentioned there were some pending upgrades. I upgraded, and during the upgrade got these errors:

Code: Select all

...

Setting up gconf2 (3.2.3-0ubuntu0.1) ...
Traceback (most recent call last):
  File "/usr/sbin/gconf-schemas", line 8, in <module>
    import sys,os,os.path,shutil,tempfile,subprocess,re
  File "/usr/lib/python2.7/tempfile.py", line 34, in <module>
    from random import Random as _Random
  File "/usr/lib/python2.7/random.py", line 47, in <module>
    from os import urandom as _urandom
ImportError: cannot import name urandom
dpkg: error processing gconf2 (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already

...

dpkg: dependency problems prevent configuration of alarm-clock-applet:
 alarm-clock-applet depends on gconf2 (>= 2.28.1-2); however:
  Package gconf2 is not configured yet.
dpkg: error processing alarm-clock-applet (--configure):
 dependency problems - leaving unconfigured
Setting up amarok-common (2:2.4.3-1ubuntu2.1) ...
No apport report written because MaxReports is reached already

...

Errors were encountered while processing:
 gconf2
 alarm-clock-applet
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up gconf2 (3.2.3-0ubuntu0.1) ...
Traceback (most recent call last):
  File "/usr/sbin/gconf-schemas", line 8, in <module>
    import sys,os,os.path,shutil,tempfile,subprocess,re
  File "/usr/lib/python2.7/tempfile.py", line 34, in <module>
    from random import Random as _Random
  File "/usr/lib/python2.7/random.py", line 47, in <module>
    from os import urandom as _urandom
ImportError: cannot import name urandom
dpkg: error processing gconf2 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of alarm-clock-applet:
 alarm-clock-applet depends on gconf2 (>= 2.28.1-2); however:
  Package gconf2 is not configured yet.
dpkg: error processing alarm-clock-applet (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gconf2
 alarm-clock-applet
Press return to continue.
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.
wavespot
Level 2
Level 2
Posts: 94
Joined: Tue Jan 17, 2012 6:44 am

Re: mintupdate not running

Post by wavespot »

xmanmonk

Re: mintupdate not running

Post by xmanmonk »

Thanks. The problems just got worse, and I eventually realized that it was because I had a KDE out of sync with the OS. I upgraded to the newer Mint, and all is well again.
Locked

Return to “Software & Applications”