[Bug 511505] Re: samba-common-bin postinst returned error status 2 (update-alternatives failure, nmblookup.samba3 does not exist)
Hi, Regarding the workaround I describe in Bug #550022, I should also note that I had to uninstall package nautilus-share before I could uninstall samba-common-bin. After the workaround, I of course reinstalled nautilus-share. HTH, Doug -- samba-common-bin postinst returned error status 2 (update-alternatives failure, nmblookup.samba3 does not exist) https://bugs.launchpad.net/bugs/511505 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] [NEW] package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Public bug reported: Binary package hint: samba Hi, I haven't investigated fully yet, but this bug report is fairly similar to Bug #546896. However, first, the final error message is different and, second, the platform is 32-bit not 64-bit. Doug ProblemType: Package Architecture: i386 Date: Sat Mar 27 21:28:23 2010 DistroRelease: Ubuntu 9.10 ErrorMessage: subprocess installed post-installation script returned error exit status 2 InstallationMedia: Ubuntu 9.10 Karmic Koala - Release i386 (20091028.5) NonfreeKernelModules: nvidia Package: samba-common-bin 2:3.4.0-3ubuntu5.6 ProcVersionSignature: Ubuntu 2.6.31-20.58-generic SourcePackage: samba Title: package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 Uname: Linux 2.6.31-20-generic i686 ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 -- 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