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:~$
*** 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.