Re: how to resolve this conflict?

From: Date: Thu, 01 Dec 2005 22:09:27 +0000
Subject: Re: how to resolve this conflict?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-226740@lists.php.net to get a copy of this message
James Benson wrote:
You obviously need to remove the old package or compile your own from source Bing Du wrote:
Hello, I've already posted it on the MySQL General Discussion list. Thought I wanted to try this list as well in case somebody knows. 5.0.11-beta-standard is already running. Now I need to install php-mysql which requires mysql-3.23.58-15.RHEL3.1.i3. Here is what I did and the errors I got: //////////////////////////////////////////////////////// $ sudo up2date -i php-mysql Password: Fetching Obsoletes list for channel: rhel-i386-ws-3... Fetching Obsoletes list for channel: rhel-i386-ws-3-extras... Fetching Obsoletes list for channel: dag-ws... Fetching Obsoletes list for channel: isl-channel-ws... Fetching Obsoletes list for channel: dag... Fetching rpm headers... ########################################
Name                                    Version        Rel
----------------------------------------------------------
php-mysql                               4.3.2          26.ent  i386
Testing package set / solving RPM inter-dependencies... Downloading headers to solve dependencies... ######################################## php-mysql-4.3.2-26.ent.i386 ########################## Done. mysql-3.23.58-15.RHEL3.1.i3 ########################## Done.
Preparing              ########################################### [100%]
An error has occurred: Failed running transaction of packages: ('file /usr/bin/comp_err from install of mysql-3.23.58-15.RHEL3.1 conflicts with file from package MySQL-devel-standard-5.0.11-0.rhel3', (7, '/usr/bin/comp_err', 0L)) ('file /usr/bin/mysql_config from install of mysql-3.23.58-15.RHEL3.1 conflicts with file from package MySQL-devel-standard-5.0.11-0.rhel3', (7, '/usr/bin/mysql_config', 0L)) See /var/log/up2date for more information /////////////////////////////////////////////////// More information I found in /var/log/up2date is: ////////////////////////////////// [Thu Dec 1 12:50:02 2005] up2date updating login info [Thu Dec 1 12:50:02 2005] up2date logging into up2date server [Thu Dec 1 12:50:03 2005] up2date successfully retrieved authentication token from up2date server [Thu Dec 1 12:50:03 2005] up2date availablePackageList from network [Thu Dec 1 12:50:03 2005] up2date Unable to import repomd support so repomd support w ill not be available [Thu Dec 1 12:50:15 2005] up2date solving dep for: ['libmysqlclient.so.10'] [Thu Dec 1 12:50:19 2005] up2date solving dep for: ['libmysqlclient.so.10'] [Thu Dec 1 12:50:22 2005] up2date installing packages: ['php-mysql-4.3.2-26.ent', 'mysql-3.23.58-15.RHEL3.1'] [Thu Dec 1 12:50:25 2005] up2date Failed running transaction of packages: ('file /usr/bin/comp_err from install of mysql-3.23.58-15.RHEL3.1 conflicts with file from package MySQL-devel-standard-5.0.11-0.rhel3', (7, '/usr/bin/comp_err', 0L)) ('file /usr/bin/mysql_config from install of mysql-3.23.58-15.RHEL3.1 conflicts with file from package MySQL-devel-standard-5.0.11-0.rhel3', (7, '/usr/bin/mysql_config', 0L)) [Thu Dec 1 12:50:25 2005] up2date File "/usr/sbin/up2date", line 1265, in ?
    sys.exit(main() or 0)
File "/usr/sbin/up2date", line 800, in main
    fullUpdate, dryRun=options.dry_run))
File "/usr/sbin/up2date", line 1137, in batchRun
    batch.run()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 90, in run
    self.__installPackages()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 174, in __installPackages
    self.kernelsToInstall =
up2date.installPackages(self.packagesToInstall, self.rpmCallback) File "/usr/share/rhn/up2date_client/up2date.py", line 749, in installPackages
    runTransaction(ts, added, removed,rpmCallback, rollbacktrans =
rollbacktrans) File "/usr/share/rhn/up2date_client/up2date.py", line 634, in runTransaction
    rpmUtils.runTransaction(ts,rpmCallback, transdir)
File "/usr/share/rhn/up2date_client/rpmUtils.py", line 520, in runTransaction
    "Failed running transaction of  packages: %s") % errors, deps=rc)
////////////////////////////////// So any way to walk around this conflict? Thanks in advance for any suggestions. Bing
I remember it's possible to install several versions of MySQL and pick one depending on your need, but I cannot find where I saw it anymore. Anybody know where that information is? Thanks, Bing

« previous php.general (#226740) next »