package duplicity 0.6.23-1ubuntu4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Bug #1325867 reported by Alfonso Gonzalez
10
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
Uname: Linux 3.13.0-27-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Tue Jun 3 09:41:30 2014
DuplicateSignature: package:duplicity:0.6.23-1ubuntu4:subprocess new pre-removal script returned error exit status 1
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)

Revision history for this message
Alfonso Gonzalez (alfonsog) wrote :
Revision history for this message
Alfonso Gonzalez (alfonsog) wrote :

Full update log:
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_0.6.23-1ubuntu4.1_amd64.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/duplicity_0.6.23-1ubuntu4.1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, 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
Errors were encountered while processing:
 /var/cache/apt/archives/duplicity_0.6.23-1ubuntu4.1_amd64.deb
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

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.