Ad Widget

Collapse

libpcre2-8.so dependency error when trying to install agent2 on RHEL 7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ak-around
    Junior Member
    • Jul 2024
    • 1

    #1

    libpcre2-8.so dependency error when trying to install agent2 on RHEL 7

    Hi,
    I'm trying to install agent2 and proxy on a RHEL 7 server
    Code:
    NAME="Red Hat Enterprise Linux Server"
    VERSION="7.9 (Maipo)"
    ID="rhel"
    ID_LIKE="fedora"
    VARIANT="Server"
    VARIANT_ID="server"
    VERSION_ID="7.9"
    PRETTY_NAME="Red Hat Enterprise Linux"
    Following the instructions
    Code:
    # rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/7/x86_64/zabbix-release-6.0-4.el7.noarch.rpm
    # yum clean all​
    # yum install zabbix-agent2 zabbix-agent2-plugin-*
    I get this error
    Code:
    Package matching zabbix-agent2-plugin-postgresql-6.0.31-release1.el7.x86_64 already installed. Checking for update.
    Package matching zabbix-agent2-plugin-mongodb-6.0.31-release1.el7.x86_64 already installed. Checking for update.
    Package matching zabbix-agent2-plugin-mssql-6.0.31-release1.el7.x86_64 already installed. Checking for update.
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-agent2.x86_64 0:6.0.31-release1.el7 will be installed
    --> Processing Dependency: libpcre2-8.so.0()(64bit) for package: zabbix-agent2-6.0.31-release1.el7.x86_64
    ---> Package zabbix-agent2-plugin-ember-plus.x86_64 0:6.0.31-release1.el7 will be installed
    --> Finished Dependency Resolution
    Error: Package: zabbix-agent2-6.0.31-release1.el7.x86_64 (zabbix)
               Requires: libpcre2-8.so.0()(64bit)​
    Any suggestion? Thanks in advance
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2

    Code:
    $ sudo yum whatprovides 'libpcre2-8.so.0()(64bit)'
    Loaded plugins: priorities, product-id, search-disabled-repos, subscription-
    : manager
    40 packages excluded due to repository priority protections
    pcre2-10.23-2.el7.x86_64 : Perl-compatible regular expression library
    Repo : rhel-7-server-rpms
    Matched from:
    Provides : libpcre2-8.so.0()(64bit)
    Is your RHEL 7 system subscribed to a package source? the 'pcre2' package should come from 'rhel-7-server-rpms'.

    Remember that RHEL7 went end-of-life 5 days ago: https://access.redhat.com/support/policy/updates/errata

    Comment

    Working...