[Bug 514963] Re: package samba-common-bin 2:3.4.0-3ubuntu5.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Rick Horowitz rickhoro at gmail.com
Wed Mar 10 13:48:19 GMT 2010


Thanks for your suggestion. Here's what I found:

1. The contents of my nmblookup is:

rship of the /var/lib/mysql directory:\n\n /var/lib/mysql: drwxr-xr-x
mysql    mysql
Type: note
Owners: mysql-server-5.1/nis_warning

Name: mysq


2. I tried running the 2 commands you suggest, and get the following error
with both:

update-alternatives: error: /var/lib/dpkg/alternatives/nmblookup corrupt:
invalid status

If you have any more suggestions, I will be happy to try them, however, I
may be out of town for several days due to a family issue.

Thanks,

Rick


2010/3/9 Philip Muškovac <yofel at gmx.net>

> Hi, can you please attach your /var/lib/dpkg/alternatives/nmblookup
> file?
>
> And can you try to run the following commands after that?
>
> sudo update-alternatives --remove nmblookup /usr/bin/nmblookup.samba3
>
> 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
>
> and see if this fixes your issue?
>
> --
> package samba-common-bin 2:3.4.0-3ubuntu5.4 failed to install/upgrade:
> subprocess installed post-installation script returned error exit status 2
> https://bugs.launchpad.net/bugs/514963
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “samba” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: samba
>
> This bug was very similar to many others that showed up on the automated
> search, but mine says that error status 2 was returned, rather than 1 or 3
> which the others returned.
>
> Ubuntu 9.10
> samba-common-bin 2:3.4.0-3ubuntu5.4
> I expected it to install, but got this error instead.
>
> ProblemType: Package
> Architecture: amd64
> Date: Sat Jan 30 12:33:47 2010
> DistroRelease: Ubuntu 9.10
> ErrorMessage: subprocess installed post-installation script returned error
> exit status 2
> NonfreeKernelModules: nvidia
> Package: samba-common-bin 2:3.4.0-3ubuntu5.4
> ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
> SourcePackage: samba
> Title: package samba-common-bin 2:3.4.0-3ubuntu5.4 failed to
> install/upgrade: subprocess installed post-installation script returned
> error exit status 2
> Uname: Linux 2.6.31-17-generic x86_64
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/514963/+subscribe
>

-- 
samba-common-bin postinst returned error exit status 2 (update-alternatives nmblookup corrupt)
https://bugs.launchpad.net/bugs/514963
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list