Results 1 to 9 of 9
Hello, I am running Centos5. I am trying to uninstall mysql then reinstall it because I am having issues. When I try to use rpm this is what I am ...
- 08-13-2008 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 5
RPM Not Working
Hello, I am running Centos5. I am trying to uninstall mysql then reinstall it because I am having issues. When I try to use rpm this is what I am getting.
$ sudo rpm -e mysql
RPM version 4.4.2
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL
Usage: rpm [-aKfgpWHqV] [-aKfgpWHqVcdils] [-aKfgpWHqVcdilsaKfgpWHqV] [-aKfgpWHqVcdilsaKfgpWHqV] [-aKfgpWHqVcdilsaKfgpWHqV] [-aKfgpWHqVcdilsaKfgpWHqVK]
[-aKfgpWHqVcdilsaKfgpWHqVK] [-aKfgpWHqVcdilsaKfgpWHqVKi] [-aKfgpWHqVcdilsaKfgpWHqVKiv] [-aKfgpWHqVcdilsaKfgpWHqVKiv] [-aKfgpWHqVcdilsaKfgpWHqVKiv?] [-a|--all]
[-f|--file] [-g|--group]
[-p|--package] [-W|--ftswalk] [--pkgid] [--hdrid] [--fileid]
[--specfile] [--triggeredby] [--whatrequires] [--whatprovides]
[--nomanifest] [-c|--configfiles] [-d|--docfiles] [--dump] [-l|--list]
[--queryformat=QUERYFORMAT] [-s|--state] [--nomd5] [--nofiles]
[--nodeps] [--noscript] [--comfollow] [--logical] [--nochdir]
[--nostat] [--physical] [--seedot] [--xdev] [--whiteout]
[--addsign] [-K|--checksig] [--delsign] [--import] [--resign]
[--nodigest] [--nosignature] [--initdb] [--rebuilddb] [--aid]
[--allfiles] [--allmatches] [--badreloc] [-e|--erase <package>+]
[--excludedocs] [--excludepath=<path>] [--fileconflicts] [--force]
[-F|--freshen <packagefile>+] [-h|--hash] [--ignorearch] [--ignoreos]
[--ignoresize] [-i|--install] [--justdb] [--nodeps] [--nomd5]
[--nocontexts] [--noorder] [--nosuggest] [--noscripts]
[--notriggers] [--oldpackage] [--percent] [--prefix=<dir>]
[--relocate=<old>=<new>] [--repackage] [--replacefiles]
[--replacepkgs] [--test] [-U|--upgrade <packagefile>+]
[-D|--define 'MACRO EXPR'] [-E|--eval 'EXPR'] [--macros=<FILE:...>]
[--nodigest] [--nosignature] [--rcfile=<FILE:...>] [-r|--root ROOT]
[--querytags] [--showrc] [--quiet] [-v|--verbose] [--version]
[-?|--help] [--usage] [--scripts] [--setperms] [--setugids]
[--conflicts] [--obsoletes] [--provides] [--requires] [--info]
[--changelog] [--xml] [--triggers] [--last] [--filesbypkg]
[--fileclass] [--filecolor] [--filecontext] [--fscontext]
[--recontext] [--fileprovide] [--filerequire] [--redhatprovides]
[--redhatrequires] [--buildpolicy=<policy>] [--with=<option>]
[--without=<option>]
That is for any RPM command. Yes I read the man pages on RPM any ideas if I need to enable RPM or what?
- 08-13-2008 #2
What happens if you don't use sudo? Use the actual root account to run "rpm -e".
- 08-13-2008 #3Just Joined!
- Join Date
- Aug 2008
- Posts
- 5
Same results any idea?
- 08-13-2008 #4
The error is about invalid sysntax...
can you use anyother option of rpm like
rpm -qa mysql
or try using
rpm --erase mysql
- 08-15-2008 #5Just Joined!
- Join Date
- Jan 2008
- Posts
- 20
i think there may be a problem because you may be spelling it wrong,
some alphabets may be capital in "mysql" like MySql
check this out,
- 08-18-2008 #6Just Joined!
- Join Date
- Aug 2008
- Posts
- 5
Still does not work.
- 08-18-2008 #7Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
I just noticed this part of your post. Unless some of your binaries (executables or libraries) were inadvertently deleted this probably won't help. Linux isn't like Windows in that reinstalling either won't fix your problem or your old configuration could be left behind. Often you can delete an applications configuration and start from scratch as if you had just reinstalled. Remember application preferences are stored in /etc/ for systemwide changes and within a user's home directory for user applications.
What is the nature of the problem you are having?
- 08-18-2008 #8Just Joined!
- Join Date
- Aug 2008
- Posts
- 5
I cannot excute any RPM commands. When I do I receive the message from above. Any ideas where i should look if it is installed on my machine?
- 08-18-2008 #9Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110


Reply With Quote
