hi Christian, *I solved the bug, I installed python 3 and removed python 2, thats why this error is occurred* *I solved this by install python 2 install samba, then install pyhton 3, now everything is working fine, this error occur when i was trying to install samba after install ing pyhton 3 and 2 is removed ..*
*Thanks *Christian Sumit Sharma On Tue, Dec 20, 2016 at 2:04 PM, ChristianEhrhardt < [email protected]> wrote: > Hi, > it seems all python setups seem to fail in your environment: > >From the log: > > Setting up python-dnspython (1.12.0-1) ... > [...] > ImportError: No module named 'ConfigParser' > Setting up python-crypto (2.6.1-6build1) ... > [...] > ImportError: No module named 'ConfigParser' > Setting up python-ldb (2:1.1.24-1ubuntu3) ... > [...] > ImportError: No module named 'ConfigParser' > > The trace always is the same: > 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 > > I tried but I could not reproduce the issue. > Not as-is in Xenial but not even by trying to get rid of configparser > before the install. > > Do you have any sort of special python setup? > And manual pip installs, and blocked/pinned packages, custom python lib > lookup paths, ...? > > ** Changed in: ldb (Ubuntu) > Status: New => Incomplete > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1651193 > > Title: > package python-ldb 2:1.1.24-1ubuntu3 failed to install/upgrade: > subprocess installed post-installation script returned error exit > status 1 > > Status in ldb package in Ubuntu: > Incomplete > > Bug description: > xxxxx > > ProblemType: Package > DistroRelease: Ubuntu 16.04 > Package: python-ldb 2:1.1.24-1ubuntu3 > ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30 > Uname: Linux 4.4.0-53-generic x86_64 > NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia > ApportVersion: 2.20.1-0ubuntu2.4 > Architecture: amd64 > Date: Mon Dec 19 23:18:26 2016 > ErrorMessage: subprocess installed post-installation script returned > error exit status 1 > InstallationDate: Installed on 2016-11-28 (21 days ago) > InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 > (20160719) > RelatedPackageVersions: > dpkg 1.18.4ubuntu1.1 > apt 1.2.15ubuntu0.2 > SourcePackage: ldb > Title: package python-ldb 2:1.1.24-1ubuntu3 failed to install/upgrade: > subprocess installed post-installation script returned error exit status 1 > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/ldb/+bug/1651193/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1651193 Title: package python-ldb 2:1.1.24-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ldb/+bug/1651193/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
