Topic: libargon2 not installable on centos 7.4

When I try to install PHP7.2, there is a dependency on libargon2.so.0 which should be contained in the libargon2 package. That package should be in the epel repository, but for some reason, it isn't. (https://centos.pkgs.org/7/epel-x86_64/l … 4.rpm.html)

I started from a base vagrant box: bento/centos-7.4, started it with chef to use the yum-remi-chef cookbook.

Everything does work if I install the libargon2 package manually,  I would like to avoid this however. Any help in debugging this issue is greatly appreciated.

Re: libargon2 not installable on centos 7.4

Sorry, I cannot reproduce

# yum --enablerepo=remi-php72 install php-cli
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
remi-php72                                                                                                                                                   | 2.9 kB  00:00:00     
remi-php72/primary_db                                                                                                                                        | 175 kB  00:00:00     
Resolving Dependencies
--> Running transaction check
---> Package php-cli.x86_64 0:7.2.1-1.el7.remi will be installed
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-cli-7.2.1-1.el7.remi.x86_64
--> Running transaction check
---> Package libargon2.x86_64 0:20161029-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================
 Package                                   Arch                                   Version                                          Repository                                  Size
====================================================================================================================================================================================
Installing:
 php-cli                                   x86_64                                 7.2.1-1.el7.remi                                 remi-php72                                 4.8 M
Installing for dependencies:
 libargon2                                 x86_64                                 20161029-2.el7                                   epel                                        23 k

Transaction Summary
====================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total size: 4.8 M
Total download size: 23 k
Installed size: 15 M
Is this ok [y/d/N]:

Please post yum command and full output

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

Re: libargon2 not installable on centos 7.4

While doing this, I tried to use the epel repo installation as mentioned in the installation instructions here. Then it works. Apparently, there's a problem in the the yum-epel chef cookbook installs the epel repository, so not all packages show up. I'll have to figure it out there. No problem with this repository. Thanks for the quick reply and sorry for not seeing this sooner!

Re: libargon2 not installable on centos 7.4

ty for confirming everything is ok on my side.
Closing

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70