Visit Jeremy's Blog.
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 05-12-2002, 08:35 PM   #1
LQ Newbie
Registered: May 2002
Location: Sydney
Distribution: Suse 7.3, Redhat 7.2
Posts: 2

Rep: Reputation: 0
How do I 'Uninstall' software?

Specifically, I need to uninstall Samba.

I have just installled Suse 7.3 on a Sun Ultra 5 Sparc box. For some reason, I have been unable to get this version of Samba, the one that was installed during the install of Suse, working.

I spotted somewhere on the web an article from some chap who mentioned that he could not get this version of Samba working either. He added that he got Samba working by 'uninstalling' this version and re-installing version 2.1. (This one that is currently installed is 2.2 (I think)).

Having downloaded the samba-2.0.10-0.sparc.rpm I ran the command ....

rpm --install samba-2.0.10-0.sparc.rpm

This resulted in a page with almost 50 error messages. Here is one for example.....

file /user/bin/smbpasswd from install of samba-2.0.10-0.sparc.rpm conflicts with file from package samba-client-2.2.1a-29

Clearly, I need to uninstall the current package.

So, having now the name of the 'installed' package, I typed the following command....

rpm -e samba-client-2.2.1a-29

This resulted in the following error..

cannot remove /etc/samba - directory not empty

Must this be so difficult?

Last edited by Brad; 05-12-2002 at 08:36 PM.
Old 05-12-2002, 10:33 PM   #2
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
try to do an upgrade rather than an install


rpm -Uvh samba-2.0.10-0.sparc.rpm

Also try this:

rpm --query samba

that should give you a list of packages that have the name samba in them. The error says that the directory isn't epmty, which means that there might be another samba package that has some files there.
Old 05-12-2002, 11:55 PM   #3
LQ Newbie
Registered: May 2002
Location: Sydney
Distribution: Suse 7.3, Redhat 7.2
Posts: 2

Original Poster
Rep: Reputation: 0

I tried

rpm -Uvh samba-2.0.10-0.sparc.rpm

..and I got the following error...

"error: failed depenpancies:
smbclnt is needed by samba-"

I also try this:

rpm --query samba

This returned....

"package samba is not installed".

So now I cannot install it because it's 'directory is not empty', I can't uninstall it because rpm can't see it and I can't upgrade it because of some 'failed dependancies' error.
Old 05-13-2002, 10:33 AM   #4
LQ Newbie
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Rep: Reputation: 15
Go to and download the smbclnt rpm package from there.

Then run
rpm -Uvh --test samba-2.0.10-0.sparc.rpm

RPM then lists all the packages you need to download and install in order to install Samba. If you ran rpm -Uvh --test samba-2.0.10-0.sparc.rpm and no dependancy errors show up you can start the installation with rpm -Uvh samba-2.0.10-0.sparc.rpm .


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
How to uninstall software! oliverkazaam41 Linux - Newbie 2 09-19-2005 07:04 PM
Uninstall Software jrmann1999 Ubuntu 4 07-21-2005 07:08 PM
how to uninstall a software :King_58: Linux - Newbie 16 10-01-2004 04:00 PM
how to uninstall a software puru_09 Linux - Software 2 12-03-2002 12:04 AM
how to uninstall software? croger Linux - Software 2 05-11-2002 09:20 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration