Raccoon☽
July 31st, 2012, 09:59 AM
When I tried to install python3 using the Ubuntu Software Centre it said there was an error and gave me a box to submit a bug report which I did: https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1031232
But now I have a broken python and I can't do anything. I can't remove package python3 using aptitude:
(Reading database ... 201088 files and directories currently installed.)
Removing python3 ...
/var/lib/dpkg/info/python3.prerm: 4: /var/lib/dpkg/info/python3.prerm: py3clean: not found
dpkg: error processing python3 (--purge):
subprocess installed pre-removal script returned error exit status 127
No apport report written because MaxReports is reached already
/var/lib/dpkg/info/python3.postinst: 47: /var/lib/dpkg/info/python3.postinst: py3compile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
python3
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Press return to continue.I can't remove it with the software centre:
installArchives() failed: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 201088 files and directories currently installed.)
Removing python3 ...
Traceback (most recent call last):
File "/usr/bin/py3clean", line 24, in <module>
import logging
EOFError: EOF read where not expected
dpkg: error processing python3 (--remove):
subprocess installed pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/py3compile", line 25, in <module>
import logging
EOFError: EOF read where not expected
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python3
I can't do normal things when running python3:
>>> import hashlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
EOFError: EOF read where not expected
And this is a fresh install of 12.04; I am just getting it set up for working with.
I will continue trying things, but any help or pointers would be helpful.
But now I have a broken python and I can't do anything. I can't remove package python3 using aptitude:
(Reading database ... 201088 files and directories currently installed.)
Removing python3 ...
/var/lib/dpkg/info/python3.prerm: 4: /var/lib/dpkg/info/python3.prerm: py3clean: not found
dpkg: error processing python3 (--purge):
subprocess installed pre-removal script returned error exit status 127
No apport report written because MaxReports is reached already
/var/lib/dpkg/info/python3.postinst: 47: /var/lib/dpkg/info/python3.postinst: py3compile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
python3
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Press return to continue.I can't remove it with the software centre:
installArchives() failed: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 201088 files and directories currently installed.)
Removing python3 ...
Traceback (most recent call last):
File "/usr/bin/py3clean", line 24, in <module>
import logging
EOFError: EOF read where not expected
dpkg: error processing python3 (--remove):
subprocess installed pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/py3compile", line 25, in <module>
import logging
EOFError: EOF read where not expected
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python3
I can't do normal things when running python3:
>>> import hashlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
EOFError: EOF read where not expected
And this is a fresh install of 12.04; I am just getting it set up for working with.
I will continue trying things, but any help or pointers would be helpful.