Well, I've managed the samba reinstallation in the next way.

Noticed that samba depends on samba-common, and samba-common needed the 
smb.conf I deleted, which it should actually provide, I think.
So I decided create a fake smb.conf (touch /etc/samba/smb.conf). Then I could 
install samba-common and it didn't complain about the empty file. Then I could 
install samba, also without any complain about an empty smb.conf.
Next I thought was.. "Now I just need to find the original smb.conf on the web 
and voila..", but before doing that, I realized looking in samba-common package 
info, that it installed a kind of template for smb.conf in /usr/share/samba, so 
I copied that file back to /etc/samba, so the server was aparentely working 
again, at least it didn't complain about anything.
Another thing I realized looking on samba-common package info, was that it 
should have intalled "/etc/samba/gdbcommands" which I've seen before deleting 
them, but now is not there.

-- 
package samba 2:3.2.1-1ubuntu1 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/259609
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

Reply via email to