Installation of Samba failed on Ubuntu 9.10 AMD64 on post installation script

NoOp glgxg at sbcglobal.net
Fri Jan 22 16:32:04 UTC 2010


On 01/21/2010 11:55 PM, Aaron Scheiner wrote:
> Herro
> 
> I'm trying to get Samba installed on an Ubuntu machine. The installation
> stops while executing a post installation script. I've let this part of
> the installation run for 24 hours and it doesn't complete. I have tried
> removing, purging, cleaning, updating, the works.
> 
> My /etc/samba directory contains these files : dhcp.conf  tls(directory)
<snips>
> update-alternatives: using /usr/bin/smbstatus.samba3 to
> provide /usr/bin/smbstatus (smbstatus) in auto mode.
> ^Cdpkg: error processing samba (--configure):
>  subprocess installed post-installation script killed by signal
> (Interrupt)
> Errors were encountered while processing:
>  samba
> E: Sub-process /usr/bin/dpkg returned an error code (1)
^^^^
...
> And if it helps... removal of Samba :
> "sudo apt-get remove samba
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> The following packages will be REMOVED:
>   samba
> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> 1 not fully installed or removed.
^^^^^^

Try:

$ sudo apt-get purge samba
$ sudo dpkg --configure -a
$ sudo apt-get install -f
$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install samba

Depending on what happens with the first command, i.e., it won't purge,
you may have to try in this order:

$ sudo dpkg --configure -a
$ sudo apt-get install -f
$ sudo apt-get purge samba
$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install samba





More information about the ubuntu-users mailing list