Koozali.org: home of the SME Server

problem upgrading perl-DBD and perl-DBI using ergozd's scrip

forumuser7

HI,
I tryed to upgrade MySQL to v 4.1.11-0
using modified version of MySQL-4_1_10a.sh script
(from ergozd) which I downloaded from
http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/

I had to make 2 modifications to the above mentioned script because MySQL-4.1.10 could not be found anymore on the specified server.

That's why
1.I replaced the string 4.0.10a with 4.1.11-0
in the script MySQL-4_1_10a.sh.
2.I changed also the mirror site the updates are downloaded from to
ftp://mysql.mirror.cygnal.ca/pub/mysql/Downloads/MySQL-4.1
because
ftp://mysql.mirrored.ca/MySQL-4.1
seem to be down.

But when I run the script i got the following error while upgrading perl-DBD (and perl-DBI) package:
-------------------------------------
file .usr/lib/perl5/site_perl5.6.1/i386-linux/DBD/mysql.pm
from install of
perl-DBD-MySQL-2.9004-8
conflicts with the file from package
perl-DBD-MySQL-1.2219-6
------------------------------------

I get error messages also for the following files:
mysql.pm,Mysql.pm, Statement.pm, mysql.so, mysql.3pm.gz

Can anyone help me to solve the problem?
Thank you for the help in advance!

DarkMirage

problem upgrading perl-DBD and perl-DBI using ergozd's scrip
« Reply #1 on: June 12, 2005, 10:53:01 PM »
No offence, but your approach to upgrading that script sound unlikely to succeed at best...

Try http://ftp6.us.freebsd.org/pub/mysql/Downloads/MySQL-4.1/
as your mysql mirror, it provides the necessary rpms:
MySQL-server-4.1.10a-0.i386.rpm
MySQL-devel-4.1.10a-0.i386.rpm
MySQL-client-4.1.10a-.i386.rpm
MySQL-shared-compat-4.1.10a-0.i386.rpm

Wait for a 4.1.11 script or do it right  ;-)

forumuser7

problem upgrading perl-DBD and perl-DBI using ergozd's scrip
« Reply #2 on: June 12, 2005, 11:26:25 PM »
Thank you for the reply DarMirage,

Most probably I'll go back to v.4.1.10a as you suggested .

Can you tell me if it is possible to
remove existing perl-DBD-MySQL-1.2219-6.rpm
and the install perl-DBD-MySQL-2.9004-8.i386.rpm
without any negative impact?

Thanks for the help!

DarkMirage

problem upgrading perl-DBD and perl-DBI using ergozd's scrip
« Reply #3 on: June 13, 2005, 12:01:03 AM »
I can't see any reason why a perl module should give problems when removing...
I just hope it didn't mess up your mysql databases just yet...

Don't forget to actually remove it before installing the other version:
Code: [Select]
rpm -e perl-DBD-MySQL

forumuser7

problem upgrading perl-DBD and perl-DBI using ergozd's scrip
« Reply #4 on: June 13, 2005, 03:27:57 PM »
Thanks!

It worked!