Re: How to install check_postgres on CentOS 8?

From: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to install check_postgres on CentOS 8?
Date: 2020-02-27 10:01:02
Message-ID: 20200227100102.GA22375@hjp.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2020-02-26 15:11:38 +0100, rainer(at)ultra-secure(dot)de wrote:
> I'm trying to install the check_postgres RPM from the official
> postgresql.org repository onto CentOS 8.1
>
> It says:
>
> Error:
> Problem: cannot install the best candidate for the job
> - nothing provides perl-DateTime-Format-DateParse needed by
> check_postgres-2.25.0-1.rhel8.noarch

So check_postgres depends on a package which isn't in any of your yum
repositories.

It's been some time that I last used RHEL (RHEL 6 was the last I used),
but there were some optional repositories (actually, I think they were
called "channels") with "application specific" packages. Among them was
a developer repo whith lots of additional Perl modules (and other stuff,
but the Perl modules were what is relevant here).

If RHEL 8 (and by extension, CentOS 8) still has that structure, you may
need to configure those repos.

There is also EPEL ("Extra Packages for Redhat Linux"), which contains
packages from Fedora. Maybe perl-DateTime-Format-DateParse is in EPEL?

hp

--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp(at)hjp(dot)at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter J. Holzer 2020-02-27 10:07:32 Re: Need to find the no. of connections for a database
Previous Message sivapostgres@yahoo.com 2020-02-27 07:41:36 Re: Need to find the no. of connections for a database