Page 1 of 1
MySQL - i386 vs. x86_64
Posted: Thu Jun 12, 2008 2:00 pm
by Snapdragon
So it seems I have MySQL 4.1 i386 installed, and has a fit when I go to upgrade PHP.
The machine is running all x86_64 on the other packages.
How do you force yum to change from i386 to x86_64? With ART or CentOSplus, yum wants to keep going with i386 to MySQL 5.
Posted: Thu Jun 12, 2008 2:14 pm
by Snapdragon
Well, somethings totally wrong... any attempt to upgrade PHP or MySQL results in spews of:
Code: Select all
...conflicts with file from package mysql-4.1.20-3.RHEL4.1.el4_6.1
Do I need to pull PHP and MySQL and just do them fresh or force the install?
Edit...
http://www.atomicrocketturtle.com/forum ... php?t=1700
I did this and found out that I too, have both 32 bit and 64 bit MySQL apps installed. Yum is actually trying to update the 64 bit then complains about the 32 bit.
So I did yum remove mysql.i386 and it came back by itself with no deps. Great! Toast it!
Now the only error I get on yum mysql update is:
Code: Select all
Transaction Check Error: file /etc/php.ini from install of php-common-5.1.6-3.el4s1.8 conflicts with file from package php-4.3.9-3.22.9
... ok..
So I put 'yum update mysql php' together, and it went fine.
Only problem is now, because I forced removed php-pear to get it to run, now I can't get it to go back in >< .. force install it back?
Running php 5.1.6 and Mysql 5.0.58 from centosplus just fine now, as far as I can see.
Posted: Thu Jun 12, 2008 3:08 pm
by Snapdragon
/cry all my vbulletin forums I host broke.
ok... it was just some of their plugins.
so.. I'm still left with just the inability to install php-pear and it's extensions, as it thinks it still needs 4.3.9.
Posted: Fri Jun 13, 2008 8:17 am
by Highland
Have you tried this?
#yum install php-pear
php-pear is quirky and needs its own upgrade when going from 4.x to 5.x
Also, are you using the ART repo? The latest out of ART is 5.2.5 (soon to be 5.2.6)
Posted: Fri Jun 13, 2008 9:22 am
by breun
PHP 5.2.6 was pushed to atomic yesterday (along with ClamAV 0.93.1 and MySQL 5.0.58).
Posted: Fri Jun 13, 2008 10:33 am
by Snapdragon
Highland wrote:Have you tried this?
#yum install php-pear
php-pear is quirky and needs its own upgrade when going from 4.x to 5.x
Also, are you using the ART repo? The latest out of ART is 5.2.5 (soon to be 5.2.6)
Of course I did.
Code: Select all
Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear
Didn't matter if I was on ART or CentOS Base or CentOS Plus.
What's PEAR for anyways, do I even need it? Everything seems to be back up and running without it. Individual sites just needed tweaks to get going with PHP 5.
Posted: Fri Jun 13, 2008 10:37 am
by Snapdragon
Well, I grabbed 5.2.6 from ART and overwrote 5.1.6, no problem, then ran pear install and it went fine. Yay for Scott once again.
