update php and mysql on fc4

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Patrice.d
Forum User
Forum User
Posts: 5
Joined: Sat Oct 20, 2007 11:33 am

update php and mysql on fc4

Unread post by Patrice.d »

Hello all,
I am a new user of linux and i have a fc4 plesk 8.1.1 box.
current verions:
php: 5.0.4
mysql 4.1.2
i only modified the yum.conf as follows:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
exclude=spamassassin
exclude=sitebuilder*

[base]
name=Fedora Core $releasever - $basearch - Base
mirrorlist=http://fedora.redhat.com/download/mirro ... releasever

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
mirrorlist=http://fedora.redhat.com/download/mirro ... releasever

[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/

gpgcheck=0

------------------------------
i tried yum update php, and there is no update available.
don't know what to do next.
if someone can help me i will be very pleased.
thank a lot in advance

Patrice
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

You'll want to get rid of those [atomic] channels, those are from the old archive that I shut down about a year ago :P

Run the following to set up the new archives:

wget -q -O - http://www.atomicorp.com/installers/atomic |sh
Patrice.d
Forum User
Forum User
Posts: 5
Joined: Sat Oct 20, 2007 11:33 am

still a problem

Unread post by Patrice.d »

Thanks Scott for you reply,
i have done what you said and all worked, but at the step of resolving dependencies i get this error:
Error: Missing Dependency: libpq.so.3 is needed by package php-pgsql

help!! :shock:
thanks a lot
Patrice
Patrice.d
Forum User
Forum User
Posts: 5
Joined: Sat Oct 20, 2007 11:33 am

more infos

Unread post by Patrice.d »

So this is the complete log i see, one surprising thing is all files are for rhel4 and i am on plesk ???? is that normal?
and still the dependency error
Thank you

Patrice

Code: Select all

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-5.0.4-13.rhel4.art.i3 100% |=========================|  18 kB    00:00
---> Package php.i386 0:5.0.4-13.rhel4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 5.0.4-10.5 for package: php-imap
--> Processing Dependency: php = 5.0.4-10.5 for package: php-xml
--> Processing Dependency: php = 5.0.4-10.5 for package: php-soap
--> Processing Dependency: php = 5.0.4-10.5 for package: php-mbstring
--> Processing Dependency: php = 5.0.4-10.5 for package: php-mysql
--> Processing Dependency: php = 5.0.4-10.5 for package: php-gd
--> Processing Dependency: php = 5.0.4-10.5 for package: php-xmlrpc
--> Processing Dependency: libdb-4.2.so for package: php
--> Processing Dependency: php = 5.0.4-10.5 for package: php-bcmath
--> Processing Dependency: php = 5.0.4-10.5 for package: php-pear
--> Processing Dependency: php = 5.0.4-10.5 for package: php-odbc
--> Processing Dependency: php = 5.0.4-10.5 for package: php-ldap
--> Processing Dependency: php = 5.0.4-10.5 for package: php-pgsql
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-pgsql to pack into transaction set.
php-pgsql-5.0.4-13.rhel4. 100% |=========================|  13 kB    00:00
---> Package php-pgsql.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-imap to pack into transaction set.
php-imap-5.0.4-13.rhel4.a 100% |=========================|  13 kB    00:00
---> Package php-imap.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-odbc to pack into transaction set.
php-odbc-5.0.4-13.rhel4.a 100% |=========================|  13 kB    00:00
---> Package php-odbc.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-soap to pack into transaction set.
php-soap-5.0.4-13.rhel4.a 100% |=========================|  13 kB    00:00
---> Package php-soap.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-bcmath to pack into transaction set.
php-bcmath-5.0.4-13.rhel4 100% |=========================|  12 kB    00:00
---> Package php-bcmath.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-ldap to pack into transaction set.
php-ldap-5.0.4-13.rhel4.a 100% |=========================|  13 kB    00:00
---> Package php-ldap.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-mbstring to pack into transaction set.
php-mbstring-5.0.4-13.rhe 100% |=========================|  12 kB    00:00
---> Package php-mbstring.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for compat-db to pack into transaction set.
http://download.fedoraproject.org/pub/fedora/linux/core/updates/4/i386/compat-db-4.2.52-3.fc4.i386.rpm: [Errno 4] IOError: [Errno ftp error] 530 Sorry, the maximum number of clients (200) from your class are already connected.
Trying other mirror.
compat-db-4.2.52-3.fc4.i3 100% |=========================|  14 kB    00:00
---> Package compat-db.i386 0:4.2.52-3.fc4 set to be updated
---> Downloading header for php-pear to pack into transaction set.
php-pear-5.0.4-13.rhel4.a 100% |=========================|  34 kB    00:00
---> Package php-pear.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-xmlrpc to pack into transaction set.
php-xmlrpc-5.0.4-13.rhel4 100% |=========================|  13 kB    00:00
---> Package php-xmlrpc.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-gd to pack into transaction set.
php-gd-5.0.4-13.rhel4.art 100% |=========================|  13 kB    00:00
---> Package php-gd.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-xml to pack into transaction set.
php-xml-5.0.4-13.rhel4.ar 100% |=========================|  13 kB    00:00
---> Package php-xml.i386 0:5.0.4-13.rhel4.art set to be updated
---> Downloading header for php-mysql to pack into transaction set.
php-mysql-5.0.4-13.rhel4. 100% |=========================|  13 kB    00:00
---> Package php-mysql.i386 0:5.0.4-13.rhel4.art set to be updated
--> Running transaction check
--> Processing Dependency: libpq.so.3 for package: php-pgsql
--> Finished Dependency Resolution
Error: Missing Dependency: libpq.so.3 is needed by package php-pgsql
Patrice.d
Forum User
Forum User
Posts: 5
Joined: Sat Oct 20, 2007 11:33 am

solved!

Unread post by Patrice.d »

I fixed the problem.
The problem was that i forgot to change the yum.conf.
I.E. i left the yum.conf as mentioned above. So i put the original values, and made a yum clean all
then the yum update php worked perfectly and also the yum update mysql

Thanks again for you help

Patrice
Post Reply