samba-common-bin postinst returned error status 2 (update-alternatives failure, nmblookup.samba3 does not exist)

Bug #511505 reported by unsicherheitsagent
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: samba

durin package update (via apt-get upgrade) the following error occures

"package samba-common-bin 2:3.4.0-3ubuntu5.3 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück"

in english it means:

"package samba-common-bin 2:3.4.0-3ubuntu5.3 failed to install/upgrade: child process installed post post-installation-script returned the error code 2"

ProblemType: Package
Architecture: i386
Date: Sat Jan 23 10:20:38 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: samba-common-bin 2:3.4.0-3ubuntu5.3
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: samba
Title: package samba-common-bin 2:3.4.0-3ubuntu5.3 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
Uname: Linux 2.6.31-16-generic i686

Revision history for this message
unsicherheitsagent (sven-eisenschmidt) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The log shows
----
Richte samba-common-bin ein (2:3.4.0-3ubuntu5.3) ...
update-alternatives: error: Alternativen-Pfad /usr/bin/nmblookup.samba3 existiert nicht
dpkg: Fehler beim Bearbeiten von samba-common-bin (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück

In english
----
Setting up samba-common-bin (2:3.4.0-3ubuntu5 .3) ...
update-alternatives: error: Alternatives path / usr/bin/nmblookup.samba3 does not exist
dpkg: error processing samba-common-bin (- configure):
 Installed subprocess post-installation script returned error exit status 2

Revision history for this message
Chuck Short (zulcss) wrote :

Could you add the output of ls -alh /usr/bin/nmblookup.*

Thanks
chuck

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
bukko (bukko) wrote :

ls -alh /usr/bin/nmblookup.*
-rwxr-xr-x 1 root root 984K 2010-02-17 17:17 /usr/bin/nmblookup.samba3

Revision history for this message
Philip Muškovac (yofel) wrote :

Hi, do you still get this with samba-common-bin 2:3.4.0-3ubuntu5.4?
And if yes, what does running

sudo update-alternatives --install /usr/bin/nmblookup nmblookup /usr/bin/nmblookup.samba3 0 --slave /usr/share/man/man1/nmblookup.1.gz nmblookup.1.gz /usr/share/man/man1/nmblookup.samba3.1.gz

tell you? (that's one long command, not multiple commands)

Thierry Carrez (ttx)
summary: - package samba-common-bin 2:3.4.0-3ubuntu5.3 failed to install/upgrade:
- Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2
- zur?ck
+ samba-common-bin postinst returned error status 2 (update-alternatives
+ failure, nmblookup.samba3 does not exist)
Revision history for this message
Doug Morse (dm-dougmorse) wrote :

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.