I thought this might be helpful. Reading the posts regarding mysql and using rpm, I saw the use of grep to find the package of interest. I too always used grep but always thought that with a -qa I should be able to use wildcards! So.... I tried it about a month ago and aha! It worked. It must be undocumented because I have never seen it in the manual.
{mjs@xxxxxxxxxxxxxxxxxxx}:/home/mjs % rpm -qa auto* automake-1.6.3-5 autofs-3.1.7-36 autoconf-2.57-3 automake15-1.5-6 autorun-3.10-1 automake14-1.4p6-5.1
{mjs@xxxxxxxxxxxxxxxxxxx}:/home/mjs % rpm -qa my* mysql-3.23.54a-11 mysql-server-3.23.54a-11
{mjs@xxxxxxxxxxxxxxxxxxx}:/home/mjs
Pete Nesbitt wrote:
On January 8, 2004 05:17 pm, Zhao, Charles wrote:
Hello there,
This might be an easy question for some of you, but I am trying to uninstall MySQL 3.2 that came with my RH Linux 8.0 (in order to install 4.0), and it's components are scattered in different directories. Is there anyway (and the right procedure) to uninstall it?
Thanks
Hi Charles, It should be an rpm if it was from the onstall disks. Check if it indeed an rpm: rpm -qa|grep -i mysql (inludes dev etc)
then remove all those with rpm -e mysql-3.23.58-4 mysql-server-3.23.58-4 ...
If you just want to upgrade, unless mysql is fussy, rpm -Fvh mysql-4xxx.rpm mysql-server-4xxx ....
You may have some dependencies depending on what all is installed, so you'll probably have a handful of packages to remove or upgrade. HAve a look at the man page for rpm, it does lots of tricks:-)
-- ------------------------------------------------------------------------ Martin J. Stumpf Division of Medical Imaging Physics, Department of Radiology Johns Hopkins University School of Medicine 601 North Caroline Street / JHOC 4230 Baltimore, Maryland 21287-0855 USA Voice: (410) 614-0115 Fax: (410) 614-9979
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list