PDA

View Full Version : CentOS 4.3 - PHP5 and MySQL 5


british.assassin
18th June 2006, 22:58
Hi

I have been trying to upgrade my CentOS 4.3 system to PHP5 and MySQL 5. I have managed PHP5, but keep on getting an error with MySQL5.

This is how I went about it.

1. I created a file called CentOS-Testing.repo in /etc/yum.repos.d/ and in it, put the following information
[c4-testing]
name=CentOS-4 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

2. Entered yum update mysql mysql-devel mysql-server

After this, I get the following error:
Downloading Packages:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 7203f491
Public key for mysql-5.0.18-2.1.c4.x86_64.rpm is not installed
Retrieving GPG key from http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testingaa

GPG key retrieval failed: [Errno 4] IOError: HTTP Error 404: Not Found

I have searched the mirror and have found no sign of a file called RPM-GPG-KEY-CentOS-testingaa
but I have found a file called RPM-GPG-KEY-CentOS-testing. I assume that this is the file it needs to find. My question is, how do i make it look for this file instead of the incorrect one?

TIA

british.assassin

falko
19th June 2006, 16:35
You can try to manually import that file into your keyring: http://fedora.redhat.com/docs/yum/en/sn-using-repositories.html

british.assassin
19th June 2006, 17:21
Thanks Falko, ill try this to see if it works. After I have imported it, would I have to rename it to RPM-GPG-KEY-CentOS-testingaa or leave it as RPM-GPG-KEY-CentOS-testing

Thanks,

british.assassin

falko
20th June 2006, 14:14
I don't think you need to rename it.

british.assassin
20th June 2006, 14:20
Thanks Falko, I havent had time to try this yet, but as soon as I do I'll tell ya how it went

british.assassin