IBM i Global

 View Only

 Open Source Package Manager installation failing

Alejandro Insfran Beloqui's profile image
Alejandro Insfran Beloqui posted Thu May 29, 2025 04:38 PM

In this particular system, OSPM is not installed. When trying to install it, ACS tries for a couple of minutes (we are using the ssh tunnel option since this system cannot connect to the internet) and then fails with the message "-bsh: /QOpenSys/pkgs/bin/yum: not found". The /pkgs directory is not there. 

Where should I start looking for errors or some kind of log? I see a couple of connections under netstat for the ssh port, but one of them resets itself after a few seconds and the other stays always in zero, though the status is 'Established'. These two are the connections serving this process, other than the regular sshd daemon. I even see a QP0ZSPWP job doing a PGM-sftp-serve function, but I cannot find that joblog (the sshd service is set up as IBM recommends in its dedicated subsystem and all). 

Carlos Martín's profile image
Carlos Martín

Hi

Perhaps the problem is that your PC cannot connect to the Internet because some restriction (i.e., in ACS, you cannot specify a proxy).

You can try to download bootstrap package and install the open source environment offline

Offline Install Instructions (without ACS)

Satid S's profile image
Satid S

Dear Alejando

Did you follow steps described in the following Tech Note?  Getting started with Open Source Package Management in IBM i ACS at https://www.ibm.com/support/pages/getting-started-open-source-package-management-ibm-i-acs      

If your IBM i server is not connected to the internet, follow these offline installation instructions instead: https://www.seidengroup.com/php-documentation/offline-installation-of-communityplus-php/    .

If you already have an open source repository on an IBM i server and want to clone it to another, here is how to do it: How to use ACS Open Source Package Management to Clone the IBM i Open Source Repository and Share it with other Systems at https://www.ibm.com/support/pages/how-use-acs-open-source-package-management-clone-ibm-i-open-source-repository-and-share-it-other-systems        

Alejandro Insfran Beloqui's profile image
Alejandro Insfran Beloqui

Thanks Martín - my PC is connected to the internet, in fact I was able to update packages for two other systems of the same customer, but this system did not have the environment set up and that is where this is failing. 

Thanks Satid - yes, I had seen those docs and as Martín also suggested, I saw the option to perform an offline installation and clone another system's repo, but I thought I'd try to troubleshoot this first and find out what is failing exactly. 

Satid S's profile image
Satid S

>>>>  I was able to update packages for two other systems of the same customer, but this system did not have the environment set up and that is where this is failing.  <<<<

What is this problematic system compared to the other two? Is it a production system while the other two are non-production?   If so, a Firewall can be a factor that causes your current issue.   

Alejandro Insfran Beloqui's profile image
Alejandro Insfran Beloqui

Correct Satid, this is a production system and I am having the network/firewall guys check if there is any difference in that aspect. In any case, I am too anxious and I already manually set up the environment offline. 

One thing I had forgotten to mention is that bootstrap.sh and bootstrap.tar.Z were already in the system, I didn't have to download them, and they had creation dates/times of the very first installation attempt. So probably these were downloaded then but there is/was something else wrong during the installation. 

Sylvain Manceau's profile image
Sylvain Manceau

Same here (brand new & up-to-date V7R5).

Looking at ACS dump, looks like a certificate problem.

We have HTTPS filtering activated here...