When I run
sudo apt-get upgrade, the dpkg error appears and interupts the process.
Setting up python-minimal (2.7.3-0ubuntu7.1) ... Traceback (most recent call last): File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/compileall.py", line 16, in <module> import struct File "/usr/local/lib/python2.7/struct.py", line 1, in <module> from _struct import * ImportError: No module named _struct dpkg: error processing python-minimal (--configure): subprocess installed post-installation script returned error exit status 255 dpkg: dependency problems prevent configuration of python: python depends on python-minimal (= 2.7.3-0ubuntu7.1); however: Package python-minimal is not configured yet.
And this problem leads to a series of dependency problems when processing the following packages:
python gwibber-service libgwibber3 libgwibber-gtk3 gwibber gwibber-service-facebook gwibber-service-identica gwibber-service-twitter python-all python-dev python-all-dev python-apt python-problem-report python-apport python-libxml2 unity-lens-gwibber unity-scope-video-remote
Any helps are appreciated! ^_^
Finally, nothing I can do for this problem. And several days later, the root directory is full and I even could not uninstall any software because of this problem.
So what I can do is just to reinstall the system. ╮（╯＿╰）╭