Samba installation problem

Jules Hernandez juleshernandez at gmail.com
Thu Mar 15 00:25:18 UTC 2007


 I'm reposting this message, as I got an email that it is pending approval
by the list moderator, since SpamAssassin identified it as possible spam.
It's not spam. This is a valid error, and I really need help ASAP.

TIA.

Jules

------------------------

Good day!

I was experimenting connecting my Edgy to my WinXP PC, and somehow removed
Samba in the process. When I tried to install it again, I get this error.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
  smbldap-tools
The following NEW packages will be installed:
  samba
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3028kB of archives.
After unpacking 7569kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 232663 files and directories currently installed.)
Unpacking samba (from .../samba_3.0.22-1ubuntu4.1_i386.deb) ...
Setting up samba (3.0.22-1ubuntu4.1) ...
Generating /etc/default/samba...
 * Starting Samba daemons...                                     [fail]
invoke-rc.d: initscript samba, action "start" failed.
dpkg: error processing samba (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)

I googled and saw a potential answer to my problem in
https://answers.launchpad.net/ubuntu/+ticket/3583<http://https//answers.launchpad.net/ubuntu/+ticket/3583/>.
The relevant paragraph in the link, as far as I can think of, says:

"The "prerm" script for samba is located at
/var/lib/dpkg/info/samba.prerm.For some reason, the package is failed to
correctly stop the samba service. To try to solve this, I would do the
following:

 sudo dpkg -P samba samba-common smbclient
 sudo rm -f /etc/rc*.d/*samba /etc/init.d/samba

Then see if re-installing samba will work correctly:"
However, the solution did not work for me. I still get the same error.

Somebody, pls. help!

TIA,

Jules
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070315/b8fd34c7/attachment.html>


More information about the ubuntu-users mailing list