pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: adfile@aol.com <adfile@aol.com>
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Postgresql16 dnf install postgresql16-devel.x86_64 fails - Resolve
Date: Sun, 18 Feb 2024 01:51:59 +0000 (UTC)
Message-ID: <798318227.2099534.1708221119012@mail.yahoo.com> (raw)
References: <798318227.2099534.1708221119012.ref@mail.yahoo.com>

OS: Rocky Linux 9.3
postgresql16-server install successful.
Issue: Install of postgresql16-devel.x86_64 Failed 

Final Resolution:- run following install
dnf --enablerepo=crb install perl-IPC-Run
Then run install
 dnf install postgresql16-devel.x86_64


Sequence of events:
[root@localhost usr]# dnf install postgresql16-devel.x86_64
Last metadata expiration check: 0:58:06 ago on Sat 17 Feb 2024 07:23:56 PM EST.
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides perl(IPC::Run) needed by postgresql16-devel-16.2-1PGDG.rhel9.x86_64 from pgdg16
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@localhost usr]# 

Action 1:Tried using ---nobest
[root@localhost usr]# dnf install postgresql16-devel.x86_64 --nobest
Last metadata expiration check: 1:02:04 ago on Sat 17 Feb 2024 07:23:56 PM EST.
Error: 
 Problem: conflicting requests
  - nothing provides perl(IPC::Run) needed by postgresql16-devel-16.0-1PGDG.rhel9.x86_64 from pgdg16
  - nothing provides perl(IPC::Run) needed by postgresql16-devel-16.1-1PGDG.rhel9.x86_64 from pgdg16
  - nothing provides perl(IPC::Run) needed by postgresql16-devel-16.1-2PGDG.rhel9.x86_64 from pgdg16
  - nothing provides perl(IPC::Run) needed by postgresql16-devel-16.2-1PGDG.rhel9.x86_64 from pgdg16
(try to add '--skip-broken' to skip uninstallable packages)


Action 2: Tried using --skip-broken
[root@localhost usr]# dnf install postgresql16-devel.x86_64 --skip-broken
Last metadata expiration check: 1:03:59 ago on Sat 17 Feb 2024 07:23:56 PM EST.
Dependencies resolved.

 Problem: cannot install the best candidate for the job
  - nothing provides perl(IPC::Run) needed by postgresql16-devel-16.2-1PGDG.rhel9.x86_64 from pgdg16
================================================================================
 Package                 Arch        Version                  Repository   Size
================================================================================
Skipping packages with broken dependencies:
 postgresql16-devel      x86_64      16.2-1PGDG.rhel9         pgdg16      5.3 M

Transaction Summary
================================================================================
Skip  1 Package

Nothing to do.
Complete! 

Action 3: Added the following perl packages :
root@localhost usr]# dnf search perl | grep IPC
Last metadata expiration check: 1:06:44 ago on Sat 17 Feb 2024 07:23:56 PM EST.
perl-IPC-SharedCache.noarch : Perl module to manage a cache in SysV IPC shared memory
perl-IPC-Signal.noarch : Utility functions dealing with signals for Perl
perl-IPC-Cmd.noarch : Finding and running system commands made easy
perl-IPC-Open3.noarch : Open a process for reading, writing, and error handling
perl-IPC-ShareLite.x86_64 : Lightweight interface to shared memory
perl-IPC-SysV.x86_64 : Object interface to System V IPC
perl-IPC-System-Simple.noarch : Run commands simply, with detailed diagnostics

This did not resolve the issue. 
Action 4: Found a link on internet for installing perl-IPC-Run
[root@localhost usr]# dnf --enablerepo=crb install perl-IPC-Run
Rocky Linux 9 - CRB                             385 kB/s | 2.3 MB     00:06    
Dependencies resolved.
================================================================================
 Package              Architecture   Version                  Repository   Size
================================================================================
Installing:
 perl-IPC-Run         noarch         20200505.0-6.el9         crb         114 k
Installing dependencies:
 perl-IO-Tty          x86_64         1.16-4.el9               crb          45 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 159 k
Installed size: 420 k
Is this ok [y/N]: y   
Downloading Packages:
(1/2): perl-IO-Tty-1.16-4.el9.x86_64.rpm        217 kB/s |  45 kB     00:00    
(2/2): perl-IPC-Run-20200505.0-6.el9.noarch.rpm 417 kB/s | 114 kB     00:00    
--------------------------------------------------------------------------------
Total                                           157 kB/s | 159 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : perl-IO-Tty-1.16-4.el9.x86_64                          1/2 
  Installing       : perl-IPC-Run-20200505.0-6.el9.noarch                   2/2 
  Running scriptlet: perl-IPC-Run-20200505.0-6.el9.noarch                   2/2 
  Verifying        : perl-IPC-Run-20200505.0-6.el9.noarch                   1/2 
  Verifying        : perl-IO-Tty-1.16-4.el9.x86_64                          2/2 

Installed:
  perl-IO-Tty-1.16-4.el9.x86_64       perl-IPC-Run-20200505.0-6.el9.noarch      

Complete!
Action 5: Tried install of devel again : Successful
  

[root@localhost usr]# dnf install postgresql16-devel.x86_64
Last metadata expiration check: 1:12:26 ago on Sat 17 Feb 2024 07:23:56 PM EST.
Dependencies resolved.
================================================================================
 Package                 Arch        Version                  Repository   Size
================================================================================
Installing:
 postgresql16-devel      x86_64      16.2-1PGDG.rhel9         pgdg16      5.3 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 5.3 M
Installed size: 19 M
Is this ok [y/N]: y
Downloading Packages:
postgresql16-devel-16.2-1PGDG.rhel9.x86_64.rpm  985 kB/s | 5.3 MB     00:05    
--------------------------------------------------------------------------------
Total                                           984 kB/s | 5.3 MB     00:05     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : postgresql16-devel-16.2-1PGDG.rhel9.x86_64             1/1 
  Running scriptlet: postgresql16-devel-16.2-1PGDG.rhel9.x86_64             1/1 
  Verifying        : postgresql16-devel-16.2-1PGDG.rhel9.x86_64             1/1 

Installed:
  postgresql16-devel-16.2-1PGDG.rhel9.x86_64                                    

Complete!
[root@localhost usr]# 

Message-ID: <798318227.2099534.1708221119012@mail.yahoo.com>
Permalink:  ../798318227.2099534.1708221119012@mail.yahoo.com/
Also on:    postgresql.org/message-id/798318227.2099534.1708221119012@mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: adfile@aol.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Postgresql16 dnf install postgresql16-devel.x86_64 fails - Resolve
  In-Reply-To: <798318227.2099534.1708221119012@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox