Stephen,
The firewall access got pushed and the installation was a success! Thank you for helping me out with this.
# /opt/freeware/bin/dnf install gnupg2
AIX generic repository 4.9 MB/s | 20 MB 00:03
AIX noarch repository 2.4 MB/s | 3.1 MB 00:01
AIX 7.2 specific repository 1.3 MB/s | 1.3 MB 00:01
Last metadata expiration check: 0:00:02 ago on Fri Apr 26 13:52:14 2024.
Dependencies resolved.
==================================================================================================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================================================================================================
Installing:
gnupg2 ppc 2.4.3-1 AIX_Toolbox 9.9 M
Upgrading:
db ppc 1:5.3.28-1 AIX_Toolbox 17 M
gettext ppc 0.21-2 AIX_Toolbox 14 M
glib2 ppc 2.76.3-2 AIX_Toolbox 15 M
openldap ppc 2.5.16-1 AIX_Toolbox 4.0 M
readline ppc 8.2-1 AIX_Toolbox 2.3 M
sqlite ppc 3.41.2-1 AIX_Toolbox 11 M
Installing dependencies:
bzip2 ppc 1.0.8-2 AIX_Toolbox 238 k
cyrus-sasl ppc 2.1.28-1 AIX_Toolbox 1.2 M
gmp ppc 6.3.0-1 AIX_Toolbox 1.0 M
gnutls ppc 3.7.9-1 AIX_Toolbox 4.4 M
info ppc 7.0.2-1 AIX_Toolbox 643 k
libassuan ppc 2.5.6-1 AIX_Toolbox 332 k
libffi ppc 3.4.4-2 AIX_Toolbox 73 k
libgcrypt ppc 1.10.2-1 AIX_Toolbox 2.7 M
libgpg-error ppc 1.45-1 AIX_Toolbox 500 k
libiconv ppc 1.17-1 AIX_Toolbox 1.6 M
libksba ppc 1.6.3-1 AIX_Toolbox 932 k
libtasn1 ppc 4.19.0-1 AIX_Toolbox 227 k
libtextstyle ppc 0.21-2 AIX_Toolbox 1.1 M
libunistring ppc 1.1-1 AIX_Toolbox 3.0 M
libxml2 ppc 2.10.4-1 AIX_Toolbox 3.1 M
ncurses ppc 6.4-1 AIX_Toolbox 3.8 M
nettle ppc 3.9.1-1 AIX_Toolbox 3.1 M
npth ppc 1.5-1 AIX_Toolbox 220 k
pcre2 ppc 10.40-1 AIX_Toolbox 1.3 M
xz-libs ppc 5.4.3-1 AIX_Toolbox 575 k
zlib ppc 1.2.13-1 AIX_Toolbox 345 k
libgcc ppc 1:10-2 AIX_Toolbox_72 15 k
libgcc10 ppc 10.3.0-6 AIX_Toolbox_72 793 k
libgomp ppc 1:10-2 AIX_Toolbox_72 14 k
libgomp10 ppc 10.3.0-6 AIX_Toolbox_72 2.0 M
libstdc++ ppc 1:10-2 AIX_Toolbox_72 14 k
libstdc++10 ppc 10.3.0-6 AIX_Toolbox_72 19 M
Installing weak dependencies:
pinentry ppc 1.0.0-1 AIX_Toolbox 115 k
Transaction Summary
==================================================================================================================================================================================================================
Install 29 Packages
Upgrade 6 Packages
Total download size: 125 M
Is this ok [y/N]: y
Downloading Packages:
(1/35): bzip2-1.0.8-2.aix6.1.ppc.rpm 528 kB/s | 238 kB 00:00
(2/35): cyrus-sasl-2.1.28-1.aix6.1.ppc.rpm 1.6 MB/s | 1.2 MB 00:00
(3/35): gmp-6.3.0-1.aix7.1.ppc.rpm 1.3 MB/s | 1.0 MB 00:00
(4/35): info-7.0.2-1.aix7.1.ppc.rpm 2.1 MB/s | 643 kB 00:00
(5/35): libassuan-2.5.6-1.aix7.1.ppc.rpm 1.0 MB/s | 332 kB 00:00
(6/35): libffi-3.4.4-2.aix7.1.ppc.rpm 694 kB/s | 73 kB 00:00
(7/35): gnutls-3.7.9-1.aix7.1.ppc.rpm 3.9 MB/s | 4.4 MB 00:01
(8/35): libgpg-error-1.45-1.aix7.1.ppc.rpm 2.1 MB/s | 500 kB 00:00
(9/35): libgcrypt-1.10.2-1.aix7.1.ppc.rpm 2.8 MB/s | 2.7 MB 00:00
(10/35): libksba-1.6.3-1.aix7.1.ppc.rpm 2.5 MB/s | 932 kB 00:00
(11/35): gnupg2-2.4.3-1.aix7.1.ppc.rpm 4.0 MB/s | 9.9 MB 00:02
(12/35): libiconv-1.17-1.aix7.1.ppc.rpm 1.7 MB/s | 1.6 MB 00:00
(13/35): libtasn1-4.19.0-1.aix7.1.ppc.rpm 891 kB/s | 227 kB 00:00
(14/35): libtextstyle-0.21-2.aix7.1.ppc.rpm 3.7 MB/s | 1.1 MB 00:00
(15/35): libxml2-2.10.4-1.aix7.1.ppc.rpm 3.8 MB/s | 3.1 MB 00:00
(16/35): ncurses-6.4-1.aix7.1.ppc.rpm 4.4 MB/s | 3.8 MB 00:00
(17/35): npth-1.5-1.aix6.1.ppc.rpm 1.3 MB/s | 220 kB 00:00
(18/35): nettle-3.9.1-1.aix7.1.ppc.rpm 5.2 MB/s | 3.1 MB 00:00
(19/35): pcre2-10.40-1.aix7.1.ppc.rpm 2.9 MB/s | 1.3 MB 00:00
(20/35): pinentry-1.0.0-1.aix6.1.ppc.rpm 513 kB/s | 115 kB 00:00
(21/35): zlib-1.2.13-1.aix7.1.ppc.rpm 1.4 MB/s | 345 kB 00:00
(22/35): xz-libs-5.4.3-1.aix7.1.ppc.rpm 1.7 MB/s | 575 kB 00:00
(23/35): libgcc-10-2.aix7.2.ppc.rpm 62 kB/s | 15 kB 00:00
(24/35): libgcc10-10.3.0-6.aix7.2.ppc.rpm 2.9 MB/s | 793 kB 00:00
(25/35): libunistring-1.1-1.aix7.1.ppc.rpm 1.3 MB/s | 3.0 MB 00:02
(26/35): libgomp-10-2.aix7.2.ppc.rpm 66 kB/s | 14 kB 00:00
(27/35): libstdcplusplus-10-2.aix7.2.ppc.rpm 97 kB/s | 14 kB 00:00
(28/35): libgomp10-10.3.0-6.aix7.2.ppc.rpm 5.0 MB/s | 2.0 MB 00:00
(29/35): gettext-0.21-2.aix7.1.ppc.rpm 5.3 MB/s | 14 MB 00:02
(30/35): libstdcplusplus10-10.3.0-6.aix7.2.ppc.rpm 2.9 MB/s | 19 MB 00:06
(31/35): glib2-2.76.3-2.aix7.1.ppc.rpm 3.6 MB/s | 15 MB 00:04
(32/35): db-5.3.28-1.aix6.1.ppc.rpm 2.2 MB/s | 17 MB 00:07
(33/35): openldap-2.5.16-1.aix7.1.ppc.rpm 2.8 MB/s | 4.0 MB 00:01
(34/35): readline-8.2-1.aix7.1.ppc.rpm 1.7 MB/s | 2.3 MB 00:01
(35/35): sqlite-3.41.2-1.aix7.1.ppc.rpm 3.6 MB/s | 11 MB 00:03
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 7.7 MB/s | 125 MB 00:16
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libgcc10-10.3.0-6.ppc 1/41
Installing : libgcc-1:10-2.ppc 2/41
Installing : zlib-1.2.13-1.ppc 3/41
Installing : libstdc++10-10.3.0-6.ppc 4/41
Installing : libstdc++-1:10-2.ppc 5/41
Installing : ncurses-6.4-1.ppc 6/41
Installing : gmp-6.3.0-1.ppc 7/41
Installing : libgomp10-10.3.0-6.ppc 8/41
Running scriptlet: libgomp10-10.3.0-6.ppc 8/41
Installing : libgomp-1:10-2.ppc 9/41
Installing : bzip2-1.0.8-2.ppc 10/41
Installing : libffi-3.4.4-2.ppc 11/41
Installing : libtasn1-4.19.0-1.ppc 12/41
Installing : npth-1.5-1.ppc 13/41
Installing : pcre2-10.40-1.ppc 14/41
Installing : xz-libs-5.4.3-1.ppc 15/41
Installing : libtextstyle-0.21-2.ppc 16/41
Installing : libxml2-2.10.4-1.ppc 17/41
Installing : libiconv-1.17-1.ppc 18/41
Running scriptlet: libiconv-1.17-1.ppc 18/41
add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
add shr.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
add shr4_64.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
/
Upgrading : glib2-2.76.3-2.ppc 19/41
Running scriptlet: gettext-0.21-2.ppc 20/41
Upgrading : gettext-0.21-2.ppc 20/41
Running scriptlet: gettext-0.21-2.ppc 20/41
Running scriptlet: info-7.0.2-1.ppc 21/41
Installing : info-7.0.2-1.ppc 21/41
Running scriptlet: info-7.0.2-1.ppc 21/41
Please check that /etc/info-dir does exist.
You might have to rename it from /etc/info-dir.rpmsave to /etc/info-dir.
Installing : libunistring-1.1-1.ppc 22/41
Installing : libgpg-error-1.45-1.ppc 23/41
Installing : libassuan-2.5.6-1.ppc 24/41
Installing : libgcrypt-1.10.2-1.ppc 25/41
Upgrading : readline-8.2-1.ppc 26/41
Running scriptlet: readline-8.2-1.ppc 26/41
Upgrading : sqlite-3.41.2-1.ppc 27/41
Installing : libksba-1.6.3-1.ppc 28/41
Installing : pinentry-1.0.0-1.ppc 29/41
Running scriptlet: pinentry-1.0.0-1.ppc 29/41
Installing : nettle-3.9.1-1.ppc 30/41
Running scriptlet: nettle-3.9.1-1.ppc 30/41
Installing : gnutls-3.7.9-1.ppc 31/41
Running scriptlet: db-1:5.3.28-1.ppc 32/41
Upgrading : db-1:5.3.28-1.ppc 32/41
Installing : cyrus-sasl-2.1.28-1.ppc 33/41
Running scriptlet: cyrus-sasl-2.1.28-1.ppc 33/41
From cyrus-sasl 2.1.26-5 onwards, symbolic links in /usr/sbin has been removed.
The binaries are shipped in /opt/freeware/sbin. Please use absolute path or
add /opt/freeware/sbin in PATH environment variable to use the binary.
Running scriptlet: openldap-2.5.16-1.ppc 34/41
Group "ldap" does not exist.
Upgrading : openldap-2.5.16-1.ppc 34/41
Running scriptlet: openldap-2.5.16-1.ppc 34/41
Openldap <= 2.4.46-1 overwrites symbolic links created by ibmldap in /usr/bin. From 2.4.46-2 onwards, no files are being shipped in /usr/bin directory.
So updating openldap from any version <= 2.4.46-1 will remove symbolic links created by ibmldap in /usr/bin. One can recreate them using the following command
/opt/IBM/ldap/V6.4/bin/idslink -g -f
Installing : gnupg2-2.4.3-1.ppc 35/41
Running scriptlet: gnupg2-2.4.3-1.ppc 35/41
Cleanup : sqlite-3.15.2-1.ppc 36/41
Running scriptlet: openldap-2.4.40-2.ppc 37/41
Cleanup : openldap-2.4.40-2.ppc 37/41
Cleanup : glib2-2.14.6-2.ppc 38/41
Running scriptlet: gettext-0.19.7-1.ppc 39/41
Ignore the error about AIX-rpm dependency since the older libintl.a is already preserved and will be reverted back
Cleanup : gettext-0.19.7-1.ppc 39/41
Running scriptlet: gettext-0.19.7-1.ppc 39/41
Cleanup : db-4.8.24-3.ppc 40/41
Running scriptlet: db-4.8.24-3.ppc 40/41
Running scriptlet: readline-6.1-2.ppc 41/41
Cleanup : readline-6.1-2.ppc 41/41
Running scriptlet: zlib-1.2.13-1.ppc 41/41
Running scriptlet: gettext-0.21-2.ppc 41/41
Running scriptlet: readline-8.2-1.ppc 41/41
Running scriptlet: openldap-2.5.16-1.ppc 41/41
Group "ldap" does not exist.
Verifying : bzip2-1.0.8-2.ppc 1/41
Verifying : cyrus-sasl-2.1.28-1.ppc 2/41
Verifying : gmp-6.3.0-1.ppc 3/41
Verifying : gnupg2-2.4.3-1.ppc 4/41
Verifying : gnutls-3.7.9-1.ppc 5/41
Verifying : info-7.0.2-1.ppc 6/41
Verifying : libassuan-2.5.6-1.ppc 7/41
Verifying : libffi-3.4.4-2.ppc 8/41
Verifying : libgcrypt-1.10.2-1.ppc 9/41
Verifying : libgpg-error-1.45-1.ppc 10/41
Verifying : libiconv-1.17-1.ppc 11/41
Verifying : libksba-1.6.3-1.ppc 12/41
Verifying : libtasn1-4.19.0-1.ppc 13/41
Verifying : libtextstyle-0.21-2.ppc 14/41
Verifying : libunistring-1.1-1.ppc 15/41
Verifying : libxml2-2.10.4-1.ppc 16/41
Verifying : ncurses-6.4-1.ppc 17/41
Verifying : nettle-3.9.1-1.ppc 18/41
Verifying : npth-1.5-1.ppc 19/41
Verifying : pcre2-10.40-1.ppc 20/41
Verifying : pinentry-1.0.0-1.ppc 21/41
Verifying : xz-libs-5.4.3-1.ppc 22/41
Verifying : zlib-1.2.13-1.ppc 23/41
Verifying : libgcc-1:10-2.ppc 24/41
Verifying : libgcc10-10.3.0-6.ppc 25/41
Verifying : libgomp-1:10-2.ppc 26/41
Verifying : libgomp10-10.3.0-6.ppc 27/41
Verifying : libstdc++-1:10-2.ppc 28/41
Verifying : libstdc++10-10.3.0-6.ppc 29/41
Verifying : db-1:5.3.28-1.ppc 30/41
Verifying : db-4.8.24-3.ppc 31/41
Verifying : gettext-0.21-2.ppc 32/41
Verifying : gettext-0.19.7-1.ppc 33/41
Verifying : glib2-2.76.3-2.ppc 34/41
Verifying : glib2-2.14.6-2.ppc 35/41
Verifying : openldap-2.5.16-1.ppc 36/41
Verifying : openldap-2.4.40-2.ppc 37/41
Verifying : readline-8.2-1.ppc 38/41
Verifying : readline-6.1-2.ppc 39/41
Verifying : sqlite-3.41.2-1.ppc 40/41
Verifying : sqlite-3.15.2-1.ppc 41/41
Upgraded:
db-1:5.3.28-1.ppc gettext-0.21-2.ppc glib2-2.76.3-2.ppc openldap-2.5.16-1.ppc readline-8.2-1.ppc sqlite-3.41.2-1.ppc
Installed:
gnupg2-2.4.3-1.ppc pinentry-1.0.0-1.ppc bzip2-1.0.8-2.ppc cyrus-sasl-2.1.28-1.ppc gmp-6.3.0-1.ppc gnutls-3.7.9-1.ppc info-7.0.2-1.ppc libassuan-2.5.6-1.ppc
libffi-3.4.4-2.ppc libgcrypt-1.10.2-1.ppc libgpg-error-1.45-1.ppc libiconv-1.17-1.ppc libksba-1.6.3-1.ppc libtasn1-4.19.0-1.ppc libtextstyle-0.21-2.ppc libunistring-1.1-1.ppc
libxml2-2.10.4-1.ppc ncurses-6.4-1.ppc nettle-3.9.1-1.ppc npth-1.5-1.ppc pcre2-10.40-1.ppc xz-libs-5.4.3-1.ppc zlib-1.2.13-1.ppc libgcc-1:10-2.ppc
libgcc10-10.3.0-6.ppc libgomp-1:10-2.ppc libgomp10-10.3.0-6.ppc libstdc++-1:10-2.ppc libstdc++10-10.3.0-6.ppc
Complete!
Thanks,
Dan
------------------------------
Dan Continisio
------------------------------
Original Message:
Sent: Thu April 25, 2024 01:02 PM
From: Stephen Ulmer
Subject: gnupg2 Installation on AIX 7.2
Awesome, now I understand where you're at! Also, you probably have a working dnf!
All toolbox packages will (mostly) be installed in /opt/freeware/bin, so you may want to add that to your PATH. For now you can run:
/opt/freeware/bin/dnf install gnupg2
If the DNF repos are configured correctly, this will download the correct package for your version of AIX, and all of it's prerequisites, and install them.
------------------------------
--
Stephen Ulmer
Enterprise Architect
Mainline Information Systems
Original Message:
Sent: Thu April 25, 2024 12:13 PM
From: Dan Continisio
Subject: gnupg2 Installation on AIX 7.2
Hi Stephen,
I should've mentioned I don't have much experience with dnf. So far all I was able to do was untar the dnf bundle and run the install_dnf.sh script. I'm guessing I need to do something else or I did something wrong:
# dnf install gnupg2-2.4.3-1.aix7.1.ppc.rpm
bash: dnf: command not found
I reran the install_dnf.sh script again just in case not everything got installed. However it looks like that was successful:
# ./install_dnf.sh -d
Installing rpm.rte at the latest version ...
This may take several minutes depending on the number of rpms installed...
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
WARNINGS
--------
Problems described in this section are not likely to be the source of any
immediate or serious failures, but further actions may be necessary or
desired.
Already Installed
-----------------
The number of selected filesets that are either already installed
or effectively installed through superseding filesets is 1. See
the summaries at the end of this installation for details.
NOTE: Base level filesets may be reinstalled using the "Force"
option (-F flag), or they may be removed, using the deinstall or
"Remove Software Products" facility (-u flag), and then reinstalled.
<< End of Warning Section >>
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
1 Selected to be installed, of which:
1 Already installed (directly or via superseding filesets)
----
0 Total to be installed
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
rpm.rte 4.15.1.1011 Already installed
Checking whether any of the rpms from dnf_bundle are already installed...
Takes couple of minutes to process.
ca-certificates-2023.2.60-0 is already installed
dnf-4.2.17-32_4 is already installed
dnf-automatic-4.2.17-32_4 is already installed
dnf-data-4.2.17-32_4 is already installed
libcomps-0.1.15-32_1 is already installed
libdnf-0.39.1-32_3 is already installed
libmodulemd-1.5.2-32_2 is already installed
librepo-1.11.0-32_2 is already installed
libsmartcols-2.34-32_1 is already installed
libsolv-0.7.9-32_3 is already installed
libzstd-1.4.4-32_1 is already installed
p11-kit-0.23.22-0 is already installed
p11-kit-tools-0.23.22-0 is already installed
python3-3.9.16-0 is already installed
python3-dnf-4.2.17-32_4 is already installed
python3-gpg-1.13.1-32_3 is already installed
python3-hawkey-0.39.1-32_3 is already installed
python3-libcomps-0.1.15-32_1 is already installed
python3-libdnf-0.39.1-32_3 is already installed
python3-librepo-1.11.0-32_2 is already installed
python3.9-3.9.16-0 is already installed
python3.9-dnf-4.2.17-32_4 is already installed
python3.9-gpg-1.13.1-32_3 is already installed
python3.9-hawkey-0.39.1-32_3 is already installed
python3.9-libcomps-0.1.15-32_1 is already installed
python3.9-libdnf-0.39.1-32_3 is already installed
python3.9-librepo-1.11.0-32_2 is already installed
rpm-python3-4.15.1-32_2 is already installed
rpm-python3.9-4.15.1-32_2 is already installed
zchunk-libs-1.1.4-32_2 is already installed
dnf and all it's dependencies are already installed.
------------------------------
Dan Continisio
Original Message:
Sent: Thu April 25, 2024 09:28 AM
From: Stephen Ulmer
Subject: gnupg2 Installation on AIX 7.2
Dan,
The reason dnf exists is to resolve dependencies. You should use dnf to install gnupg and it will automatically install the prerequisites. Something like:
dnf install gnupg2
Why would you install dnf and then not use it? I'm genuinely curious, because if the course of action isn't obvious to people who have never use Linux, then the documentation might need another sentence or two.
Good luck!
------------------------------
--
Stephen Ulmer
Enterprise Architect
Mainline Information Systems
Original Message:
Sent: Wed April 24, 2024 03:37 PM
From: Dan Continisio
Subject: gnupg2 Installation on AIX 7.2
I'm trying to install gnupg2 on a test box running AIX 7200-05-07-2346 (specifically gnupg2-2.4.3-1.aix7.1.ppc.rpm as that is the highest version available). First I installed the rpms associated with dnf_bundle_aix_71_72_v7. However, when I try to install gnupg2, this is requiring even more dependencies:
# rpm -ivh gnupg2-2.4.3-1.aix7.1.ppc.rpm
error: Failed dependencies:
bzip2 >= 1.0.8 is needed by gnupg2-2.4.3-1.ppc
gettext >= 0.21 is needed by gnupg2-2.4.3-1.ppc
gnutls >= 3.7.2 is needed by gnupg2-2.4.3-1.ppc
info is needed by gnupg2-2.4.3-1.ppc
libassuan >= 2.5.5 is needed by gnupg2-2.4.3-1.ppc
libassuan.a(libassuan.so.0) is needed by gnupg2-2.4.3-1.ppc
libgcrypt >= 1.9.4 is needed by gnupg2-2.4.3-1.ppc
libgcrypt.a(libgcrypt.so.20) is needed by gnupg2-2.4.3-1.ppc
libgnutls.a(libgnutls.so.30) is needed by gnupg2-2.4.3-1.ppc
libgpg-error >= 1.45 is needed by gnupg2-2.4.3-1.ppc
libgpg-error.a(libgpg-error.so.0) is needed by gnupg2-2.4.3-1.ppc
libiconv >= 1.17 is needed by gnupg2-2.4.3-1.ppc
libiconv.a(libiconv.so.2) is needed by gnupg2-2.4.3-1.ppc
libksba >= 1.6.2 is needed by gnupg2-2.4.3-1.ppc
libksba.a(libksba.so.8) is needed by gnupg2-2.4.3-1.ppc
liblber.a(liblber-2.5.so.0) is needed by gnupg2-2.4.3-1.ppc
libldap.a(libldap-2.5.so.0) is needed by gnupg2-2.4.3-1.ppc
libnpth.a(libnpth.so.0) is needed by gnupg2-2.4.3-1.ppc
npth >= 1.5 is needed by gnupg2-2.4.3-1.ppc
openldap >= 2.5.12 is needed by gnupg2-2.4.3-1.ppc
readline >= 8.1 is needed by gnupg2-2.4.3-1.ppc
sqlite >= 3.39.3 is needed by gnupg2-2.4.3-1.ppc
zlib >= 1.2.13 is needed by gnupg2-2.4.3-1.ppc
Firstly, is it even possible to install gnupg2 on AIX 7.2? If so, how would I go about doing this? Is there another bundle of rpms I can install first? Trying to install each one of those dependents one at a time creates a dependency from hell experience.
Thanks,
Dan
------------------------------
Dan Continisio
------------------------------