Bonjour,
Je travail sur une distribution CentOS 5.10 sur laquelle est installé Centreon enterprise server.
Afin de tester un module d'autodiscovery j'ai besoin d'installer mysql-devel, cependant je rencontre un problème au cours de l'installation et je ne sais pas comment le résoudre.
Il me dit que plusieurs fichiers sont en conflit avec une version plus récente.
Voici les messages d'erreur exactes:
Transaction Check Error:
package mysql-devel-5.5.34-1.el5.remi.x86_64 (which is newer than mysql-devel-5.0.95-5.el5_9.i386) is already installed
package mysql-5.5.34-1.el5.remi.x86_64 (which is newer than mysql-5.0.95-5.el5_9.i386) is already installed
file /etc/my.cnf from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/Index.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/cp1256.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/cp1257.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/cp850.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/cp852.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/cp866.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/dec8.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/geostd8.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/greek.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/hebrew.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/hp8.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/keybcs2.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/koi8r.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/koi8u.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/latin1.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/latin2.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/latin5.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/latin7.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/macce.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/macroman.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/charsets/swe7.xml from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/english/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/french/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/german/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-libs-5.5.34-1.el5.remi.x86_64
file /usr/bin/mysqlaccess from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
file /usr/share/man/man1/my_print_defaults.1.gz from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
file /usr/share/man/man1/mysql.1.gz from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
file /usr/share/man/man1/mysql_config.1.gz from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
file /usr/share/man/man1/mysql_find_rows.1.gz from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
file /usr/share/man/man1/mysql_waitpid.1.gz from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
file /usr/share/man/man1/mysqlaccess.1.gz from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
file /usr/share/man/man1/mysqladmin.1.gz from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
file /usr/share/man/man1/mysqldump.1.gz from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
file /usr/share/man/man1/mysqlshow.1.gz from install of mysql-5.0.95-5.el5_9.i386 conflicts with file from package mysql-5.5.34-1.el5.remi.x86_64
Merci de votre aide.
Ps: je débute sous Linux donc soyez précis dans vos explications svp
# Déjà installé une autre version
Posté par Lol Zimmerli (site web personnel, Mastodon) . Évalué à 1.
Apparemment tu essaies d'installer mysql-devel-5.0.95-5.el5_9.i386 alors que mysql-devel-5.5.34-1.el5.remi.x86_64 est installé; d'où conflit. Autrement dit, tu as déjà mysql-devel.
La gelée de coings est une chose à ne pas avaler de travers.
[^] # Re: Déjà installé une autre version
Posté par NeoX . Évalué à 1.
je confirmes ce que dit LOL
mysql-devel est deja installé
et en plus il serait plus à jour que celui que tu cherches à installer
[^] # Commentaire supprimé
Posté par Anonyme . Évalué à 2.
Ce commentaire a été supprimé par l’équipe de modération.
[^] # Re: Déjà installé une autre version
Posté par ranDom (site web personnel) . Évalué à 2.
J'ajouterai que le mysql-devel actuellement installé provient d'un dépôt "non officiel" (les rpm de remi).
Le genre de truc à limiter à tout prix, pour éviter ce genre de conflit.
Personnellement, je me suis mordu les doigts après avoir installé des paquets depuis les dépôts rpmforge et rpmfusion, qui propose des paquets pouvant entrer en conflit avec des paquets existants.
Actuellement je me limite aux dépôts epel (https://fedoraproject.org/wiki/EPEL) et n'ai pas de problèmes, ce dépôt semble se contenter des paquets non disponible via les canaux officiels.
mes 2 ¢
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.