MySQL - i386 vs. x86_64

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

MySQL - i386 vs. x86_64

Unread post 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.
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

Unread post 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.
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

Unread post by Snapdragon »

/cry all my vbulletin forums I host broke. :cry:

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.
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Unread post 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)
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

PHP 5.2.6 was pushed to atomic yesterday (along with ClamAV 0.93.1 and MySQL 5.0.58).
Lemonbit Internet Dedicated Server Management
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

Unread post 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.
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

Unread post 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. :D
Post Reply