package python-lockfile 1:0.12.2-1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-lockfile (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Need to get 37.4 kB/178 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Get:2 http://
Fetched 37.4 kB in 1s (20.9 kB/s)
(Reading database ... 291413 files and directories currently installed.)
Preparing to unpack .../python3-
Unpacking python3-minimal (3.5.1-3) over (3.5.1-3) ...
Preparing to unpack .../python-
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/
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python-lockfile 1:0.12.2-1
ProcVersionSign
Uname: Linux 4.4.0-24-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Jun 11 23:54:18 2016
Dependencies:
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2016-02-20 (111 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: python-lockfile
Title: package python-lockfile 1:0.12.2-1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Changed in python-lockfile (Ubuntu): | |
assignee: | nobody → Louis (stitch0louis) |
Changed in python-lockfile (Ubuntu): | |
importance: | Undecided → High |
Changed in python-lockfile (Ubuntu): | |
importance: | High → Undecided |
assignee: | Louis (stitch0louis) → nobody |
importance: | Undecided → High |
Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.