package duplicity 0.6.23-1ubuntu4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
duplicity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've got this error when I tried to update the system:
Errors were encountered while processing:
duplicity
Current status: 1 update [-29].
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: duplicity 0.6.23-1ubuntu4
ProcVersionSign
Uname: Linux 3.13.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Tue Jun 3 09:41:30 2014
DuplicateSignature: package:
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2013-02-10 (477 days ago)
InstallationMedia: Linux Mint 14 "Nadia" - Release amd64 (20121120)
SourcePackage: duplicity
Title: package duplicity 0.6.23-1ubuntu4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to petra on 2014-03-30 (64 days ago)
tags: | removed: need-duplicate-check |
Full update log: 0.6.23- 1ubuntu4. 1_amd64. deb ...
^
^ apt/archives/ duplicity_ 0.6.23- 1ubuntu4. 1_amd64. deb (--unpack): pycompile" , line 35, in <module> python/ debpython/ version. py", line 24, in <module> apt/archives/ duplicity_ 0.6.23- 1ubuntu4. 1_amd64. deb
The following packages will be upgraded:
duplicity
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/199 kB of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] y
(Reading database ... 651380 files and directories currently installed.)
Preparing to unpack .../duplicity_
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
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: error processing package duplicity (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
duplicity