Mettre à jour MySQL Provoque des erreurs

j'utilise Centos 5.8 (Linux 2.6.18-308.13.1.el5 sur x86_64) Et je veux mettre à jour la version MySQL 5.0.95. J'utilise un guide qui peut être trouvé sur
http://www.if-not-true-then-fa ... rhel/
. Quand je me tourne vers la prochaine, je reçois beaucoup d'erreurs. Il semble que cela soit associé à la transition de 386 sur 86x64. Quelqu'un peut-il aider? remercier

yum --enablerepo=remi,remi-test update mysql mysql-server

Transaction Check Error: file /etc/my.cnf from install of
mysql50-5.0.96-2.ius.el5.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/info/mysql.info.gz from
install of mysql50-5.0.96-2.ius.el5.x86_64 conflicts with file from
package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/man/man1/mysql.1.gz from install of
mysql50-5.0.96-2.ius.el5.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/man/man1/mysqlaccess.1.gz from install of
mysql50-5.0.96-2.ius.el5.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/man/man1/mysqladmin.1.gz
from install of mysql50-5.0.96-2.ius.el5.x86_64 conflicts with file
from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/man/man1/mysqldump.1.gz from install of
mysql50-5.0.96-2.ius.el5.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/man/man1/mysqlshow.1.gz
from install of mysql50-5.0.96-2.ius.el5.x86_64 conflicts with file
from package mysql-5.0.95-1.el5_7.1.i386 file /etc/my.cnf from
install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file
from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/charsets/Index.xml from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/charsets/cp1250.xml from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/charsets/cp1251.xml from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/czech/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/danish/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/dutch/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/english/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/estonian/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/french/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/german/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/greek/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/hungarian/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/italian/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/japanese/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/korean/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/norwegian-ny/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/norwegian/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/polish/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/portuguese/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/romanian/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/russian/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/serbian/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/slovak/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/spanish/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/mysql/swedish/errmsg.sys
from install of mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with
file from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/mysql/ukrainian/errmsg.sys from install of
mysql-libs-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/bin/mysqlaccess from install
of mysql-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/man/man1/my_print_defaults.1.gz from install of
mysql-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/man/man1/mysql.1.gz from
install of mysql-5.5.28-1.el5.remi.x86_64 conflicts with file from
package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/man/man1/mysql_config.1.gz from install of
mysql-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/man/man1/mysql_find_rows.1.gz from install of
mysql-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/man/man1/mysql_waitpid.1.gz from install of
mysql-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/man/man1/mysqlaccess.1.gz from install of
mysql-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/man/man1/mysqladmin.1.gz
from install of mysql-5.5.28-1.el5.remi.x86_64 conflicts with file
from package mysql-5.0.95-1.el5_7.1.i386 file
/usr/share/man/man1/mysqldump.1.gz from install of
mysql-5.5.28-1.el5.remi.x86_64 conflicts with file from package
mysql-5.0.95-1.el5_7.1.i386 file /usr/share/man/man1/mysqlshow.1.gz
from install of mysql-5.5.28-1.el5.remi.x86_64 conflicts with file
from package mysql-5.0.95-1.el5_7.1.i386
Invité:

Catherine

Confirmation de:

On dirait que vous avez utilisé des paquets MySQL Du référentiel communautaire IUS. Malheureusement, ces forfaits ne semblent pas 100% Compatible avec les packages source, et vous obtenez donc des dépendances brisées, telles que celles-ci. Premier supprimer tous les paquets existants MySQL (Vos bases de données ne seront pas affectées.), puis installer des packages du référentiel remi (qui sont compatibles et n'ont pas de problèmes avec des dépendances).

Vous devez également vous assurer que vous avez déconnecté ou supprimé le repo conflictuel (IUS).

Blanche

Confirmation de:

De cette sortie, il s'ensuit qu'il tente d'installer une nouvelle version mysql Avec l'ancienne version et ne remplit pas la mise à jour. Il est probablement expliqué par ce que vous essayez d'installer une version x86_64, Mais avant d'avoir une version i386 (Je pense que cela devrait être considéré comme une erreur dans yum, soit pour l'erreur dans le référentiel que vous avez utilisé, et en fait
http://bugs.centos.org/view.php?id=1356
).

Essayez explicitement spécifier la version. mysql pour i386 Ou utiliser mysqldump pour la décharge de l'instance entière, supprimer, puis installer la version x86_64 Et dépôt importé (Vous pouvez importer des décharges faites mysqldump, En les reliant à K.

mysql -p

, Parce qu'ils sont des scénarios SQL).

Pour mettre à jour spécifiquement la version i386, changement

mysql mysql-server

Dans votre équipe

mysql.i386 mysql-server.i386

.

Pour répondre aux questions, connectez-vous ou registre