[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Question!!!



On Wed, Oct 31, 2001 at 02:58:53PM -0600, Cesar Garza Hernandez <cgarzah axasa com> wrote:
| [root lumige src]# rpm -e mysql-3.23.36-1
| error: removing these packages would break dependencies:
|         mysql = 3.23.36 is needed by mysql-devel-3.23.36-1
|         mysql is needed by php-mysql-4.0.4pl1-9
|         libmysqlclient.so.10   is needed by perl-DBD-MySQL-1.2215-1
|         libmysqlclient.so.10   is needed by php-mysql-4.0.4pl1-9
|         libmysqlclient.so.10   is needed by rpm2html-1.5-4

This means that more needs to go, but not all!  mysql-devel should go
because a fresh equivalent will come with the mysql install you plan.
The others stay as they themselves are not supplied by the mysql source,
and since libmysqlclient.so will be part of the install then they should
work again afterwards.

So this means you want to say

	rpm -e mysql mysql-devel

Providing that that only the last 4 lines of the above error messages remain you
can then go:

	rpm --nodeps -e mysql mysql-devel

to actually proceed. As always, you should only use --nodeps are
satisfying yourself that the complaints issued without --nodeps are
not important.

An alternative approach is to not remove the old mysql RPMs at all,
but simply to install mysql from source with a --prefix= setting to
"configure" which puts the install somewhere else like /opt/mysql or
/usr/local. Then just use the version you prefer.
--
Cameron Simpson, DoD#743        cs zip com au    http://www.zip.com.au/~cs/

I made this letter longer than usual because I lack the time to make it
shorter.	- Pascal





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]