dpkg: error processing archive /var/cache/apt/archives/python-samba_2%3a4.1.11+dfsg-1ubuntu2.2_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 Preparing to unpack .../samba-libs_2%3a4.1.11+dfsg-1ubuntu2.2_amd64.deb ... Unpacking samba-libs:amd64 (2:4.1.11+dfsg-1ubuntu2.2) over (2:4.1.11+dfsg-1ubuntu2.1) ... Processing triggers for man-db (2.7.0.2-2) ... Errors were encountered while processing: /var/cache/apt/archives/gir1.2-signon-1.0_1.10daily13.06.25-0ubuntu3.1_amd64.deb /var/cache/apt/archives/python-samba_2%3a4.1.11+dfsg-1ubuntu2.2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Preconfiguring packages ...
(Reading database ... 310091 files and directories currently installed.)
Preparing to unpack .../gir1.
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
Preparing to unpack .../libsmbclien
Unpacking libsmbclient:amd64 (2:4.1.
Preparing to unpack .../smbclient_
Unpacking smbclient (2:4.1.
Preparing to unpack .../samba-
Unpacking samba-common-bin (2:4.1.
Preparing to unpack .../samba-
Unpacking samba-common (2:4.1.
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
Preparing to unpack .../samba-
Unpacking samba-libs:amd64 (2:4.1.
Processing triggers for man-db (2.7.0.2-2) ...
Errors were encountered while processing:
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: python-samba 2:4.1.11+
ProcVersionSign
Uname: Linux 3.16.0-29-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
Date: Tue Mar 10 12:55:48 2015
DpkgHistoryLog:
Start-Date: 2015-03-10 12:55:46
Commandline: apt-get install -f
Upgrade: python-samba:amd64 (4.1.11+
DuplicateSignature: package:
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2014-04-03 (340 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
NmbdLog:
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
Title: package python-samba 2:4.1.11+
UpgradeStatus: Upgraded to utopic on 2014-11-12 (118 days ago)
WindowsFailedCo
tags: | removed: need-duplicate-check |