[Bug 1737296] Re: package python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127

2017-12-13 Thread Andreas Hasenack
You probably removed python2 from your system, or something like that. Check the first line of /usr/bin/pyclean to be sure. This is beyond a bug report now. Something you did broke your system with regards to python. My last suggestion is to try to reinstall the python2.7-minimal package, either

[Bug 1737296] Re: package python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127

2017-12-12 Thread Andreas Hasenack
Do a reinstall then: sudo apt install --reinstall python-minimal Also run this: ls -la /usr/bin/pycompile /usr/bin/pyclean /usr/bin/python /usr/bin/python2 /usr/bin/pyversions -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in

[Bug 1737296] Re: package python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127

2017-12-12 Thread Andreas Hasenack
Did you try the next command in the list? -- 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/1737296 Title: package python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to

[Bug 1737296] Re: package python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127

2017-12-11 Thread Andreas Hasenack
Thanks for filing this bug in Ubuntu. It looks like you removed some essential software for your Ubuntu system to work. /var/lib/dpkg/info/apport.prerm: 19: /var/lib/dpkg/info/apport.prerm: pyclean: not found I suggest you try the command below, but I'll have to mark this bug as invalid