Created
May 20, 2015 13:05
-
-
Save galois17/4ce6bd8f7121d277ad81 to your computer and use it in GitHub Desktop.
Ubuntu upgrade issue with error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resolved with: | |
sudo apt-get clean | |
sudo apt-get update | |
sudo apt-get install --reinstall python-minimal python-lockfile | |
(Reading database ... 31238 files and directories currently installed.) | |
Preparing to replace libssl1.0.0 1.0.1-4ubuntu5.25 (using .../libssl1.0.0_1.0.1-4ubuntu5.27_i386.deb) ... | |
Unpacking replacement libssl1.0.0 ... | |
Setting up libssl1.0.0 (1.0.1-4ubuntu5.27) ... | |
Processing triggers for libc-bin ... | |
ldconfig deferred processing now taking place | |
(Reading database ... 31238 files and directories currently installed.) | |
Preparing to replace update-manager-core 1:0.156.14.18 (using .../update-manager-core_1%3a0.156.14.19_i386.deb) ... | |
File "/usr/bin/pyclean", line 64 | |
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 64 | |
except (IOError, OSError), e: | |
^ | |
SyntaxError: invalid syntax | |
dpkg: error processing /var/cache/apt/archives/update-manager-core_1%3a0.156.14.19_i386.deb (--unpack): | |
subprocess new pre-removal script returned error exit status 1 | |
No apport report written because MaxReports is reached already | |
Traceback (most recent call last): | |
File "/usr/bin/pycompile", line 36, in <module> | |
from debpython.version import SUPPORTED, debsorted, vrepr, \ | |
File "/usr/share/python/debpython/version.py", line 24, in <module> | |
from ConfigParser import SafeConfigParser | |
ImportError: No module named ConfigParser | |
dpkg: error while cleaning up: | |
subprocess installed post-installation script returned error exit status 1 | |
Preparing to replace denyhosts 2.6-10 (using .../denyhosts_2.6-10+deb7u3build0.12.04.1_all.deb) ... | |
File "/usr/bin/pyclean", line 64 | |
except (IOError, OSError), e: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment