Page 1 of 1

Assistance Upgrading PHP and MySQL | Current Yum Errors

Posted: Sun Feb 25, 2007 4:15 pm
by bentbird
I really hope I am doing something stupid here.

I am in need of a upgrade for PHP and MySQL to a current stable version.
I am running:
Linux: 2.6.12-1.1381_FC3 #1
MySQL: 3.23.58
PHP: 4.3.11

When I run Yum upgrade php I get the following error:

Repository atomic already added, not adding again
Setting up Upgrade Process
Setting up Repos
atomic 100% |=========================| 951 B 00:00
atomic-app-vault 100% |=========================| 951 B 00:00
http://3es.atomicrocketturtle.com/atomi ... repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: psa-8.1
failure: repodata/repomd.xml from psa-8.1: [Errno 256] No more mirrors to try.

My yum.conf is:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

# [base]
# gpgcheck=1
# name=Fedora Core $releasever - Base
# baseurl=http://benny.primarydns.com/fedora/core/3/i386/os


# [updates]
# gpgcheck=1
# name=Fedora Core $releasever updates
# baseurl=http://benny.primarydns.com/fedora/core/updates/3/i386

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/

[atomic-app-vault]
name=Atomic Rocket Turtle - $releasever - Atomic PSA App Vault RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/

# RH9 isn't in here yet.
[psa-8.1]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 8.1 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... ever/$arch

Am I missing something? Thank you for your help

Posted: Sun Feb 25, 2007 5:00 pm
by scott
you want $basearch, not $arch

I have added $basearch and still am getting errors.

Posted: Sun Feb 25, 2007 5:27 pm
by bentbird
With the yum.conf of:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

# [base]
# gpgcheck=1
# name=Fedora Core $releasever - Base
# baseurl=http://benny.primarydns.com/fedora/core/3/i386/os


# [updates]
# gpgcheck=1
# name=Fedora Core $releasever updates
# baseurl=http://benny.primarydns.com/fedora/core/updates/3/i386

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/

[atomic-app-vault]
name=Atomic Rocket Turtle - $releasever - Atomic PSA App Vault RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/

# RH9 isn't in here yet.
[psa-8.1]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 8.1 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... /$basearch

I am getting:
yum upgrade php
Repository atomic already added, not adding again
Setting up Upgrade Process
Setting up Repos
atomic 100% |=========================| 951 B 00:00
atomic-app-vault 100% |=========================| 951 B 00:00
http://3es.atomicrocketturtle.com/atomi ... repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: psa-8.1
failure: repodata/repomd.xml from psa-8.1: [Errno 256] No more mirrors to try.
[root@dedicated etc]#

Posted: Sun Feb 25, 2007 5:58 pm
by breun
First: you say you're running FC3, but apparently $releasever evaluates to 6? Strange... But it explains the error: there is no PSA for FC6 (yet).

Second: I'm wondering why you commented out the base and updates channels.

Third: FC3 is EOL and ART doesn't do new packages for FC3 anymore. The archive is still available though.

Posted: Sun Feb 25, 2007 6:16 pm
by scott
AOOI candidate! :P

Seems I've done enough to screw it up

Posted: Sun Feb 25, 2007 6:48 pm
by bentbird
1. I am not sure why it is evaluates it as 6
2. I commented out the channels because I thought I needed to do so, but don't ask why.
3. OK

I am going to look for someone that can fix this for me. Obviously I have no idea what in the hell I am doing.

I have also noticed when I run the updated in plesk it has an error as "Error: There is no suitable releases."

Thank you for your help