Page 1 of 1

mintupdate not running

Posted: Tue Oct 02, 2012 8:57 pm
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.

Re: mintupdate not running

Posted: Thu Oct 04, 2012 9:05 am
by wavespot

Re: mintupdate not running

Posted: Thu Oct 04, 2012 10:14 am
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.