• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

5.2.0 is needed by package php-sqlite2

R

roccotocco

Guest
Hi, im trying to update my servers (yum upgrade) but im getting the following results:

[root@1 admin]# yum upgrade
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* extras: mi.mirror.garr.it
* plesk: 3es.atomicrocketturtle.com
* base: mi.mirror.garr.it
* updates: mi.mirror.garr.it
* addons: mi.mirror.garr.it
* atomic: mirror.1and1faq.fr
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package php-pdo.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-mysql.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-cli.i386 0:5.2.8-3.el5.art set to be updated
---> Package bind.i386 30:9.3.4-6.0.3.P1.el5_2 set to be updated
---> Package krb5-libs.i386 0:1.6.1-25.el5_2.2 set to be updated
---> Package php-xml.i386 0:5.2.8-3.el5.art set to be updated
---> Package openssl.i686 0:0.9.8b-10.el5_2.1 set to be updated
---> Package php-devel.i386 0:5.2.8-3.el5.art set to be updated
---> Package php.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-mbstring.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-mcrypt.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-bcmath.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-gd.i386 0:5.2.8-3.el5.art set to be updated
--> Processing Dependency: libt1.so.5 for package: php-gd
---> Package openssl097a.i386 0:0.9.7a-9.el5_2.1 set to be updated
---> Package krb5-workstation.i386 0:1.6.1-25.el5_2.2 set to be updated
--> Processing Dependency: any-php-sqlite2 for package: sb-publish
---> Package bind-utils.i386 30:9.3.4-6.0.3.P1.el5_2 set to be updated
---> Package bind-libs.i386 30:9.3.4-6.0.3.P1.el5_2 set to be updated
---> Package php-imap.i386 0:5.2.8-3.el5.art set to be updated
---> Package dbus.i386 0:1.0.0-7.el5_2.1 set to be updated
---> Package php-common.i386 0:5.2.8-3.el5.art set to be updated
--> Running transaction check
---> Package php-sqlite2.i386 0:5.1.6-200705230938 set to be updated
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
---> Package t1lib.i386 0:5.1.2-2.el5.art set to be updated
--> Processing Dependency: libXaw.so.7 for package: t1lib
--> Running transaction check
---> Package php-sqlite2.i386 0:5.1.6-200705230938 set to be updated
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
---> Package libXaw.i386 0:1.0.2-8.1 set to be updated
--> Processing Dependency: libXmu.so.6 for package: libXaw
--> Running transaction check
---> Package php-sqlite2.i386 0:5.1.6-200705230938 set to be updated
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
---> Package libXmu.i386 0:1.0.2-5 set to be updated
--> Finished Dependency Resolution
Error: Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2
[root@1 admin]#

How i can solve this issue?
Thanks
 
You're installing ART's PHP 5.2.8 packages. Those are not compatible with Plesk's SiteBuilder, so you'll need to remove any SiteBuilder-related packages before you can use PHP 5.2.8. If you're not using you can remove php-sqlite2 (used by SiteBuilder) and rerun the update.

If you are using SiteBuilder you'll need to exclude php* from your ART yum configuration.
 
Thanks for your reply, how i can remove php-sqlite2 (used by SiteBuilder) ?
can u give me more details ?
Thanks
 
You can use yum:

Code:
yum remove php-sqlite2

Or use rpm directly:

Code:
rpm -e php-sqlite2
 
Hi,

I had no errors or warnings during the yum update php using ART's repo.
This all seemed great.

However now Sitebuilder does not publish and if there is no way to fix this I'll need to revert back to the old php 5.0.1
How do I revert back without breaking anything further?
 
I warned you that those packages were not compatible with SiteBuilder. You'll need to download the rpm files for the packages you want to downgrade to and run rpm with the --oldpackage option to downgrade:

Code:
rpm -Uvh --oldpackage php*.rpm

Don't forget to restart Apache after that.

Then make sure you exclude php* from your yum configuration for ART, or delete your yum configuration for ART if you're no longer using it.
 
Could you tell me how I can upgrade to PHP 5.2.4 if I'm using Site Builder then?

I need to run php 5.2.4 in order to install Magento using the Application Vault.
 
I had this exact same problem and also use Sitebuilder. What worked for me was not as drastic and removing Sitebuilder entirely. Read the following thread http://atomicrocketturtle.com/forum/viewtopic.php?p=15201&highlight=#15201

The heart of the issue is to remove only sb-publish and then reinstall with the nodeps flag after your done updating. For me the only issue was the php upgrade. Don't know if it will work for you but its worth a try if you need SB.
 
I recently upgraded to Plesk 9 on my RHEL box and noticed that "yum update" started giving the following error:

Error: Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2

I tried to remove SiteBuilder using yum, which happened smoothly.

Now when I try to remove php-sqlite, it lists several seemingly required packages to be as its dependency:



[root@a ~]# yum remove php-sqlite2
Loading "security" plugin
Loading "rhnplugin" plugin
Setting up Remove Process
rhel-i386-server-vt-5 100% |=========================| 1.2 kB 00:00
rhel-i386-server-5 100% |=========================| 1.2 kB 00:00
rhel-i386-server-suppleme 100% |=========================| 1.2 kB 00:00
Resolving Dependencies

