Using up2date to update everything

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
KirkM
Forum User
Forum User
Posts: 25
Joined: Mon Jun 11, 2007 10:18 pm

Using up2date to update everything

Unread post by KirkM »

I'll try to make this as short as possible. I followed the ART instructions for altering the sources on my Plesk 8.1.1 / RHEL 4 box. It all went fine after I changed the line for plesk to 8.1.1 from the 8.1.0 on the ART instructions page.

This server is in stock configuration and I want to get the latest php and mysql on there since The Planet Plesk installations have php 4.3.9 and mysql 4.1.20.

When I ran up2date --dry-run, it came up with a huge list of updates, which was to be expected. It also came up with some additional downloads needed, which was also expected. However, it also came up with 5 unresolvable dependencies that I don't understand:

Code: Select all

Unresolvable chain of dependencies:
php-domxml-4.3.9-3.22.5                  requires php = 4.3.9-3.22.5 
php-pdo  5.2.3-1.el4.art                 requires libsqlite3.so.0
php-pear-4.3.9-3.22.5                    requires php = 4.3.9-3.22.5 
system-config-lvm  1.0.23-1.0            requires urw-fonts
systemtap-0.5.12-1                       requires systemtap-runtime = 0.5.12-1 
The 2 requiring php 4.3.9 don't make sense since that is what is on the box. Could it be a build number problem? I don't see the build number in phpinfo(). Where do I find that?

The other 3 I'm clueless about.

Any help with this would be greatly appreciated.
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 »

the first 3 are related to installing php 5.2.3, which it looks like RHEL4 doesnt have libsqlite3. Can you get me the output of rpm -qa |grep libsqlite

Its on centos, but that might be because it was a dependency on yum, which rhel4 doesnt come with natively. It does get installed along with yum if you run the atomic.sh installer on RHEL4.

The last two, system-config-lvm, thats a fedora naming convention. I suspect that somewhere you've either got a fedora channel in your sources file.
KirkM
Forum User
Forum User
Posts: 25
Joined: Mon Jun 11, 2007 10:18 pm

Unread post by KirkM »

When I run rpm -qa |grep libsqlite, I get nothing.

The sources file only has this example commented out in relation to Fedora:

### A yum style repo. The format is:
### type channel-label url
#yum fedora-core-development http://download.fedora.redhat.com/pub/f ... ent/$ARCH/
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

I have the same problem. Thx.

P.S.: RHEL 4 - Plesk 8.1.1
KirkM
Forum User
Forum User
Posts: 25
Joined: Mon Jun 11, 2007 10:18 pm

Unread post by KirkM »

Here's something interesting -

I figured that I would comment out the atomic source and see if there were any updates to php from rh. There were!

Code: Select all

[root@secure ~]# up2date php

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

Name                                    Version        Rel     
----------------------------------------------------------
php                                     4.3.9          3.22.5            i386  


Testing package set / solving RPM inter-dependencies...
########################################
php-4.3.9-3.22.5.i386.rpm:  ########################## Done.                   
php-domxml-4.3.9-3.22.5.i38 ########################## Done.                   
php-gd-4.3.9-3.22.5.i386.rp ########################## Done.                   
php-imap-4.3.9-3.22.5.i386. ########################## Done.                   
php-ldap-4.3.9-3.22.5.i386. ########################## Done.                   
php-mbstring-4.3.9-3.22.5.i ########################## Done.                   
php-mysql-4.3.9-3.22.5.i386 ########################## Done.                   
php-pear-4.3.9-3.22.5.i386. ########################## Done.                   
Preparing              ########################################### [100%]

Installing...
   1:php-pear               ########################################### [100%]
   2:php-mysql              ########################################### [100%]
   3:php-mbstring           ########################################### [100%]
   4:php-ldap               ########################################### [100%]
   5:php-imap               ########################################### [100%]
   6:php-gd                 ########################################### [100%]
   7:php-domxml             ########################################### [100%]
   8:php                    ########################################### [100%]
The following packages were added to your selection to satisfy dependencies:

Name                                    Version        Release
--------------------------------------------------------------
php-domxml                              4.3.9          3.22.5              
php-gd                                  4.3.9          3.22.5              
php-imap                                4.3.9          3.22.5              
php-ldap                                4.3.9          3.22.5              
php-mbstring                            4.3.9          3.22.5              
php-mysql                               4.3.9          3.22.5              
php-pear                                4.3.9          3.22.5   


