Failed Packages installation

Guys, VM is requesting to update two packages, but they won’t install.
These are the packages:

Package Description Status Source
oniguruma5php Regular expressions library New version 6.9.5+rev1-3.el7.remi Remi-safe
php-pecl-zip A ZIP archive management extension New version 1.19.1-1.el7.remi.5.6 Remi-php56

And this is the error:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror.mi.incx.net
  • centos-sclo-rh: mirrors.maine.edu
  • centos-sclo-sclo: mirrors.maine.edu
  • epel: fedora-epel.mirrors.tds.net
  • extras: mirror.siena.edu
  • remi-php56: mirror.pit.teraswitch.com
  • remi-safe: mirror.pit.teraswitch.com
  • updates: mirror.mi.incx.net
    Resolving Dependencies
    –> Running transaction check
    —> Package oniguruma5php.x86_64 0:6.9.5+rev1-2.el7.remi will be updated
    —> Package oniguruma5php.x86_64 0:6.9.5+rev1-3.el7.remi will be an update
    —> Package php-pecl-zip.x86_64 0:1.19.0-1.el7.remi.7.4 will be updated
    —> Package php-pecl-zip.x86_64 0:1.19.1-1.el7.remi.5.6 will be an update
    –> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-zip-1.19.1-1.el7.remi.5.6.x86_64
    –> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-zip-1.19.1-1.el7.remi.5.6.x86_64
    –> Finished Dependency Resolution
    Error: Package: php-pecl-zip-1.19.1-1.el7.remi.5.6.x86_64 (remi-php56)
    Requires: php(api) = 20131106-64
    Installed: php-common-7.4.10-1.el7.remi.x86_64 (@remi-php74)
    php(api) = 20190902-64
    Available: php-common-5.4.16-48.el7.x86_64 (base)
    php(api) = 20100412-64
    Available: php-common-5.6.40-22.el7.remi.x86_64 (remi-php56)
    php(api) = 20131106-64
    Available: php-common-5.6.40-23.el7.remi.x86_64 (remi-php56)
    php(api) = 20131106-64
    Error: Package: php-pecl-zip-1.19.1-1.el7.remi.5.6.x86_64 (remi-php56)
    Requires: php(zend-abi) = 20131226-64
    Installed: php-common-7.4.10-1.el7.remi.x86_64 (@remi-php74)
    php(zend-abi) = 20190902-64
    Available: php-common-5.4.16-48.el7.x86_64 (base)
    php(zend-abi) = 20100525-64
    Available: php-common-5.6.40-22.el7.remi.x86_64 (remi-php56)
    php(zend-abi) = 20131226-64
    Available: php-common-5.6.40-23.el7.remi.x86_64 (remi-php56)
    php(zend-abi) = 20131226-64
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

Any idea how to get around?.. TY

Somehow Yum says they’re installed but won’t update…

Virtualmin has nothing to do with this, we don’t enable any Remi repos.

Virtualmin is just telling you what the package manager told it was available for update. You’ve enabled third party repositories…that’s always asking for trouble. Sometimes it’s necessary trouble, but it’s always trouble. And, to make it worse, you’ve enabled multiple third party repositories that appear to conflict with each other (Remi repos are pretty good, as third party repos go, but there is definitely a problem here).

I don’t know how to sort it, but it looks like maybe the php-pecl-zip-1.19.1-1.el7.remi.5.6.x86_64 package is the culprit, and maybe installing php-common-5.6.40-22.el7.remi.x86_64 will resolve that dependency. However, this looks messy. Like, you’ve installed 5.6 from a third party repo, too? CentOS 7 already has PHP 5, why not just use it instead of making all this complexity? I understand the need for PHP 7 (though I recommend the SCL packages for that, when possible, and we set one up during install…but, if you need a very new one, that’s fine, too). You may find you need to start removing packages until you figure out how to build it back up with a working selection of options. If you can safely remove php-pecl-zip-1.19.1-1.el7.remi.5.6.x86_64, you may be able to proceed on updating everything else…but if you depend on that package, that’s not a great solution.

Anyway, you’ve signed up for a lot of complexity by installing a bunch of different PHP versions from a bunch of different repos.

Thanks Joe. I removed PHP 5.6 and trying to remove this: php-pecl-zip-1.19.1-1.el7.remi.5.6.x86_64, yum says no packages marked for removal.

Here’s a list of all repositories… Which one would need to be disabled?.. TY
yum repolist enabled
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink | 17 kB 00:00

  • base: ewr.edge.kernel.org
  • centos-sclo-rh: linux-mirrors.fnal.gov
  • centos-sclo-sclo: mirror.centos.iad1.serverforge.org
  • epel: fedora-epel.mirrors.tds.net
  • extras: mirror.jaleco.com
  • remi-php56: mirror.pit.teraswitch.com
  • remi-safe: mirror.pit.teraswitch.com
  • updates: mirrors.umflint.edu
  • webtatic: us-east.repo.webtatic.com
    base | 3.6 kB 00:00
    centos-sclo-rh | 3.0 kB 00:00
    centos-sclo-sclo | 3.0 kB 00:00
    epel | 4.7 kB 00:00
    extras | 2.9 kB 00:00
    remi-php56 | 3.0 kB 00:00
    remi-safe | 3.0 kB 00:00
    updates | 2.9 kB 00:00
    virtualmin | 3.6 kB 00:00
    virtualmin-universal | 3.6 kB 00:00
    webtatic | 3.6 kB 00:00
    (1/17): base/7/x86_64/group_gz | 153 kB 00:00
    (2/17): base/7/x86_64/primary_db | 6.1 MB 00:00
    (3/17): centos-sclo-sclo/x86_64/primary_db | 292 kB 00:00
    (4/17): epel/x86_64/group_gz | 95 kB 00:00
    (5/17): centos-sclo-rh/x86_64/primary_db | 2.8 MB 00:00
    (6/17): epel/x86_64/updateinfo | 1.0 MB 00:00
    (7/17): epel/x86_64/primary_db | 6.9 MB 00:00
    (8/17): extras/7/x86_64/primary_db | 206 kB 00:00
    (9/17): updates/7/x86_64/primary_db | 4.5 MB 00:00
    (10/17): remi-php56/primary_db | 247 kB 00:00
    (11/17): virtualmin/7/x86_64/group_gz | 1.3 kB 00:00
    (12/17): remi-safe/primary_db | 1.8 MB 00:00
    (13/17): virtualmin-universal/group_gz | 460 B 00:00
    (14/17): webtatic/x86_64/group_gz | 448 B 00:00
    (15/17): virtualmin/7/x86_64/primary_db | 27 kB 00:00
    (16/17): virtualmin-universal/primary_db | 25 kB 00:00
    (17/17): webtatic/x86_64/primary_db | 271 kB 00:00
    repo id repo name status
    base/7/x86_64 CentOS-7 - Base 10,070
    centos-sclo-rh/x86_64 CentOS-7 - SCLo rh 6,957
    centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo 802
    epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,455
    extras/7/x86_64 CentOS-7 - Extras 413
    remi-php56 Remi’s PHP 5.6 RPM repository for Enterprise Linu 442
    remi-safe Safe Remi’s RPM repository for Enterprise Linux 7 3,967
    updates/7/x86_64 CentOS-7 - Updates 1,134
    virtualmin/7/x86_64 RHEL/CentOS 7 - x86_64 - Virtualmin 41
    virtualmin-universal Virtualmin Distribution Neutral Packages 68
    webtatic/x86_64 Webtatic Repository EL7 - x86_64 789

How would I know? You enabled them, you must know why and whether you still need them?

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.