Dermot Daly wrote:
>I was trying to remove my mysql package from my system yesterday. I ran
>the necessary command rpm -e -p <package name>
>>This ran overnight, but did not comeplete (with no output).
>>So...This morning I killed the rpm process, and am now tring to re-build
>the rpm database.
>rpm --verbose --initdb or
>rpm --verbose --rebuilddb are producing no output and appear to be doing
>>Is this correct ? Any pointers?
>>Are you sure you need to rebuild it? I cant say i'm an rpm expert here.
The -p flag is a query option used to select a file as opposed to an
installed rpm. I've a funny feeling this is your problem - i suspect it
just hung and didn't do anything (i could be way off). try rpm -qa and
see if it gives you a whole list of installed packages. if so and they
look like what you think you got then all is probably well. just do rpm
-e mysql and it should uninstall mysql. the -p flag is unneccessary.
Hope this is all that is wrong. good luck!
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!