LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2004, 11:14 PM   #1
breddy
LQ Newbie
 
Registered: Jul 2004
Distribution: RH & Fedora
Posts: 1

Rep: Reputation: 0
Remove package from RPM database?


Hello group,

I'm a newb to the RPM tool. I'm using FC2, and trying to install MySQL. I've successfully jacked up my install and I'd like to start from *scratch*. I've deleted everything that seems to relate to what I think installed with the MySQL package, but rpm still thinks it is installed:

Code:
# rpm -qa |grep MySQL
MySQL-client-4.0.20-0
MySQL-server-4.0.20-0
Yet when I try to uninstall it, RPM tells me it is not installed. AT first it simply told me "package xxx is not installed." Now I get:

Code:
# rpm -e MySQL-server-4.0.20-0
error reading information on service mysql: No such file or directory
error: %preun(MySQL-server-4.0.20-0) scriptlet failed, exit status 1
How can I remove EVERYTHING and make RPM think MySQL never existed???

TIA,

Breddy
 
Old 07-22-2004, 12:51 AM   #2
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
Have you tried:

rpm -e --nodeps MySQL-server

Or try reinstalling and then uninstall. No need to give the version number in the command.
 
  


Reply


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
multiple installs of same package in RPM database kamdh Fedora 10 10-15-2015 09:18 AM
How to remove an RPM package? sirius57 Fedora 4 11-30-2005 09:07 PM
How do you uninstall/remove an rpm package? Plz Help! Gormless Linux - Newbie 3 10-23-2004 04:25 PM
Can't remove RPM package xxxxxxxxx Linux - Newbie 8 05-07-2004 04:24 PM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 08:53 AM


All times are GMT -5. The time now is 11:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration