Original Message:
Sent: Tue April 30, 2024 07:49 PM
From: Michael Cramer
Subject: ACS Open Source Package management
ok, Wayne gave me this solution that worked:
clear out the currently installed Open Source elements off of the IBM i to start with a clean install delete the following directories and all of their contents if they exist:
/QOpenSys/var/cache/yum/
/QOpenSys/var/lib/yum
/QOpenSys/var/lib/rpm
/QOpenSys/etc/yum
/QOpenSys/pkgs
In the /tmp directory delete any "bootstrap.*" and "gtar" files if they exist.
Once that has been done, I would recommend following these instructions to install the latest support:
https://ibmi-oss-docs.readthedocs.io/en/latest/yum/README.html#offline-install-instructions-without-acs
Then, connection IBM i ACS 1.1.9.5 Open Source Package Management with the "SSH Tunnel..." option selected and do you see NodeJs 14 under Available packages
------------------------------
Michael Cramer
Original Message:
Sent: Tue April 30, 2024 12:52 PM
From: Michael Cramer
Subject: ACS Open Source Package management
ok, I'll open up a case, thanks for your help Jack.
------------------------------
Michael Cramer
Original Message:
Sent: Mon April 29, 2024 09:36 PM
From: Jack Woehr
Subject: ACS Open Source Package management
Michael, there may be multiple inconsistencies on your LPAR(s).
Some serious thought is required.
- What's your Java version.
- What OS level are you at?
- How are your PTFs?
... etc.
You've reached the limit, as I noted, that I can help you debug "via telepathy".
You may have to bring someone into your system to look around and see what's wrong.
------------------------------
Jack Woehr
Original Message:
Sent: Mon April 29, 2024 08:37 PM
From: Michael Cramer
Subject: ACS Open Source Package management
I had installed the open source component from ACS, then issued the clone repo for offline use because certain of my partitions don't have internet access. I went back to another system and issued again the close repo for offline use with the default settings. All the rpms downloaded but then I get a dialog box saying MSGGEN005 - Internal Error.
java.lang.illegalstateexception: channel id=15 not registered because session is being closed.
It hasn't been smooth on any partitions I've tried to connect to via acs to install this tool. Various errors from this one to authority issues not logged in the audit journals and I can't trace.
------------------------------
Michael Cramer
Original Message:
Sent: Thu April 25, 2024 11:07 PM
From: Jack Woehr
Subject: ACS Open Source Package management
This is wrong:
/QOpenSys/pkgs/bin/yum install /QOpenSys/QIBM/UserData/rpm_repos/ibm/ppc64/nodejs14-14.19.1-1.ibmi7.2.ppc64.rpm
Just /QOpenSys/pkgs/bin/yum install nodejs14
------------------------------
Jack Woehr
Original Message:
Sent: Thu April 25, 2024 07:37 PM
From: Michael Cramer
Subject: ACS Open Source Package management
looks better but still wanting python
/QOpenSys/pkgs/bin/yum clean all
Cleaning repos: ibmi-base
Cleaning up Everything
/QOpenSys/pkgs/bin/yum
install /QOpenSys/QIBM/UserData/rpm_repos/ibm/ppc64/nodejs14-14.19.1-1.ibmi7.2.ppc64.rpm
ibmi-base | 3.6 kB 00:00
ibmi-base/primary_db | 446 kB 00:00
file:///QOpenSys/QIBM/UserData/rpm_repos/ibm/repodata/27eb7c072c92c15c30cc9d38d69f8780db003fb7116eddbaa1fb44516db25ffa-primary.sq
lite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
file:///QOpenSys/QIBM/UserData/rpm_repos/ibm/repodata/27eb7c072c92c15c30cc9d38d69f8780db003fb7116eddbaa1fb44516db25ffa-primary.sq
lite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Setting up Install Process
Examining /QOpenSys/QIBM/UserData/rpm_repos/ibm/ppc64/nodejs14-14.19.1-1.ibmi7.2.ppc64.rpm: nodejs14-14.19.1-1.ppc64
Marking /QOpenSys/QIBM/UserData/rpm_repos/ibm/ppc64/nodejs14-14.19.1-1.ibmi7.2.ppc64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nodejs14.ppc64 0:14.19.1-1 will be installed
--> Processing Dependency: /QOpenSys/pkgs/bin/python3 for package: nodejs14-14.19.1-1.ppc64
--> Processing Dependency: python3 for package: nodejs14-14.19.1-1.ppc64
--> Processing Dependency: /QOpenSys/pkgs/bin/python3 for package: nodejs14-14.19.1-1.ppc64
--> Finished Dependency Resolution
Error: Package: nodejs14-14.19.1-1.ppc64 (/nodejs14-14.19.1-1.ibmi7.2.ppc64)
Requires: python3
Error: Package: nodejs14-14.19.1-1.ppc64 (/nodejs14-14.19.1-1.ibmi7.2.ppc64)
Requires: /QOpenSys/pkgs/bin/python3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
------------------------------
Michael Cramer
Original Message:
Sent: Thu April 25, 2024 07:28 PM
From: Jack Woehr
Subject: ACS Open Source Package management
Do a yum clean all
On Thu, Apr 25, 2024, at 17:16, Michael Cramer via IBM TechXchange Community wrote:
same error: > y ...
Re: ACS Open Source Package management | | | same error: > y Downloading Packages: Error Downloading Packages: python3-3.6.15-1.ppc64: failure: ppc64/python3-3.6.15-1.ibmi7.2.ppc64.rpm from ibmi-base: [Errno 256] No more mirrors to try. $ only the first repos.d file has enabled = 0 btw where my filepath is specified. ------------------------------ Michael Cramer ------------------------------ |
| Reply to Group Online View Thread Recommend Forward Flag as Inappropriate | ------------------------------------------- Original Message: Sent: Thu April 25, 2024 06:22 PM |
|
You are receiving this notification because you followed the 'ACS Open Source Package management' message thread. If you do not wish to follow this, please click here. Update your email preferences to choose the types of email you receive |
|
|
Original Message:
Sent: 4/25/2024 7:14:00 PM
From: Michael Cramer
Subject: RE: ACS Open Source Package management
same error:
> y
Downloading Packages:
Error Downloading Packages:
python3-3.6.15-1.ppc64: failure: ppc64/python3-3.6.15-1.ibmi7.2.ppc64.rpm from ibmi-base: [Errno 256] No more mirrors to try.
$
only the first repos.d file has enabled = 0 btw where my filepath is specified.
------------------------------
Michael Cramer
Original Message:
Sent: Thu April 25, 2024 06:22 PM
From: Jack Woehr
Subject: ACS Open Source Package management
Hmm, not sure my messge got posted. This could be a duplicate
Anyway, looks like things are out of sync.
Try rpm --rebuilddb
and then try again.
------------------------------
Jack Woehr
Original Message:
Sent: Thu April 25, 2024 06:11 PM
From: Michael Cramer
Subject: ACS Open Source Package management
same error. Why it is looking to download python3-3.6.15-1.ppc64 when I just installed it?
------------------------------
Michael Cramer
Original Message:
Sent: Thu April 25, 2024 06:04 PM
From: Jack Woehr
Subject: ACS Open Source Package management
Change all the other repo files (the ones that point to other than file:/// ) in repo.d to enabled=0
------------------------------
Jack Woehr
Original Message:
Sent: Thu April 25, 2024 05:59 PM
From: Michael Cramer
Subject: ACS Open Source Package management
ok, i did that. I think the ACS tool when I issued the creation of the clone was supposed to update the repos.d to include my new IFS path.
I updated that manually to
baseurl=file:///...my ifs path.....they really don't make this easy by putting fragmented pieces of information scattered on different sites.
but the node js install failed because it wanted python, so I installed python 3 first then came back to the nodes js install but still getting:
/QOpenSys/pkgs/bin/yum
install /QOpenSys/QIBM/UserData/rpm_repos/ibm/ppc64/nodejs14-14.19.1-1.ibmi7.2.ppc64.rpm
https://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo-7.5/repodata/repomd.xml: [Errno 14] curl#6 - "getaddrinfo() thre
ad failed to start"
Trying other mirror.
Setting up Install Process
Examining /QOpenSys/QIBM/UserData/rpm_repos/ibm/ppc64/nodejs14-14.19.1-1.ibmi7.2.ppc64.rpm: nodejs14-14.19.1-1.ppc64
Marking /QOpenSys/QIBM/UserData/rpm_repos/ibm/ppc64/nodejs14-14.19.1-1.ibmi7.2.ppc64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nodejs14.ppc64 0:14.19.1-1 will be installed
--> Processing Dependency: /QOpenSys/pkgs/bin/python3 for package: nodejs14-14.19.1-1.ppc64
--> Processing Dependency: python3 for package: nodejs14-14.19.1-1.ppc64
--> Running transaction check
---> Package python3.ppc64 0:3.6.15-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
nodejs14 ppc64 14.19.1-1 /nodejs14-14.19.1-1.ibmi7.2.ppc64 134 M
Installing for dependencies:
python3 ppc64 3.6.15-1 ibmi-base 36 M
Transaction Summary
================================================================================
Install 2 Packages
Total size: 170 M
Total download size: 36 M
Installed size: 273 M
Is this ok [y/N]:
y
Downloading Packages:
Error Downloading Packages:
python3-3.6.15-1.ppc64: failure: ppc64/python3-3.6.15-1.ibmi7.2.ppc64.rpm from ibmi-base: [Errno 256] No more mirrors to try.
$
------------------------------
Michael Cramer
Original Message:
Sent: Thu April 25, 2024 05:51 PM
From: Jack Woehr
Subject: ACS Open Source Package management
Just copy over the whole repo to your machine.
Create a repo file under repos.d where the baseurl is a pointer to a file as described in my previous message.
Then yum install the packages you want.
------------------------------
Jack Woehr
Original Message:
Sent: Thu April 25, 2024 05:39 PM
From: Michael Cramer
Subject: ACS Open Source Package management
I tried also this:
/QOpenSys/pkgs/bin/yum
install /QOpenSys/QIBM/UserData/rpm_repos/ibm/ppc64/nodejs14-14.19.1-1.ibmi7.2.ppc64.rpm
------------------------------
Michael Cramer
Original Message:
Sent: Thu April 25, 2024 04:31 PM
From: Michael Cramer
Subject: ACS Open Source Package management
1-instead of having an ftp site or an http path in repo file in /QOpenSys/etc/yum/repos.d , can't one of these file point to a local IFS path where the clone of the repo has been downloaded?
2-on the cloning screen, there's an option I checked to "create nginx configuration files for serving this cloned repository to other IBM i systems". Where are those files created?
on the link you sent me there's only:
To summarize, the process of creating your own repository and hosting it for all your systems involves:
Run the ACS Clone Repo Tool, checking the "Create nginx configuration file" box
Start the nginx server by running the startServer
/startServerBatch
script
Configure endpoint systems
(optional) automate
------------------------------
Michael Cramer
Original Message:
Sent: Thu April 25, 2024 04:03 PM
From: Jack Woehr
Subject: ACS Open Source Package management
Michael, things I don't understand in your message:
- a repo file to point to the IFS
- where does it drop these script files for starting nginx
------------------------------
Jack Woehr
Original Message:
Sent: Thu April 25, 2024 03:50 PM
From: Michael Cramer
Subject: ACS Open Source Package management
Hi Jack,
I was able to create an offline repo on one of my systems but where does it drop these script files for starting nginx
/QOpenSys/QIBM/UserData/rpm_repos/ibm |
also, it should have rewrote a repo file to point to the IFS listed above but it's not in there /QOpenSys/etc/yum/repos.d
what's the syntax of one of these files to point to an IFS repo? I'm guessing I can also put the whole containt of my offline repo to a savf and restore it on a different system if I didn't want to serve it thru
------------------------------
Michael Cramer
Original Message:
Sent: Wed April 17, 2024 08:03 PM
From: Jack Woehr
Subject: ACS Open Source Package management
See https://www.seidengroup.com/php-documentation/offline-installation-of-communityplus-php/
------------------------------
Jack Woehr
Original Message:
Sent: Wed April 17, 2024 06:42 PM
From: Michael Cramer
Subject: ACS Open Source Package management
Hi,
I'm trying to install Node.js on my iBM i without an internet connection.
First, some partitions give me an error "you do not have sufficient authority" right after clicking yes to the key fingerprint.
Then some partitions go further but when I try to install node.js from the list of available packages the ftp to the site
ftp://public.dhe.ibm.com/software/ibmi/productdions/pase/rpms/repo/repodata/repomd.xml FTP error 550 access denied.
------------------------------
Michael Cramer
------------------------------