enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #04126
[Bug 1430257] [NEW] 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)
Public bug reported:
Preconfiguring packages ...
(Reading database ... 310091 files and directories currently installed.)
Preparing to unpack .../gir1.2-signon-1.0_1.10daily13.06.25-0ubuntu3.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/gir1.2-signon-1.0_1.10daily13.06.25-0ubuntu3.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
Preparing to unpack .../libsmbclient_2%3a4.1.11+dfsg-1ubuntu2.2_amd64.deb ...
Unpacking libsmbclient:amd64 (2:4.1.11+dfsg-1ubuntu2.2) over (2:4.1.11+dfsg-1ubuntu2.1) ...
Preparing to unpack .../smbclient_2%3a4.1.11+dfsg-1ubuntu2.2_amd64.deb ...
Unpacking smbclient (2:4.1.11+dfsg-1ubuntu2.2) over (2:4.1.11+dfsg-1ubuntu2.1) ...
Preparing to unpack .../samba-common-bin_2%3a4.1.11+dfsg-1ubuntu2.2_amd64.deb ...
Unpacking samba-common-bin (2:4.1.11+dfsg-1ubuntu2.2) over (2:4.1.11+dfsg-1ubuntu2.1) ...
Preparing to unpack .../samba-common_2%3a4.1.11+dfsg-1ubuntu2.2_all.deb ...
Unpacking samba-common (2:4.1.11+dfsg-1ubuntu2.2) over (2:4.1.11+dfsg-1ubuntu2.1) ...
Preparing to unpack .../python-samba_2%3a4.1.11+dfsg-1ubuntu2.2_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/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)
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: python-samba 2:4.1.11+dfsg-1ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
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+dfsg-1ubuntu2, 4.1.11+dfsg-1ubuntu2.2), samba-common-bin:amd64 (4.1.11+dfsg-1ubuntu2.1, 4.1.11+dfsg-1ubuntu2.2), samba-libs:amd64 (4.1.11+dfsg-1ubuntu2.1, 4.1.11+dfsg-1ubuntu2.2), smbclient:amd64 (4.1.11+dfsg-1ubuntu2.1, 4.1.11+dfsg-1ubuntu2.2), samba-common:amd64 (4.1.11+dfsg-1ubuntu2.1, 4.1.11+dfsg-1ubuntu2.2), gir1.2-signon-1.0:amd64 (1.10daily13.06.25-0ubuntu2, 1.10daily13.06.25-0ubuntu3.1), libsmbclient:amd64 (4.1.11+dfsg-1ubuntu2.1, 4.1.11+dfsg-1ubuntu2.2)
DuplicateSignature: package:python-samba:2:4.1.11+dfsg-1ubuntu2:subprocess new pre-removal script returned error exit status 1
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:
SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
Title: package python-samba 2:4.1.11+dfsg-1ubuntu2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to utopic on 2014-11-12 (118 days ago)
WindowsFailedConnect: Yes
** Affects: samba (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package utopic
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1430257
Title:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1430257/+subscriptions
Follow ups
-
[Bug 1430257] Re: 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)
From: Kai Kasurinen, 2020-07-26
-
[Bug 1430257] [NEW] 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)
From: fred bitenyo, 2015-03-10
References