[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
I have the same problem and this is what I found. testparm does not exist on my box and that is why it is failing. I removed the check just to get my own box going. This is NOT the proper fix. pre-start script [ -f /etc/samba/smb.conf ] || { stop; exit 0; } install -o root -g root -m 755 -d /var/run/samba - NMBD_DISABLED=`testparm -s --parameter-name='disable netbios' 2>/dev/null` + NMBD_DISABLED="NO" [ "x$NMBD_DISABLED" = xYes ] && { stop; exit 0; } exit 0 end script exec nmbd -D -- 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/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/samba/+bug/791944/+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 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Probably testparm is bundled in the common-bin and I've never install it. root@apex:~# update-alternatives --display testparm update-alternatives: error: no alternatives for testparm. root@apex:~# ls -l /usr/bin/testparm ls: cannot access /usr/bin/testparm: No such file or directory root@apex:~# find / -name testparm root@apex:~# testparm The program 'testparm' can be found in the following packages: * samba-common-bin * samba4-common-bin Try: apt-get install -- 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/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/samba/+bug/791944/+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 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
oracle@apex:~$ apt-cache policy samba-common-bin samba-common-bin: Installed: 2:3.5.4~dfsg-1ubuntu8.2 Candidate: 2:3.5.4~dfsg-1ubuntu8.4 Version table: 2:3.5.4~dfsg-1ubuntu8.4 0 500 http://ca.archive.ubuntu.com/ubuntu/ maverick-updates/main i386 Packages 2:3.5.4~dfsg-1ubuntu8.3 0 500 http://security.ubuntu.com/ubuntu/ maverick-security/main i386 Packages *** 2:3.5.4~dfsg-1ubuntu8.2 0 100 /var/lib/dpkg/status 2:3.5.4~dfsg-1ubuntu8 0 500 http://ca.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages oracle@apex:~$ ls -l /usr/bin/testparm* -rwxr-xr-x 1 root root 1350156 2011-01-07 04:32 /usr/bin/testparm.samba3 oracle@apex:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.10 DISTRIB_CODENAME=maverick DISTRIB_DESCRIPTION="Ubuntu 10.10" FYI, I use "apt-get install samba" to install samba in the first place. -- 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/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/samba/+bug/791944/+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