Hello everyone,
while running sudo apt-get upgrade, I am facing this issue related with PIglow:
The following packages will be upgraded:
python-piglow
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
10 not fully installed or removed.
Need to get 0 B/7,656 B of archives.
After this operation, 6,144 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs… Done
(Reading database … 138770 files and directories currently installed.)
Preparing to unpack …/python-piglow_1.2.5_all.deb …
File “/usr/bin/pyclean”, line 63
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead …
File “/usr/bin/pyclean”, line 63
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: error processing archive /var/cache/apt/archives/python-piglow_1.2.5_all.deb (–unpack):
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File “/usr/bin/pycompile”, line 35, in
from debpython.version import SUPPORTED, debsorted, vrepr,
File “/usr/share/python/debpython/version.py”, line 24, in
from ConfigParser import SafeConfigParser
ImportError: No module named ‘ConfigParser’
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/python-piglow_1.2.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)