Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-10-2004, 10:54 AM   #1
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, 02:10 PM   #2
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, 02:43 PM   #3
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 432

Rep: Reputation: 45
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, 03:15 PM   #4
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

All times are GMT -5. The time now is 06:02 PM.

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