[CentOS] installing MySQL on 4.3 OR 'am I braindead or what?'

Fri Mar 31 21:23:15 UTC 2006
Alexandru E. Ungur <alexandru at globalterrasoft.ro>

>>> sender: "Karanbir Singh" date: "Fri, Mar 31, 2006 at 12:38:59PM +0100" <<<EOQ
> Alexandru E. Ungur wrote:
> >Hi all,
> >
> >On a fresh CentOS 4.3 box, suddenly what should have took usually
> >around 60 seconds, now it makes me wonder if I can still perform
> >simple sysadmin tasks, or should I get a long vacantion...
> >
> ># yum groupinstall "MySQL Database"
> >Repository update is listed more than once in the configuration
> >Repository base is listed more than once in the configuration
> >Repository addons is listed more than once in the configuration
> >Repository extras is listed more than once in the configuration
> >Setting up Group Process
> >Setting up repositories
> >update                    100% |=========================|  951 B    00:00
> >extras                    100% |=========================| 1.1 kB    00:00
> >base                      100% |=========================| 1.1 kB    00:00
> >addons                    100% |=========================|  951 B    00:00
> >Setting up repositories
> >Reading repository metadata in from local files
> >Excluding Packages in global exclude list
> >Finished
> >Passing package list to Install Process
> >Parsing package install arguments
> >Resolving Dependencies
> >--> Populating transaction set with selected packages. Please wait.
> >---> Package libdbi-dbd-mysql.i386 0:0.6.5-10.RHEL4.1 set to be updated
> >---> Package MyODBC.i386 0:2.50.39-21.RHEL4.1 set to be updated
> >---> Package rsync.i386 0:2.6.7-2.el4.rf set to be updated
> >---> Package MySQL-python.i386 0:1.0.0-1.RHEL4.1 set to be updated
> >---> Package lftp.i386 0:3.4.2-1.2.el4.rf set to be updated
> >---> Package sendmail.i386 0:8.13.1-3.RHEL4.3 set to be updated
> >---> Package perl-DBD-MySQL.i386 0:2.9004-3.1 set to be updated
> >---> Package unixODBC.i386 0:2.2.11-1.RHEL4.1 set to be updated
> >--> Running transaction check
> >--> Processing Dependency: libmysqlclient.so.14 for package: perl-DBD-MySQL
> >--> Processing Dependency: mysqlclient10 for package: MySQL-python
> >--> Processing Dependency: libmysqlclient.so.10 for package: MySQL-python
> >--> Processing Dependency: perl(String::CRC32) for package: lftp
> >--> Processing Dependency: libdbi = 0.6.5-10.RHEL4.1 for package: 
> >libdbi-dbd-mysql
> >--> Processing Dependency: libmysqlclient.so.10 for package: 
> >libdbi-dbd-mysql
> >--> Processing Dependency: mx for package: MySQL-python
> >--> Processing Dependency: libmysqlclient.so.10 for package: MyODBC
> >--> Restarting Dependency Resolution with new changes.
> >--> Populating transaction set with selected packages. Please wait.
> >---> Package mx.i386 0:2.0.5-3 set to be updated
> >---> Package libdbi.i386 0:0.6.5-10.RHEL4.1 set to be updated
> >---> Package perl-String-CRC32.i386 0:1.3-1.2.el4.rf set to be updated
> >--> Running transaction check
> >--> Processing Dependency: libmysqlclient.so.14 for package: perl-DBD-MySQL
> >--> Processing Dependency: mysqlclient10 for package: MySQL-python
> >--> Processing Dependency: libmysqlclient.so.10 for package: 
> >libdbi-dbd-mysql
> >--> Processing Dependency: libmysqlclient.so.10 for package: MySQL-python
> >--> Processing Dependency: libmysqlclient.so.10 for package: MyODBC
> >--> Finished Dependency Resolution
> >Error: Missing Dependency: libmysqlclient.so.14 is needed by package 
> >perl-DBD-MySQL
> >Error: Missing Dependency: mysqlclient10 is needed by package MySQL-python
> >Error: Missing Dependency: libmysqlclient.so.10 is needed by package 
> >MySQL-python
> >Error: Missing Dependency: libmysqlclient.so.10 is needed by package 
> >libdbi-dbd-mysql
> >Error: Missing Dependency: libmysqlclient.so.10 is needed by package MyODBC
> >
> >
> >Anybody have any ideea why this happens? This is a fresh install, no
> >update, no nothing.
> >
> 
> you have .rf pkgs in there but no rpmforge repo setup ?
First, thank you all for your help.
I'm sorry but I don't know what '.rf' packages are... ?
I tried this two ways, first just with the CentOS repositories, then
I added centos.karan.org and Dag's repositories. I got in both cases
the exact same result.

Now it's even more weird...

[1]
# up2date --showall|grep -i mysql
MySQL-python-1.0.0-1.RHEL4.1.i386
freeradius-mysql-1.0.1-3.RHEL4.i386
libdbi-dbd-mysql-0.6.5-10.RHEL4.1.i386
mod_auth_mysql-2.6.1-2.2.i386
mysql-4.1.12-3.RHEL4.1.i386
mysql-bench-4.1.12-3.RHEL4.1.i386
mysql-devel-4.1.12-3.RHEL4.1.i386
mysql-server-4.1.12-3.RHEL4.1.i386
mysqlclient10-3.23.58-4.RHEL4.1.i386
mysqlclient10-devel-3.23.58-4.RHEL4.1.i386
perl-DBD-MySQL-2.9004-3.1.i386
php-mysql-4.3.9-3.9.i386
qt-MySQL-3.3.3-9.3.i386

[2]
[root at no ~]# yum install mysql
Repository update is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Setting up Install Process
Setting up repositories
update                    100% |=========================|  951 B 00:00
extras                    100% |=========================| 1.1 kB 00:00
base                      100% |=========================| 1.1 kB 00:00
addons                    100% |=========================|  951 B 00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: mysql
Nothing to do

I just can't figure this out... First, the package is in the list of
available packages, then, it can't be installed...
If I try up2date instead of yum install it goes so slow, that it barely
moves a '#' in 10 minutes... 

# up2date mysql-\*

Fetching Obsoletes list for channel: centos4-Base...

Fetching Obsoletes list for channel: centos4-Updates...

Fetching Obsoletes list for channel: centos4-extras...

Fetching Obsoletes list for channel: centos4-addons...

Fetching rpm headers...
########################################

Name                                    Version        Rel
----------------------------------------------------------
mysql-bench                             4.1.12         3.RHEL4.1    i386
mysql-devel                             4.1.12         3.RHEL4.1    i386
mysql-server                            4.1.12         3.RHEL4.1    i386


Testing package set / solving RPM inter-dependencies...

Downloading headers to solve dependencies...
##
^^
Waited 20+ minutes for those two hashes... so it'll probably be done in
about 6 hours... ? :D 


Thanks again!
Alex