LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2008, 11:42 AM   #1
matsyuf
Member
 
Registered: Mar 2007
Posts: 97

Rep: Reputation: 15
Re: Cant Re-install Samba


Hello,

I experiencing a problem where the system doesn't allow me to re-install samba on my Debian machine running etch.

Below is how it started;-

I was learning how to configure samba and found out that i had done everything wrongly therefor I purged samba - apt-get install --purge samba, after I made sure i removed everything with samba with -

YM#find / -name samba
YM# find / -name samba
/usr/share/samba
/etc/dhcp3/dhclient-enter-hooks.d/samba
/etc/pam.d/samba
/var/cache/samba
/var/log/samba
/var/run/samba

then i went on to remove ever thing that i got by-:

YM:/# rmdir /usr/share/samba
rmdir: /usr/share/samba: Directory not empty
YM:/# rm -rf /usr/share/samba
YM:/# rm -rf /etc/pam.d/samba
YM:/# rm -rf /var/log/samba
YM:/# rm -rf /var/run/samba
YM:/# rm -rf /var/cache/samba

after that i trid to install samba and at end it gave me

YM:/# apt-get install samba
Reading package lists... Done
Building dependency tree... Done
Recommended packages:
smbldap-tools
The following NEW packages will be installed:
samba
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/3262kB of archives.
After unpacking 7836kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 49455 files and directories currently installed.)
Unpacking samba (from .../samba_3.0.24-6etch9_i386.deb) ...
Setting up samba (3.0.24-6etch9) ...
Generating /etc/default/samba...
Starting Samba daemons: nmbd failed!
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)
YM:/# dpkg-reconfigure samba
/usr/sbin/dpkg-reconfigure: samba is broken or not fully installed
YM:/#

I have tried again to:-

#apt-get clean
#apt-get remove --purge Samba
#apt-get install samba

But i get same error after downloading

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)
YM:/# dpkg-reconfigure samba
/usr/sbin/dpkg-reconfigure: samba is broken or not fully installed
YM:/#

I am kindly requesting for assistance, I want to learn how to configure samba as a File share server for our small office LAN.

I will be grateful

Yusuf
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get samba install, you know how? sportivo888 Linux - Newbie 3 12-05-2007 04:52 PM
How To Install Samba Post Install? carlosinfl Red Hat 4 04-24-2007 12:26 PM
SAMBA (install) kerryblue19 Linux - Software 1 05-17-2006 12:14 PM
How do I install Samba if I didn't install it when I installed FC2? CatchFlipsidE Linux - Newbie 6 09-10-2004 06:17 PM
Samba install boyinfrance Linux - Newbie 2 05-10-2002 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration