I'm having some issues when updating packages on Ubuntu 12.04:
Processing triggers for menu ...
Errors were encountered while processing:
idle-python2.7
Setting up idle-python2.7 (2.7.3-0ubuntu3.5) ...
Traceback (most recent call last):
File "/usr/lib/python2.7/compileall.py", line 16, in <module>
import struct
File "/usr/lib/python2.7/struct.py", line 1, in <module>
from _struct import *
ImportError: No module named _struct
dpkg: error processing idle-python2.7 (--configure):
subprocess installed post-installation script returned error exit status 1
I believe it can be related with idle-python2.7
and I want to remove it with:
sudo apt-get remove idle-python2.7
to see if that fixes it, but I'm afraid I'll bork my system.
Can I safely remove that package? How can I run a "trial removal" to see what would be removed along with it?