Original Message:
Sent: Tue November 19, 2024 12:47 PM
From: SANGAMESH MALLAYYA
Subject: Issue with AIX Toolbox repo
"Baseurl=file:///dnf-repo/AIX_Toolbox_noarch/"
Change the First capital letter B to small letter.
------------------------------
SANGAMESH
Original Message:
Sent: Tue November 19, 2024 12:29 PM
From: Dana Pettus
Subject: Issue with AIX Toolbox repo
The change did not resolve the issue:
dev-dnftest:/opt/freeware/etc/dnf#cat dnf.conf
[main]
cachedir=/var/cache/dnf
keepcache=1
debuglevel=2
logfile=/var/log/dnf.log
obsoletes=1
plugins=1
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
skip_if_unavailable=True
[AIX_Toolbox]
name=AIX generic repository
baseurl=file:///dnf-repo/AIX_Toolbox/
enabled=1
gpgcheck=0
[AIX_Toolbox_noarch]
name=AIX noarch repository
Baseurl=file:///dnf-repo/AIX_Toolbox_noarch/
enabled=1
gpgcheck=0
[AIX_Toolbox_72]
name=AIX 7.2 specific repository
baseurl=file:///dnf-repo/AIX_Toolbox_72/
enabled=1
gpgcheck=0
dev-dnftest:/opt/freeware/etc/dnf#dnf update
AIX generic repository 3.0 MB/s | 3.0 kB 00:00
Error: Cannot find a valid baseurl for repo: AIX_Toolbox_noarch
AIX 7.2 specific repository 33 MB/s | 1.3 MB 00:00
Ignoring repositories: AIX_Toolbox_noarch
Dependencies resolved.
Nothing to do.
Complete!
Dana
Original Message:
Sent: 11/19/2024 12:23:00 PM
From: SANGAMESH MALLAYYA
Subject: RE: Issue with AIX Toolbox repo
Please verify the url entry again.
It should have entries as "baseurl=file:///dnf-repo/AIX_Toolbox_noarch/"
First character is capital in your case and all repo url path should end with forward slash( / ).
Also, it is better to include file:/// to avoid confusion.
------------------------------
SANGAMESH
Original Message:
Sent: Tue November 19, 2024 12:06 PM
From: Dana Pettus
Subject: Issue with AIX Toolbox repo
This thread was about that very issue with the Noarch repo being resolved - I am showing it isn't resolved for my 7.2 test server and asking how to resolve it to the OP.
The contents of the directory are below:
dev-dnftest:/opt/freeware/etc/dnf#ls -a /dnf-repo/AIX_Toolbox_noarch/
. python-py python3-itsdangerous python3-requests-kerberos
.. python-pygments python3-jaraco.classes python3-resolvelib
ansible python-pytest python3-jaraco.collections python3-s3transfer
ansible-core python-pytest-timeout python3-jaraco.functools python3-scons
autoconf python-pyzmq python3-jaraco.text python3-semantic_version
autoconf-archive python-singledispatch python3-jinja2 python3-setuptools
autoconf213 python-sphinx python3-jmespath python3-setuptools-rust
automake python-swiftclient python3-joblib python3-singledispatch
bash-completion python-unittest2 python3-jsonpatch python3-six
cloudinit python3 python3-jsonpointer python3-snowballstemmer
cmocka python3-alabaster python3-jsonschema python3-sphinx
createrepo python3-argparse python3-keyczar python3-sphinx-removed-in
dejavu-fonts python3-attrs python3-libcloud python3-sphinxcontrib-applehelp
docbookx python3-augeas python3-linecache2 python3-sphinxcontrib-devhelp
duo_unix python3-babel python3-looseversion python3-sphinxcontrib-htmlhelp
ganglia python3-backports_abc python3-mock python3-sphinxcontrib-jsmath
ghostscript-fonts python3-blinker python3-more-itertools python3-sphinxcontrib-qthelp
git python3-boto3 python3-nose python3-sphinxcontrib-serializinghtml
golang python3-botocore python3-oauthlib python3-sphinxcontrib-trio
help2man python3-certifi python3-packaging python3-swiftclient
intltool python3-chardet python3-paramiko python3-tempora
jansson python3-charset-normalizer python3-passlib python3-threadpoolctl
joblib python3-cheroot python3-pbr python3-tomli
mariadb-connector-c python3-cherrypy python3-pip python3-traceback2
meson python3-click python3-pluggy python3-tzdata
mysql-config python3-configobj python3-portend python3-urllib3
openCIMOM python3-cppy python3-prettytable python3-wcwidth
perl-JSON python3-cycler python3-py python3-werkzeug
perl-Parse-Yapp python3-dateutil python3-pyasn1 python3-wheel
protobuf python3-decorator python3-pycparser python3-zc.lockfile
python python3-distro python3-pygments python3-zipp
python-argcomplete python3-docutils python3-pygments-pytest repodata
python-backports_abc python3-flask python3-pyparsing rkhunter
python-cherrypy python3-futures3 python3-pyserial salt
python-decorator python3-httplib2 python3-pyspnego smake
python-docutils python3-hypothesis python3-pytest swig
python-enum34 python3-idna python3-pytest-html-reporter threadpoolctl
python-hypothesis python3-imagesize python3-pytest-timeout urw-fonts
python-libcloud python3-importlib-metadata python3-pytz yum
python-pluggy python3-importlib_resources python3-requests yum-utils
------------------------------
Dana Pettus
Original Message:
Sent: Tue November 19, 2024 12:00 PM
From: SANKET RATHI
Subject: Issue with AIX Toolbox repo
So it is working and only for one repo it is not working.
I think you need to check the path and content of that dir.
I cannot think when other repo are working why noarch will not work if it is setup correctly.
Original Message:
Sent: 11/19/2024 11:53:00 AM
From: Dana Pettus
Subject: RE: Issue with AIX Toolbox repo
It works as it is, I was able to install tmux with it Friday and update DNF, but it also says AIX_Toolbox_Arch isn't found, which is supposed to be resolved:
dev-dnftest:/opt/freeware/etc/dnf#dnf update
AIX generic repository 3.0 MB/s | 3.0 kB 00:00
Error: Cannot find a valid baseurl for repo: AIX_Toolbox_noarch
AIX 7.2 specific repository 3.0 MB/s | 3.0 kB 00:00
Ignoring repositories: AIX_Toolbox_noarch
Dependencies resolved.
Nothing to do.
Complete!
dev-dnftest:/opt/freeware/etc/dnf#dnf install screen -y
Error: Cannot find a valid baseurl for repo: AIX_Toolbox_noarch
Ignoring repositories: AIX_Toolbox_noarch
Last metadata expiration check: 0:00:34 ago on Tue Nov 19 11:49:51 EST 2024.
Package screen-4.7.0-1.ppc is already installed.
Dependencies resolved.
Nothing to do.
Complete!
------------------------------
Dana Pettus
Original Message:
Sent: Tue November 19, 2024 11:38 AM
From: SANKET RATHI
Subject: Issue with AIX Toolbox repo
Is your baseurl location in dnf.conf file correct?
I think it needs file:///
eg.
enabled=1
baseurl=file:///dnf-repo/AIX_Toolbox/
What error you get?
Original Message:
Sent: 11/19/2024 9:56:00 AM
From: Ayappan P
Subject: RE: Issue with AIX Toolbox repo
Have you done a reposync in the NIM server ? Check out this article --> https://developer.ibm.com/tutorials/awb-configuring-dnf-create-local-repos-ibm-aix/
------------------------------
Ayappan P
Original Message:
Sent: Tue November 19, 2024 09:11 AM
From: Dana Pettus
Subject: Issue with AIX Toolbox repo
Hi Sanket;
Correct, I connected my NIM server to the internet and downloaded all the repos and created the repository. Then, I edited the DNF script to stop removing the download of the DNF package or installing it, and downloaded DNF, installed to my dev-sandbox server. The repos are located in /images/dnf-repo on the NIM server, it is exported and mounted as /dnf-repo on the client dev server. When I run DNF Update, I get the errors above.
Contents of /images/dnf-repo on the 7.3 NIM:
dev-nimmaster:root # ls -la /images/dnf-repo
total 104
drwxrwxrwt 7 root system 256 Nov 15 13:57 .
drwxrwxrwx 9 root system 4096 Nov 13 09:43 ..
drwxrwxrwt 338 root system 20480 Nov 13 11:02 AIX_Toolbox
drwxrwxrwt 23 root system 4096 Nov 13 11:04 AIX_Toolbox_71
drwxrwxrwt 35 root system 4096 Nov 13 11:04 AIX_Toolbox_72
drwxrwxrwt 31 root system 4096 Nov 13 11:06 AIX_Toolbox_73
drwxrwxrwt 160 root system 12288 Nov 13 11:11 AIX_Toolbox_noarch
on the 7.2 client, it is mounted as an NFS share:
dev-dnftest:/#ls -la /dnf-repo
total 128
drwxrwxrwt 7 root system 256 Nov 15 14:57 .
drwxr-xr-x 50 root system 16384 Nov 19 08:58 ..
drwxrwxrwt 338 root system 20480 Nov 13 12:02 AIX_Toolbox
drwxrwxrwt 23 root system 4096 Nov 13 12:04 AIX_Toolbox_71
drwxrwxrwt 35 root system 4096 Nov 13 12:04 AIX_Toolbox_72
drwxrwxrwt 31 root system 4096 Nov 13 12:06 AIX_Toolbox_73
drwxrwxrwt 160 root system 12288 Nov 13 12:11 AIX_Toolbox_noarch
contents of /opt/freeware/etc/dnf/dnf.conf on the dev client:
dev-dnftest:/opt/freeware/etc/dnf#cat dnf.conf
[main]
cachedir=/var/cache/dnf
keepcache=1
debuglevel=2
logfile=/var/log/dnf.log
obsoletes=1
plugins=1
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
skip_if_unavailable=True
[AIX_Toolbox]
name=AIX generic repository
baseurl=/dnf-repo/AIX_Toolbox/
enabled=1
gpgcheck=0
[AIX_Toolbox_noarch]
name=AIX noarch repository
Baseurl=/dnf-repo/AIX_Toolbox_noarch
enabled=1
gpgcheck=0
[AIX_Toolbox_72]
name=AIX 7.2 specific repository
baseurl=/dnf-repo/AIX_Toolbox_72
enabled=1
gpgcheck=0
Thank you!
Original Message:
Sent: 11/17/2024 8:34:00 AM
From: SANKET RATHI
Subject: RE: Issue with AIX Toolbox repo
I think I still do not understand completely your environment.
You have NIM server based on AIX 7.3 where dnf is installed and it is connected to AIX Toolbox repo and can be refreshed with latest packages from toolbox.
You client are using NFS share from NIM server, which dir/fs is exported from NIM and what it contains?
How are you using dnf/toolbox packages on clients?
Original Message:
Sent: 11/15/2024 4:14:00 PM
From: Dana Pettus
Subject: RE: Issue with AIX Toolbox repo
@Jan Harris I recently installed DNF to my AIX 7.3 NIM servers, and am using an NFS share from the NIM to my dev-dnf-test server which is on 7.2 matching our production database servers for testing adding DNF to them. I still get the error on the 7.2 client even after running dnf clean all, and dnf update again on both the NIM (7.3 NFS source) and the client server (7.2).
The NIM is fine and doesn't give the error (and never did). Do you have any ideas on how to resolve this? Installs do proceed normally if they are not in the AIX_Toolbox_noarch but before I put this in production I want everything lined out with no errors.
Thanks! :)
Dana
------------------------------
Dana Pettus
Original Message:
Sent: Mon October 28, 2024 10:25 AM
From: Jan Harris
Subject: Issue with AIX Toolbox repo
@Stephan Dietl - FYI
------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin
Original Message:
Sent: Wed October 23, 2024 01:43 PM
From: Jan Harris
Subject: Issue with AIX Toolbox repo
Cross referencing in the Power Community, where the post specified errors in 73. This issue (now resolved) affected 72 as well, as this was the Generic Repository (ppc)
- Loading repository 'AIX_Toolbox' has failed AIX 7.3
- https://community.ibm.com/community/user/power/discussion/loading-repository-aix-toolbox-has-failed-aix-73#bm924c5af8-68ec-473a-9bd2-0192b94507fb
AIX generic repository 16 kB/s | 2.3 kB 00:00reviving: 'AIX_Toolbox' can be revived - repomd matches.loading repo 'AIX_Toolbox' failure: repo_add_repomdxml/rpmmd() has failed.Error: Loading repository 'AIX_Toolbox' has failed
------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin
Original Message:
Sent: Tue October 22, 2024 08:32 AM
From: RESHMA KUMAR
Subject: Issue with AIX Toolbox repo
Hi All!
This is to notify the users that the recent update of AIX toolbox repodata had some issues temporarily.
One might have encountered the below error with "dnf update/install" commands,
Error: Loading repository 'AIX_Toolbox' has failed
Ignoring repositories: AIX_Toolbox
The issue has been fixed now.
Please run "dnf clean all" and then run "dnf install" or "dnf update".
------------------------------
RESHMA KUMAR
------------------------------