[Several Transaction Checks]
[Several Dependency Resolution Checks]

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Removing:
php-pdo i386 5.2.8-1.el5.art installed 108 k
Removing for dependencies:
SSHTerm noarch 0.2.2-9.98415 installed 4.9 M
cs-gs i586 2.0.0-rhel5.build90081117.17 installed 1.2 M
miva-ssl-stub i386 1.0.1-0.91137 installed 3.2 k
php-mysql i386 5.2.8-1.el5.art installed 171 k
plesk-billing noarch 6.0.0-20081206.12 installed 42 M
psa i586 9.0.0-rhel5.build90081117.17 installed 29 M
psa-api-rpc noarch 9.0.0-rhel5.build90081208.08 installed 1.4 M
psa-appvault-b2evolution noarch 0.9.0.12-8203020080409005439 installed 11 M
psa-appvault-coppermine noarch 1.4.16-8200220080409005533 installed 15 M
psa-appvault-mediawiki noarch 1.11.0-8200920080409011142 installed 21 M
psa-appvault-oscommerce noarch 2.2ms2-8206120080409011549 installed 4.3 M
psa-appvault-sugarcrmpro noarch 5.0.0-8200220080409012303 installed 58 M
psa-appvault-updates noarch 9.0.0-rhel5.build90081117.17 installed 0.0
psa-appvault-wordpress noarch 2.3.3-8200520080412062207 installed 4.2 M
psa-atis i386 1.0-49 installed 540 k
psa-atmail noarch 5.3-rhel5.build90081222.11 installed 7.6 M
psa-awstats-configurator noarch 1.0.0-rhel5.build90081117.17 installed 0.0
psa-backup-manager i586 9.0.0-rhel5.build90081208.08 installed 2.3 M
psa-bf1942 i586 1.0.0-rhel5.build90081117.17 installed 730 k
psa-bf2 i586 1.0.0-rhel5.build90081117.17 installed 1.0 M
psa-drweb-configurator i586 9.0.0-rhel5.build90081117.17 installed 711 k
psa-fileserver i586 1.0.0-rhel5.build90081117.17 installed 671 k
psa-firewall i586 1.0.1-rhel5.build90081117.17 installed 545 k
psa-horde noarch 3.1.7-rhel5.build90081117.17 installed 10 M
psa-hotfix3-9.0.0 i586 9.0.0-rhel5.build90081208.08 installed 778 k
psa-hotfix4-9.0.0 i586 9.0.0-rhel5.build90081222.11 installed 61 k
psa-imp noarch 4.1.6-rhel5.build90081117.17 installed 8.5 M
psa-ingo noarch 1.1.5-rhel5.build90081117.17 installed 3.5 M
psa-kav i386 1.0.0-rhel5.build90081117.17 installed 8.5 M
psa-kronolith noarch 2.1.8-1.el5.art installed 8.8 M
psa-libpam-plesk i586 9.0.0-rhel5.build90081117.17 installed 151 k
psa-locale-de-DE noarch 9.0.0-08111316 installed 10 M
psa-locale-es-ES noarch 9.0.0-08111316 installed 10 M
psa-locale-fr-FR noarch 9.0.0-08111316 installed 11 M
psa-locale-it-IT noarch 8.6-build86080716.14 installed 6.6 M
psa-locale-ja-JP noarch 8.6-build86080716.14 installed 7.2 M
psa-locale-nl-NL noarch 8.6-build86080805.15 installed 6.5 M
psa-locale-ru-RU noarch 8.6-build86080716.14 installed 8.4 M
psa-locale-zh-CN noarch 8.6-build86080716.14 installed 6.0 M
psa-locale-zh-TW noarch 8.6-build86080716.14 installed 6.0 M
psa-mail-qc-driver i586 1.0.0-rhel5.build90081222.11 installed 1.1 M
psa-manual-custom-skin-guide noarch 9.0.0-rhel5.build90081117.17 installed 568 k
psa-migration-manager i586 9.0.0-rhel5.build90081208.08 installed 10 M
psa-mimp noarch 1.0.2-rhel5.build90081117.17 installed 1.8 M
psa-miva i586 9.0.0-rhel5.build90081117.17 installed 4.5 M
psa-mnemo noarch 2.1.2-rhel5.build90081117.17 installed 2.9 M
psa-passwd noarch 3.0.1-rhel5.build90081117.17 installed 3.0 M
psa-php5-configurator noarch 1.5.0-rhel5.build90081117.17 installed 69
psa-qmail-rblsmtpd i586 0.70-rhel5.build86080722.01 installed 33 k
psa-rubyrails-configurator i586 1.1.6-rhel5.build90081117.17 installed 0.0
psa-sbm3 noarch 5.0-35 installed 176 k
psa-spamassassin i586 9.0.0-rhel5.build90081222.11 installed 152 k
psa-tomcat-configurator noarch 9.0.0-rhel5.build90081117.17 installed 0.0
psa-turba noarch 2.1.7-rhel5.build90081117.17 installed 4.1 M
psa-updates noarch 9.0.0-rhel5.build90081222.11 installed 0.0
psa-vpn i586 2.0.1-rhel5.build90081117.17 installed 2.2 M
psa-watchdog i586 2.0.3-rhel5.build90081117.17 installed 2.9 M
sb-publish noarch 3.0.1-200705230947 installed 0.0

Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 59 Package(s)

Is this ok [y/N]:








As for today I choose to say "NO" to the un-installation process, please advise how to go about addressing this problem.

Thanks,
Ash
 
From PHP 5.2.9-2 the problem is already present because ART repo no more has php-sqlite2.

How to upgrade to php 5.2 without breaking SiteBuilder?

(BTW considering the amount of SiteBuilder monthly fee, is absurd to have to manage with these issues!!!)

Thank You
 
Back
Top