[Bug 550022] Re: package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
*** This bug is a duplicate of bug 511505 *** https://bugs.launchpad.net/bugs/511505 Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 511505, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find. ** Changed in: samba (Ubuntu) Status: New = Confirmed ** This bug has been marked a duplicate of bug 511505 samba-common-bin postinst returned error status 2 (update-alternatives failure, nmblookup.samba3 does not exist) -- package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 https://bugs.launchpad.net/bugs/550022 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- 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 550022] Re: package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
** Attachment added: AptOrdering.txt http://launchpadlibrarian.net/42235193/AptOrdering.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/42235194/Dependencies.txt ** Attachment added: Dmesg.txt http://launchpadlibrarian.net/42235195/Dmesg.txt ** Attachment added: DpkgTerminalLog.gz http://launchpadlibrarian.net/42235196/DpkgTerminalLog.gz -- package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 https://bugs.launchpad.net/bugs/550022 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- 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 550022] Re: package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Hi, I'm still not completely clear on what the problem is, but (surprisingly) the following fixed the problem for me. sudo apt-get purge samba-common-bin sudo aptitude download samba-common-bin sudo dpkg -i samba-common-bin_2%3a3.4.0-3ubuntu5.6_i386.deb sudo rm -f samba-common-bin_2%3a3.4.0-3ubuntu5.6_i386.deb In other words, installing the samba-common-bin package manually with dpkg worked just fine, whereas installing via apt-get did not. Before finding this work around, I did try the same and similiar approaches with aptitude / apt- get (i.e., for me at least, it definitely is the case that, no matter what I did, installing with apt-get or aptitude failed with the same error, regardless if I was reinstalling or installing after a remove or after a purge). HTH, Doug -- package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 https://bugs.launchpad.net/bugs/550022 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- 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 550022] Re: package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Hi, For the developers / technically-minded, I should definitely note: The problem was pretty clearly related to the file /usr/bin/nmblookup.samba3 not being present. Indeed, after installing samba-common-bin with aptitude / apt-get (which always failed, as aforementioned), running dpkg -L samba-common-bin only showed 4 lines: /. /usr /usr/bin /usr/bin/net.samba3 Having installed samba-common-bin using dpkg (as aforementioned), dpkg -L samba-common-bin now shows 27 lines: /. /usr /usr/bin /usr/bin/net.samba3 /usr/bin/nmblookup.samba3 /usr/bin/smbpasswd /usr/bin/testparm.samba3 /usr/share /usr/share/man /usr/share/man/man1 /usr/share/man/man1/testparm.samba3.1.gz /usr/share/man/man1/nmblookup.samba3.1.gz /usr/share/man/man5 /usr/share/man/man5/smbpasswd.5.gz /usr/share/man/man5/lmhosts.5.gz /usr/share/man/man5/smb.conf.5.gz /usr/share/man/man7 /usr/share/man/man7/samba.7.gz /usr/share/man/man8 /usr/share/man/man8/net.samba3.8.gz /usr/share/man/man8/smbpasswd.8.gz /usr/share/doc /usr/share/doc/samba-common-bin /usr/share/doc/samba-common-bin/copyright /usr/share/doc/samba-common-bin/NEWS.Debian.gz /usr/share/doc/samba-common-bin/README.build.gz /usr/share/doc/samba-common-bin/changelog.Debian.gz I can say for certain that, with a failed apt-get / aptitude install attempt, the file /usr/bin/net.samba3 *was* present and /usr/bin/nmblookup.samba3 was *not* present. I cannot speak definitively about any other files, but my sense was that *only* net.samba3 was installed, somehow nmblookup.samba3 failed to install (w/o error, however), and then the next step in the install process was to update alternatives for nmblookup, which naturally failed because nmblookup.samba3 was indeed not present, at which point the entire install stopped and nothing else was installed. HTH, Doug -- package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 https://bugs.launchpad.net/bugs/550022 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- 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