BUG #18561: postgresql16-devel rpm cannot be installed due to missing Perl-IPC-Run

Started by PG Bug reporting formover 1 year ago6 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 18561
Logged by: Tim Dysinger
Email address: tim@dysinger.net
PostgreSQL version: 16.3
Operating system: RedHat 9, Alma Linux 9, Rocky Linux 9
Description:

If you grab a fresh RedHat 9 image and try to install PGDG rpms from your
repository like so:

dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf install -y postgresql16-server postgresql16-devel

It fails with a missing Perl IPC Run which is not available anywhere in the
RedHat ecosystem as far as I can tell. I'm trying to create custom postgres
extensions and package them as RPMs for distribution. For that to work I
need to match against the official PGDG packages. I can't even compile the
extensions against PGDG's RedHat packages right now. Please advise.

```
25.67 Error:
25.67 Problem: cannot install the best candidate for the job
25.67 - nothing provides perl(IPC::Run) needed by
postgresql16-devel-16.3-1PGDG.rhel9.x86_64 from pgdg16
25.67 (try to add '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)
```

Thank you for your advice and help.

#2Andrew Dunstan
andrew@dunslane.net
In reply to: PG Bug reporting form (#1)
Re: BUG #18561: postgresql16-devel rpm cannot be installed due to missing Perl-IPC-Run

On 2024-07-31 We 11:16 AM, PG Bug reporting form wrote:

The following bug has been logged on the website:

Bug reference: 18561
Logged by: Tim Dysinger
Email address:tim@dysinger.net
PostgreSQL version: 16.3
Operating system: RedHat 9, Alma Linux 9, Rocky Linux 9
Description:

If you grab a fresh RedHat 9 image and try to install PGDG rpms from your
repository like so:

dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf install -y postgresql16-server postgresql16-devel

It fails with a missing Perl IPC Run which is not available anywhere in the
RedHat ecosystem as far as I can tell. I'm trying to create custom postgres
extensions and package them as RPMs for distribution. For that to work I
need to match against the official PGDG packages. I can't even compile the
extensions against PGDG's RedHat packages right now. Please advise.

```
25.67 Error:
25.67 Problem: cannot install the best candidate for the job
25.67 - nothing provides perl(IPC::Run) needed by
postgresql16-devel-16.3-1PGDG.rhel9.x86_64 from pgdg16
25.67 (try to add '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)
```

Thank you for your advice and help.

You need to enable Rocky's Code Ready Builder repo like this:

|    dnf config-manager --set-enabled crb|

Not sure what the answer is for Alma/RH

cheers

andrew

--
Andrew Dunstan
EDB:https://www.enterprisedb.com

#3Tim Dysinger
tim@dysinger.net
In reply to: Andrew Dunstan (#2)
Re: BUG #18561: postgresql16-devel rpm cannot be installed due to missing Perl-IPC-Run

I've not had success with the various tips around the internet. If you search RPM search engines it's not possible to find an RHEL 9 package for this dependency.
https://www.rpmfind.net/linux/rpm2html/search.php?query=Perl-IPC-Run&submit=Search+...

I'm usually able to figure things out quickly even without experience on the platform but the changes to redhat in the last 5 years are dramatic.

I appreciate your help. I've tried all 3 (Rocky, Alma, RedHat)

```
[redhat@bf9eab65c5de src]$ dnf config-manager --set-enabled crb
No such command: config-manager. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(config-manager)'"
[redhat@bf9eab65c5de src]$ cat /etc/redhat-release
Rocky Linux release 9.4 (Blue Onyx)[redhat@bf9eab65c5de src]$
```

On Wednesday, July 31st, 2024 at 9:16 AM, Andrew Dunstan <andrew@dunslane.net> wrote:

Show quoted text

On 2024-07-31 We 11:16 AM, PG Bug reporting form wrote:

The following bug has been logged on the website:

Bug reference: 18561
Logged by: Tim Dysinger
Email address:
tim@dysinger.net
PostgreSQL version: 16.3
Operating system: RedHat 9, Alma Linux 9, Rocky Linux 9
Description:

If you grab a fresh RedHat 9 image and try to install PGDG rpms from your
repository like so:

dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf install -y postgresql16-server postgresql16-devel

It fails with a missing Perl IPC Run which is not available anywhere in the
RedHat ecosystem as far as I can tell. I'm trying to create custom postgres
extensions and package them as RPMs for distribution. For that to work I
need to match against the official PGDG packages. I can't even compile the
extensions against PGDG's RedHat packages right now. Please advise.

```
25.67 Error:
25.67 Problem: cannot install the best candidate for the job
25.67 - nothing provides perl(IPC::Run) needed by
postgresql16-devel-16.3-1PGDG.rhel9.x86_64 from pgdg16
25.67 (try to add '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)
```

Thank you for your advice and help.

You need to enable Rocky's Code Ready Builder repo like this:

dnf config-manager --set-enabled crb

Not sure what the answer is for Alma/RH

cheers

andrew

--
Andrew Dunstan
EDB:
https://www.enterprisedb.com

Attachments:

image.pngimage/png; name=image.pngDownload+6-9
#4Tim Dysinger
tim@dysinger.net
In reply to: Tim Dysinger (#3)
Re: BUG #18561: postgresql16-devel rpm cannot be installed due to missing Perl-IPC-Run

I also tried to install it like it says.

```

[redhat@bf9eab65c5de src]$ sudo -i dnf install config-manager
Rocky Linux 9 - BaseOS 11 kB/s | 4.1 kB 00:00
Rocky Linux 9 - AppStream 14 kB/s | 4.5 kB 00:00
Rocky Linux 9 - Extras 6.8 kB/s | 2.9 kB 00:00
No match for argument: config-manager
Error: Unable to find a match: config-manager[redhat@bf9eab65c5de src]$
```

I think I have to just edit yum repos by hand.

To enable the crb repository:

- Open /etc/yum.repos.d/rocky.repo.
- Locate the [crb] section.
- Change enabled=0 to enabled=1.
- Save the file.
- Run sudo dnf update.

On Wednesday, July 31st, 2024 at 12:28 PM, Tim Dysinger <tim@dysinger.net> wrote:

Show quoted text

I've not had success with the various tips around the internet. If you search RPM search engines it's not possible to find an RHEL 9 package for this dependency.
https://www.rpmfind.net/linux/rpm2html/search.php?query=Perl-IPC-Run&amp;submit=Search+...

I'm usually able to figure things out quickly even without experience on the platform but the changes to redhat in the last 5 years are dramatic.

I appreciate your help. I've tried all 3 (Rocky, Alma, RedHat)

```
[redhat@bf9eab65c5de src]$ dnf config-manager --set-enabled crb
No such command: config-manager. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(config-manager)'"
[redhat@bf9eab65c5de src]$ cat /etc/redhat-release
Rocky Linux release 9.4 (Blue Onyx)[redhat@bf9eab65c5de src]$
```

On Wednesday, July 31st, 2024 at 9:16 AM, Andrew Dunstan <andrew@dunslane.net> wrote:

On 2024-07-31 We 11:16 AM, PG Bug reporting form wrote:

The following bug has been logged on the website:

Bug reference: 18561
Logged by: Tim Dysinger
Email address:
tim@dysinger.net
PostgreSQL version: 16.3
Operating system: RedHat 9, Alma Linux 9, Rocky Linux 9
Description:

If you grab a fresh RedHat 9 image and try to install PGDG rpms from your
repository like so:

dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf install -y postgresql16-server postgresql16-devel

It fails with a missing Perl IPC Run which is not available anywhere in the
RedHat ecosystem as far as I can tell. I'm trying to create custom postgres
extensions and package them as RPMs for distribution. For that to work I
need to match against the official PGDG packages. I can't even compile the
extensions against PGDG's RedHat packages right now. Please advise.

```
25.67 Error:
25.67 Problem: cannot install the best candidate for the job
25.67 - nothing provides perl(IPC::Run) needed by
postgresql16-devel-16.3-1PGDG.rhel9.x86_64 from pgdg16
25.67 (try to add '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)
```

Thank you for your advice and help.

You need to enable Rocky's Code Ready Builder repo like this:

dnf config-manager --set-enabled crb

Not sure what the answer is for Alma/RH

cheers

andrew

--
Andrew Dunstan
EDB:
https://www.enterprisedb.com

#5Tim Dysinger
tim@dysinger.net
In reply to: Tim Dysinger (#4)
Re: BUG #18561: postgresql16-devel rpm cannot be installed due to missing Perl-IPC-Run

This works on Rocky. I'll make it work on the others. Thank you for the tips/hints. I think since this works on Rocky, that you may close my bug.

On Wednesday, July 31st, 2024 at 12:33 PM, Tim Dysinger <tim@dysinger.net> wrote:

Show quoted text

I also tried to install it like it says.

```

[redhat@bf9eab65c5de src]$ sudo -i dnf install config-manager
Rocky Linux 9 - BaseOS 11 kB/s | 4.1 kB 00:00
Rocky Linux 9 - AppStream 14 kB/s | 4.5 kB 00:00
Rocky Linux 9 - Extras 6.8 kB/s | 2.9 kB 00:00
No match for argument: config-manager
Error: Unable to find a match: config-manager[redhat@bf9eab65c5de src]$
```

I think I have to just edit yum repos by hand.

To enable the crb repository:

- Open /etc/yum.repos.d/rocky.repo.
- Locate the [crb] section.
- Change enabled=0 to enabled=1.
- Save the file.
- Run sudo dnf update.

On Wednesday, July 31st, 2024 at 12:28 PM, Tim Dysinger <tim@dysinger.net> wrote:

I've not had success with the various tips around the internet. If you search RPM search engines it's not possible to find an RHEL 9 package for this dependency.
https://www.rpmfind.net/linux/rpm2html/search.php?query=Perl-IPC-Run&amp;submit=Search+...

I'm usually able to figure things out quickly even without experience on the platform but the changes to redhat in the last 5 years are dramatic.

I appreciate your help. I've tried all 3 (Rocky, Alma, RedHat)

```
[redhat@bf9eab65c5de src]$ dnf config-manager --set-enabled crb
No such command: config-manager. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(config-manager)'"
[redhat@bf9eab65c5de src]$ cat /etc/redhat-release
Rocky Linux release 9.4 (Blue Onyx)[redhat@bf9eab65c5de src]$
```

On Wednesday, July 31st, 2024 at 9:16 AM, Andrew Dunstan <andrew@dunslane.net> wrote:

On 2024-07-31 We 11:16 AM, PG Bug reporting form wrote:

The following bug has been logged on the website:

Bug reference: 18561
Logged by: Tim Dysinger
Email address:
tim@dysinger.net
PostgreSQL version: 16.3
Operating system: RedHat 9, Alma Linux 9, Rocky Linux 9
Description:

If you grab a fresh RedHat 9 image and try to install PGDG rpms from your
repository like so:

dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf install -y postgresql16-server postgresql16-devel

It fails with a missing Perl IPC Run which is not available anywhere in the
RedHat ecosystem as far as I can tell. I'm trying to create custom postgres
extensions and package them as RPMs for distribution. For that to work I
need to match against the official PGDG packages. I can't even compile the
extensions against PGDG's RedHat packages right now. Please advise.

```
25.67 Error:
25.67 Problem: cannot install the best candidate for the job
25.67 - nothing provides perl(IPC::Run) needed by
postgresql16-devel-16.3-1PGDG.rhel9.x86_64 from pgdg16
25.67 (try to add '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)
```

Thank you for your advice and help.

You need to enable Rocky's Code Ready Builder repo like this:

dnf config-manager --set-enabled crb

Not sure what the answer is for Alma/RH

cheers

andrew

--
Andrew Dunstan
EDB:
https://www.enterprisedb.com

#6Tim Dysinger
tim@dysinger.net
In reply to: Tim Dysinger (#5)
Re: BUG #18561: postgresql16-devel rpm cannot be installed due to missing Perl-IPC-Run

This only works on Rocky (not official RedHat UBI9). I can enable the code ready repos on RedHat and there's still not an available required Perl-IPC-Run package like there is in Rocky. I guess that will work for now.

On Wednesday, July 31st, 2024 at 12:44 PM, Tim Dysinger <tim@dysinger.net> wrote:

Show quoted text

This works on Rocky. I'll make it work on the others. Thank you for the tips/hints. I think since this works on Rocky, that you may close my bug.

On Wednesday, July 31st, 2024 at 12:33 PM, Tim Dysinger <tim@dysinger.net> wrote:

I also tried to install it like it says.

```

[redhat@bf9eab65c5de src]$ sudo -i dnf install config-manager
Rocky Linux 9 - BaseOS 11 kB/s | 4.1 kB 00:00
Rocky Linux 9 - AppStream 14 kB/s | 4.5 kB 00:00
Rocky Linux 9 - Extras 6.8 kB/s | 2.9 kB 00:00
No match for argument: config-manager
Error: Unable to find a match: config-manager[redhat@bf9eab65c5de src]$
```

I think I have to just edit yum repos by hand.

To enable the crb repository:

- Open /etc/yum.repos.d/rocky.repo.
- Locate the [crb] section.
- Change enabled=0 to enabled=1.
- Save the file.
- Run sudo dnf update.

On Wednesday, July 31st, 2024 at 12:28 PM, Tim Dysinger <tim@dysinger.net> wrote:

I've not had success with the various tips around the internet. If you search RPM search engines it's not possible to find an RHEL 9 package for this dependency.
https://www.rpmfind.net/linux/rpm2html/search.php?query=Perl-IPC-Run&amp;submit=Search+...

I'm usually able to figure things out quickly even without experience on the platform but the changes to redhat in the last 5 years are dramatic.

I appreciate your help. I've tried all 3 (Rocky, Alma, RedHat)

```
[redhat@bf9eab65c5de src]$ dnf config-manager --set-enabled crb
No such command: config-manager. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(config-manager)'"
[redhat@bf9eab65c5de src]$ cat /etc/redhat-release
Rocky Linux release 9.4 (Blue Onyx)[redhat@bf9eab65c5de src]$
```

On Wednesday, July 31st, 2024 at 9:16 AM, Andrew Dunstan <andrew@dunslane.net> wrote:

On 2024-07-31 We 11:16 AM, PG Bug reporting form wrote:

The following bug has been logged on the website:

Bug reference: 18561
Logged by: Tim Dysinger
Email address:
tim@dysinger.net
PostgreSQL version: 16.3
Operating system: RedHat 9, Alma Linux 9, Rocky Linux 9
Description:

If you grab a fresh RedHat 9 image and try to install PGDG rpms from your
repository like so:

dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf install -y postgresql16-server postgresql16-devel

It fails with a missing Perl IPC Run which is not available anywhere in the
RedHat ecosystem as far as I can tell. I'm trying to create custom postgres
extensions and package them as RPMs for distribution. For that to work I
need to match against the official PGDG packages. I can't even compile the
extensions against PGDG's RedHat packages right now. Please advise.

```
25.67 Error:
25.67 Problem: cannot install the best candidate for the job
25.67 - nothing provides perl(IPC::Run) needed by
postgresql16-devel-16.3-1PGDG.rhel9.x86_64 from pgdg16
25.67 (try to add '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)
```

Thank you for your advice and help.

You need to enable Rocky's Code Ready Builder repo like this:

dnf config-manager --set-enabled crb

Not sure what the answer is for Alma/RH

cheers

andrew

--
Andrew Dunstan
EDB:
https://www.enterprisedb.com