LinuxQuestions.org
Help answer threads with 0 replies.
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 11-10-2004, 09:54 AM   #1
ni0wn
LQ Newbie
 
Registered: Sep 2004
Location: Stockholm, Sweden
Distribution: Slackware
Posts: 17

Rep: Reputation: 0
Uninstall samba, something is REALLY screwed up


Okay, I'm usually using Slackware, I don't like Red Hat because it sorta like windows. And now I hate it because everything is supposed to go smooth here, but it's not. Slackware kicks ass :P

Anyway, I've set up a Red Hat printerserver and can't get anything to work (took me 5min in Slackware), so I thought that SAMBA might have something to do with it. Anyway, without thinking I downloaded the latest RPM package (3.0.8) and installed it. Now I can't remove anything. I try with: rpm -e samba-3.0.8-1_rh9.i386.rpm but it says that the package isn't installed.

Okey, I suppose I didn't get that package installed. So I try to uninstall the samba that comes with this Red Hat 9 system. So I ran: rpm -e samba-2.2.7a-7.9.0.i386.rpm then it says that the package isn't installed either! But I have a running smbd, and when I type (after running updatedb) locate samba I get a whole list of samba files. So it's spread out on the whole system like f00king virus or something, and I can't get it uninstalled! (Sorry for bad language, I'm sorta pissed off.)

So my question is, how do I REMOVE everything that's samba related? Configuration files, daemons, anything that might be in the RPM database etc. I gotta get this shit going on friday, so I need all the help I can get.

Any help is apreciated as long as I don't get rm -rf ./

Thanks in advance.

// ni0wn
 
Old 11-10-2004, 01:10 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
just try "rpm -i <NEWRPM>" and see if it can upgrade for you.
 
Old 11-10-2004, 01:43 PM   #3
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Rep: Reputation: 46
It is always best to figure out what is installed prior to putting anything else on the system. I would (as root) run rpm -qa | sort >allrpms. The rpm -qa will query the rpm database the a will allow all names (even duplicates) to be included. The | sort will keep everything together. The > allrpms will take the sorted output result set and put the result in a file called allrpms. Use an editor to examine allrpms and use an rpm -e to erase anything you no longer want.
 
Old 11-10-2004, 02:15 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I think rpm -e wants the name rpm sees it as, not the filename as well.
 
  


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
Need to uninstall SuSe 8.1 & there is no uninstall jwhibdon Linux - Software 10 10-26-2006 11:57 AM
installed red hat enterprise in text mode. I need to uninstall samba & DNS caligal Linux - Enterprise 2 11-04-2005 11:16 AM
samba ports open to public - i think i'm screwed davalos Linux - Security 11 12-26-2004 11:06 PM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
Samba getting very screwed? acid_kewpie Linux - Networking 1 09-13-2001 02:37 PM

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

All times are GMT -5. The time now is 09:33 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