This should solve the 3.22.5 with php-pear and php-domxml with the php5 atomic packages, right? Wrong. It only solved the php-pear dependency problem. When I restore the atomic repo in sources, I expected the libsqlite to come back, but the php-domxml 3.22.5 unresolvable dependency comes back even though I have build 3.22.5 now:

Code: Select all

[root@secure ~]# up2date -f --dry-run

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

Fetching Obsoletes list for channel: atomic...

Fetching Obsoletes list for channel: psa-8.1...

Name                                    Version        Rel     
----------------------------------------------------------
php                                     5.2.3          1.el4.art         i386  
php-gd                                  5.2.3          1.el4.art         i386  
php-imap                                5.2.3          1.el4.art         i386  
php-ioncube-loader                      3.0            2.el4.art         i386  
php-ldap                                5.2.3          1.el4.art         i386  
php-mbstring                            5.2.3          1.el4.art         i386  
php-mysql                               5.2.3          1.el4.art         i386  
php-pear                                1.5.0          5.el4.art         noarch


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

Downloading headers to solve dependencies...
#######################################
Downloading headers to solve dependencies...
#######################################
Downloading headers to solve dependencies...
There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
php-domxml-4.3.9-3.22.5                  requires php = 4.3.9-3.22.5 
php-pdo  5.2.3-1.el4.art                 requires libsqlite3.so.0


The following packages were added to your selection to satisfy dependencies:
Package                                Required by
----------------------------------------------------------------------------
php-cli-5.2.3-1.el4.art.i386            php-pear-1.5.0-5.el4.art                php-cli                                 
php-cli-5.2.3-1.el4.art.i386            php-5.2.3-1.el4.art                     php-cli                                 
php-common-5.2.3-1.el4.art.i386         php-mysql-5.2.3-1.el4.art               php-common                              
php-common-5.2.3-1.el4.art.i386         php-ldap-5.2.3-1.el4.art                php-common                              
php-common-5.2.3-1.el4.art.i386         php-5.2.3-1.el4.art                     php-common                              
php-common-5.2.3-1.el4.art.i386         php-gd-5.2.3-1.el4.art                  php-common                              
php-common-5.2.3-1.el4.art.i386         php-imap-5.2.3-1.el4.art                php-common                              
php-common-5.2.3-1.el4.art.i386         php-mbstring-5.2.3-1.el4.art            php-common               


Now I'm completely lost (as usual). Anybody have info to help?
Thanks.
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 »

Yeah you're seeing a shortcoming of up2date there. The first depdency is actually resolved in the second. The sqlite one is related to a dependency that is normally resolved when you install yum. You can try using the atomic installer to fix that.

This isnt a problem on RHEL5, up2date has been replaced by yum.
KirkM
Forum User
Forum User
Posts: 25
Joined: Mon Jun 11, 2007 10:18 pm

Unread post by KirkM »

Does RHEL 5 work with Plesk 8.1.1? I need the 2 servers I have with Plesk to work as well as they do now with RHEL 4.
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 »

It works on 8.2, which should be out this month sometime.
KirkM
Forum User
Forum User
Posts: 25
Joined: Mon Jun 11, 2007 10:18 pm

Unread post by KirkM »

OK, thanks for the help and info. Hopefully, it will solve many of these issues. Of course, there will be a whole new batch of issues as with any new release. :roll:
KirkM
Forum User
Forum User
Posts: 25
Joined: Mon Jun 11, 2007 10:18 pm

Sooo Close

Unread post by KirkM »

OK, I'm back from vacation and attacking this with new energy. I used the info in the Wiki to solve the sqlite issue and now only have one thing stopping me:

Unresolvable chain of dependencies:
php-domxml-4.3.9-3.22.5 requires php = 4.3.9-3.22.5

You said the first dependency in my earlier post (php-domxml-4.3.9-3.22.5) would be solved by resolving the second (sqlite), but it didn't. Does this mean I need to remove php-domxml-4.3.9-3.22.5?

Any tips? I'm so close, this is really teasing me, especially since I got mysql 5 successfully installed.

Many Thanks.
KirkM
Forum User
Forum User
Posts: 25
Joined: Mon Jun 11, 2007 10:18 pm

Solved

Unread post by KirkM »

My Yum install was bad. I used the install script on the Wiki and it fixed the yum install and did a perfect install of php 5.
Post Reply