Topic: php-pecl-jsonc-1.3.10 problem oracle linux 5

Problem updating php-pecl-jsonc-1.3.10 on Oracle Linux 5.

# cat /etc/issue
Oracle Linux Server release 5.11
Kernel \r on an \m

# uname -a
Linux topbyprod 2.6.18-410.0.0.0.1.el5 #1 SMP Wed May 11 07:53:10 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux

# php -v
PHP 5.6.22 (cli) (built: May 26 2016 15:54:23)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
# yum update
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package php-pecl-jsonc.x86_64 0:1.3.10-1.el5.remi.5.4 set to be updated
--> Processing Dependency: php(zend-abi) = 20100525 for package: php-pecl-jsonc
--> Processing Dependency: php(api) = 20100412 for package: php-pecl-jsonc
--> Finished Dependency Resolution
php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 from remi has depsolving problems
  --> Missing Dependency: php(api) = 20100412 is needed by package php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 (remi)
php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 from remi has depsolving problems
  --> Missing Dependency: php(zend-abi) = 20100525 is needed by package php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 (remi)
Error: Missing Dependency: php(zend-abi) = 20100525 is needed by package php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 (remi)
Error: Missing Dependency: php(api) = 20100412 is needed by package php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 (remi)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Re: php-pecl-jsonc-1.3.10 problem oracle linux 5

You have php 5.6 from "remi-php56" repository, which need to be enabled.

See: http://rpms.remirepo.net/wizard/

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-pecl-jsonc-1.3.10 problem oracle linux 5

Enabled remi and remi-php56 repositories.

Re: php-pecl-jsonc-1.3.10 problem oracle linux 5

Disable remi repository helps.

Re: php-pecl-jsonc-1.3.10 problem oracle linux 5

For information.
The same update has passed on Centos 6 and Centos 7. The problem arose only on Oracle Linux 5.

Re: php-pecl-jsonc-1.3.10 problem oracle linux 5

I don't understand,

php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64.rpm in remi
php-pecl-jsonc-1.3.10-1.el5.remi.5.5.x86_64.rpm in remi-php55
php-pecl-jsonc-1.3.10-1.el5.remi.5.6.x86_64.rpm in remi-php56

So, latest is the best, and should be selected.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-pecl-jsonc-1.3.10 problem oracle linux 5

]# yum downgrade php-pecl-jsonc
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
Setting up Downgrade Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-jsonc.x86_64 0:1.3.10-1.el5.remi.5.4 set to be updated
--> Processing Dependency: php(zend-abi) = 20100525 for package: php-pecl-jsonc
--> Processing Dependency: php(api) = 20100412 for package: php-pecl-jsonc
---> Package php-pecl-jsonc.x86_64 0:1.3.10-1.el5.remi.5.6 set to be erased
--> Finished Dependency Resolution
php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 from remi has depsolving problems
  --> Missing Dependency: php(zend-abi) = 20100525 is needed by package php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 (remi)
php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 from remi has depsolving problems
  --> Missing Dependency: php(api) = 20100412 is needed by package php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 (remi)
Error: Missing Dependency: php(zend-abi) = 20100525 is needed by package php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 (remi)
Error: Missing Dependency: php(api) = 20100412 is needed by package php-pecl-jsonc-1.3.10-1.el5.remi.5.4.x86_64 (remi)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
]# yum downgrade php-pecl-zip
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
Setting up Downgrade Process
public_el5_oracle_addons                                                                                                                                                                                              |  951 B     00:00
public_ol5_UEK_latest                                                                                                                                                                                                 | 1.2 kB     00:00
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-zip.x86_64 0:1.13.1-1.el5.remi.5.6 set to be updated
---> Package php-pecl-zip.x86_64 0:1.13.2-1.el5.remi.5.6 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                  Arch                                               Version                                                            Repository                                              Size
=============================================================================================================================================================================================================================================
Downgrading:
 php-pecl-zip                                             x86_64                                             1.13.1-1.el5.remi.5.6                                              remi-php56                                             136 k

Transaction Summary
=============================================================================================================================================================================================================================================
Remove        0 Package(s)
Reinstall     0 Package(s)
Downgrade     1 Package(s)

Total download size: 136 k
Is this ok [y/N]: N
Exiting on user Command
Complete!

funny)

Re: php-pecl-jsonc-1.3.10 problem oracle linux 5

Sorry, but I cannot reproduce

# rpm -q php-common php-pecl-jsonc
php-common-5.6.22-1.el5.remi
php-pecl-jsonc-1.3.9-1.el5.remi.5.6

# yum --enablerepo=remi,remi-php56 update
======================================================================================================================================================
 Package                              Arch                         Version                                     Repository                        Size
======================================================================================================================================================
Updating:
 php-pecl-jsonc                       x86_64                       1.3.10-1.el5.remi.5.6                       remi-php56                        75 k

Transaction Summary
======================================================================================================================================================

Perhaps you have no luck and hit a unsynced mirror ? (especially the awanti one, in "ru" was unsynced for a few days, fixed now)


P.S. the downgrade is another issue, because there is always 2 versions online, so "remi" need to be disable.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-pecl-jsonc-1.3.10 problem oracle linux 5

I did:

yum clean all
yum update
#disable remi repository
yum downgrade php-pecl-jsonc #OK
#enable remi repository
yum update #OK (php-pecl-jsonc correctly updated)

Thank you for active support.

Re: php-pecl-jsonc-1.3.10 problem oracle linux 5

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi