<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Olá Marcelo, obrigado pela resposta.<br>
<br>
Realmente, desta maneira não havia tentado. Fiz o teste agora a tarde,
e infelizmente não foi possível fazer a atualização. Segue a saída do
comando:<br>
<br>
<code># rpm -Uvh MySQL-client-community-5.1.41-0.rhel5.i386.rpm
MySQL-server-community-5.1.41-0.rhel5.i386.rpm
MySQL-shared-compat-5.1.41-0.rhel5.i386.rpm <br>
A preparar... ###########################################
[100%]<br>
1:MySQL-shared-compat ###########################################
[ 33%]<br>
<br>
******************************************************************<br>
A MySQL server package (mysql-server-5.0.77-3.el5) is installed.<br>
<br>
The current MySQL server package is provided by a different<br>
vendor (CentOS) than MySQL AB or Sun Microsystems, Inc..<br>
Some files may be installed to different locations, including log<br>
files and the service startup script in /etc/init.d/.<br>
<br>
Upgrading directly from MySQL 5.0 to MySQL 5.1 may not<br>
be safe in all cases. A manual dump and restore using mysqldump is<br>
recommended. It is important to review the MySQL manual's Upgrading<br>
section for version-specific incompatibilities.<br>
<br>
A manual upgrade is required.<br>
<br>
- Ensure that you have a complete, working backup of your data and
my.cnf<br>
files<br>
- Shut down the MySQL server cleanly<br>
- Remove the existing MySQL packages. Usually this command will<br>
list the packages you should remove:<br>
rpm -qa | grep -i '^mysql-'<br>
<br>
You may choose to use 'rpm --nodeps -ev <package-name>' to
remove<br>
the package which contains the mysqlclient shared library. The<br>
library will be reinstalled by the MySQL-shared-compat package.<br>
- Install the new MySQL packages supplied by Sun Microsystems, Inc.<br>
- Ensure that the MySQL server is started<br>
- Run the 'mysql_upgrade' program<br>
<br>
This is a brief description of the upgrade process. Important details<br>
can be found in the MySQL manual, in the Upgrading section.<br>
******************************************************************<br>
erro: %pre(MySQL-server-community-5.1.41-0.rhel5.i386) scriptlet
failed, exit status 1<br>
erro: install: %pre scriptlet failed (2), skipping
MySQL-server-community-5.1.41-0.rhel5<br>
2:MySQL-client-community ###########################################
[ 67%]<br>
<br>
</code><br>
Pelo que pude perceber, o problema se dá porque a minha instalação do
mysql foi feita via YUM, como citei no meu primeiro e-mail. <br>
<br>
Sendo assim, o único método que poderei utilizar é a remoção do Mysql
instalado via YUM e a instalação do RPM. Este processo eu testei e
funcionou corretamente.<br>
<br>
Obrigado a todos pela ajuda.<br>
<br>
[]s<br>
Fábio Jr.<br>
<br>
<br>
<br>
Marcelo Gondim escreveu:
<blockquote cite="mid:003301ca6c73$f63a86b0$e2af9410$@com.br"
type="cite">
<pre wrap="">Você precisa colocar todos os pacotes no mesmo comando do RPM. Tipo:
rpm -Uvh MySQL-client-community-5.1.41-0.rhel5.i386.rpm
MySQL-client-community-5.1.41-0.rhel5.i386.rpm .... e por aí vai
Fazendo assim não vai dar erro de dependência mas vc precisa de todos os
pacotes que tem lá no site do MySQL.
Se tentar instalar um por um vai dar esse tipo de problema.
</pre>
</blockquote>
<br>
</body>
</html>