Thanks for the help, but more problems are now arising :- rpm -qa | grep mysql reports :- mysql-3.23.52-3 (after many other MySQL packages were removed)
rpm -e mysql-3.23.52-3 reports :- error: Failed dependencies: libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1017-3 rpm -e perl-DBD-MySQL-2.1017-3 reports:- error: Failed dependencies: perl-DBD-MySQL is needed by (installed) mysql-3.23.52-3 This appears to me that I am now in a loop. Can anyone advise how to get out of this loop as my MySQL server is now inoperable. Thanks again -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David S. Wilkinson Sent: Saturday, December 21, 2002 10:55 AM To: [EMAIL PROTECTED] Subject: Re: Removing & Installing RPM's Step 1) Checking RPM database for installed RPMs Ok this example is taken from my RH7.2 box. If you want to remove the rpms you first need to know which ones are installed. You do this with the following command: [root@intranet root]# rpm -qa |grep mysql mysql-server-3.23.41-1 mysql-devel-3.23.41-1 mysqlclient9-3.23.22-6 mysql-3.23.41-1 Step 2) Removing RPMs Then by using the "-e" swith you can erase an rpm: [root@intranet root]# rpm -e mysql-3.23.41-1 do this for all the mysql rpms Step 3) Installing RPMs A new rpm can be installed in different ways, but I always use "-Uhv": [root@intranet root]# rpm -Uhv mysql-blah.rpm for more information type in "man rpm" Andy Kirk wrote: > I am new to Linux, and have been advised to solve a MySQL problem on RH8, I > need to remove the MySQL RPM that came with RH8, and load the MySQL 3.23.54 > RPM from www.mysql.com. > > My question is, what commands do I need to run to remove the existing RPM, > and then install the new RPM. > > Thanks for a simple answer to a simple question > > > > -- David S. Wilkinson -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list