[Bug 1642546] Re: package python-samba 2:4.3.9+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1
*** This bug is a duplicate of bug 1693460 *** https://bugs.launchpad.net/bugs/1693460 ** This bug has been marked a duplicate of bug 1693460 package python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1642546 Title: package python-samba 2:4.3.9+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1642546/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1642546] Re: package python-samba 2:4.3.9+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1
*** This bug is a duplicate of bug 1693460 *** https://bugs.launchpad.net/bugs/1693460 ** This bug has been marked a duplicate of bug 1693460 package python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1642546 Title: package python-samba 2:4.3.9+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1642546/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1642546] Re: package python-samba 2:4.3.9+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1
>From the Log of pkg python-samba_2%3a4.3.11+dfsg- 0ubuntu0.16.04.1_amd64.deb install: prerm: File "/usr/bin/pyclean", line 63 except (IOError, OSError), e: ^ SyntaxError: invalid syntax postinst: File "/usr/bin/pycompile", line 35, in from debpython.version import SUPPORTED, debsorted, vrepr, \ File "/usr/share/python/debpython/version.py", line 24, in from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' The first is valid syntax - my file works and is just the same. The second is available via "libpython2.7-minimal:amd64: /usr/lib/python2.7/ConfigParser.py" which should be installed. To be sure of any modifications could you check: dpkg --verify python-minimal dpkg --verify libpython2.7-minimal:amd64 Also do you happen to know if you have anything special to your local python setup? Any manual installations/modifications for any extra package or workaround you made in the past? Please share anything that applies and could help. I've found a few similar but older reports, none was able to identify the root cause triggering this. Just search for: "ImportError: No module named 'ConfigParser'" ubuntu /usr/share/python/debpython/version.py And check the posts if one of them applies to your case - if so please let us know which one - maybe we are able to track down the initial trigger this time. There seems to be some success with cleaning and reinstalling those if you want to try that: sudo apt-get clean sudo apt-get update sudo apt-get install --reinstall python-minimal python-lockfile -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1642546 Title: package python-samba 2:4.3.9+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1642546/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs