LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-26-2003, 09:14 PM   #1
jiggywiggy
Member
 
Registered: Aug 2003
Distribution: OS X (Darwin)
Posts: 57

Rep: Reputation: 15
Rpm removing????


I used rpm -e to remove snort supposedly, but when i type rpm -qi snort it says it's installed. How do I delete it?
 
Old 09-26-2003, 09:15 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
well, if you use Mandrake 9.1, you can go to the Control Center, Software, Remove RPM's and I THINK it should completely remove the software.

However, it's weird since rpm -e should remove everything?
 
Old 09-26-2003, 09:33 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
After you install/remove an rpm, the rpm database may not be updated to show the installation/removal. To make certain that the database of installed rpm's is up to date, after installing/removing a package, run rpm --rebuilddb, then try the rpm -qi command.
 
Old 09-27-2003, 12:54 AM   #4
jiggywiggy
Member
 
Registered: Aug 2003
Distribution: OS X (Darwin)
Posts: 57

Original Poster
Rep: Reputation: 15
I'm using red hat 9 and I did what bigrig said and I got error: db4 error(16) from dbenv->remove: Device or resource busy then I checked and it was still installed.
 
Old 09-27-2003, 08:40 AM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Is it still running ?
If yes, stop it and then try to remove it.
 
Old 09-27-2003, 11:14 AM   #6
jiggywiggy
Member
 
Registered: Aug 2003
Distribution: OS X (Darwin)
Posts: 57

Original Poster
Rep: Reputation: 15
I looked in the system monitor and did not see it listed.
 
Old 09-27-2003, 11:41 AM   #7
cicisbeo
Member
 
Registered: Jul 2003
Distribution: slackware9.0
Posts: 34

Rep: Reputation: 15
I had used RedHat 7.2 and used to use gnorpm to manage rpms.
You need to be logged in as root in order to use this.
Another approach to take may be to login as root at the console
and type:
find / -iname *snort*
and manually remove all files returned.
Hope this helps.
~cicisbeo
 
Old 09-27-2003, 12:07 PM   #8
jiggywiggy
Member
 
Registered: Aug 2003
Distribution: OS X (Darwin)
Posts: 57

Original Poster
Rep: Reputation: 15
I typed that in and nothing came back.
 
Old 09-27-2003, 04:08 PM   #9
cicisbeo
Member
 
Registered: Jul 2003
Distribution: slackware9.0
Posts: 34

Rep: Reputation: 15
I would assume then that `snort' has been removed from
your machine. If you're seeing it on user menus in your
window manager, then those entries may have to be re-
moved from the menu files manually. If you use gnome
then your menus should be somewhere in the directory
~/.gnome or perhaps ~/.gconf. I can't really remember
for sure and it may have changed by now, but look around
your home directory for anything like it.
I seem to remember tthat gnome menu filenames ended in the
extension `.menu' so perhaps doing a
find ~/ -iname *menu* would be useful
of even
grep -irn "snort" ~/
~cicisbeo
 
Old 09-27-2003, 04:54 PM   #10
jiggywiggy
Member
 
Registered: Aug 2003
Distribution: OS X (Darwin)
Posts: 57

Original Poster
Rep: Reputation: 15
I typed in grep -irn "snort" ~/ and it showed me a lot of files and i was wondering the command for deleting then all?
 
Old 09-27-2003, 06:02 PM   #11
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
you can uninstall something by -

find / -name "*snort*"

then

rm -rf /what/ever/fileyouwant

~BEWARE~
this command is powerful!
 
Old 09-28-2003, 08:02 AM   #12
cicisbeo
Member
 
Registered: Jul 2003
Distribution: slackware9.0
Posts: 34

Rep: Reputation: 15
Just be aware that `grep -irn "string" location' returns the names of files found in the directory and sub-directories of location in which
"string" was found. You may not necessarily want to delete these
entire files, but edit them and remove the lines containing the
entries in which "string" was found. As mossy cautioned, be careful
what you are removing!
~cicisbeo
 
Old 09-28-2003, 07:18 PM   #13
jiggywiggy
Member
 
Registered: Aug 2003
Distribution: OS X (Darwin)
Posts: 57

Original Poster
Rep: Reputation: 15
What is string? I am such a newb. So I need like specific things to do. thanks for all you help
 
Old 09-28-2003, 07:19 PM   #14
jiggywiggy
Member
 
Registered: Aug 2003
Distribution: OS X (Darwin)
Posts: 57

Original Poster
Rep: Reputation: 15
I meant newb. And I guess I'm stupid for not using spellcheck
 
  


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
help removing .rpm SuSe 9.2 Pro Lleb_KCir Linux - Software 3 07-29-2005 11:48 AM
Removing rpm program leonidg Linux - Software 2 12-26-2004 01:25 AM
removing an rpm thelight1 Linux - Newbie 3 08-02-2003 07:49 PM
can RPM removing all packages I have install? Embeder Linux - General 4 06-13-2003 10:37 AM
Help with Removing an RPM robgo777 Linux - General 6 12-03-2002 08:48 PM

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

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