Hello.
Because you're using MySQL not from RHEL shipment you might have to
install the required packages manually. For MySQL install
MySQL-shared-xxx rpm. BTW - upgrade to 5.0.16 - it has a lot of bug fixes
and is much more stable. Because of for php-mysql and other packages you
might need to use --force option for rpm command.
Bing Du wrote:
> Hello,
>
> 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.1=
> 0']
> [Thu Dec 1 12:50:19 2005] up2date solving dep for: ['libmysqlclient.so.1=
> 0']
> [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 package=
> s:
> ('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=3Doptions.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 =3D
> up2date.installPackages(self.packagesToInstall, self.rpmCallback)
> File "/usr/share/rhn/up2date_client/up2date.py", line 749, in
> installPackages
> runTransaction(ts, added, removed,rpmCallback, rollbacktrans =3D
> 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=3Drc)
> //////////////////////////////////
>
> So any way to walk around this conflict? Thanks in advance for any
> suggestions.
>
> Bing
>
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Gleb Paharenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]