Although the ACS interface shows "yum-utils" 1.1.31-9, I can't find the createrepo cmd. I scanned the whole root IFS directory also for it.
Original Message:
Sent: Sun April 28, 2024 05:51 PM
From: Jack Woehr
Subject: ACS Open Source Package management
Try executing createrepo -v
directory_of_your_baseurl_declaration
Then do a yum clean all
and try again.
** note that directory_of_your_baseurl_declaration should be just the absolute directory path, not including the file:///
protocol declaration.
------------------------------
Jack Woehr
Original Message:
Sent: Fri April 26, 2024 06:10 PM
From: Michael Cramer
Subject: ACS Open Source Package management
QSH Command Entry
Tried also :
/QOpenSys/pkgs/bin/yum clean metadata
Cleaning repos: ibmi-base
2 metadata files removed
1 sqlite file removed
0 metadata files removed
$ >
/QOpenSys/pkgs/bin/yum install nodejs14
ibmi-base | 3.6 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
No package nodejs14 available.
Error: Nothing to do
$
------------------------------
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
------------------------------