Stephen,
I just checked, and it only omits LDAP. The gettext and libz plus
their dependencies are still there.
I can't check atm if the one from sudo.ws has no other
dependencies. All my systems have sudo already installed. I was hoping
someone could post confirmation.
Thanks.
On Tue, May 17, 2022 at 03:31:22PM +0000, Stephen Ulmer via IBM Community wrote:
> The toolbox also has ansudo_noldap package, which required less junk.
> -- Stephen L. Ulmer
> Enterprise Architect Mainline Information Systems
> (m) 352-870-8649
>
>
>
>
>
>
> -------------------------------------------
> Original Message:
> Sent: 5/17/2022 10:42:00 AM
> From: Russell Adams
> Subject: RE: Sudo Dependency Error
>
> Consider using the RPM from the sudo website. They provide pre-compiled binaries and it's just one file.
>
>
https://www.sudo.ws/getting/packages/>
> I just downloaded sudo-1.9.10-1.aix71.rpm, and viewing the requirements. I think they are all present.
>
>
> % rpm -qp sudo-1.9.10-1.aix71.rpm --requires
> error: cannot open Packages database in /var/lib/rpm
> /bin/sh
> /bin/sh
> /bin/sh
> config(sudo) = 1.9.10-1
> libc.a(shr.o)
> libpam.a(shr.o)
> libpthread.a(shr_xpg5.o)
> librtl.a(shr.o)
> libs.a(shr.o)
> libsudo_util.so
> libsudo_z.so
> rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>
>
>
> Comparing the requirements from the toolbox, sudo-1.9.5p2-1.aix6.1.ppc.rpm:
>
>
>
> % rpm -qp sudo-1.9.5p2-1.aix6.1.ppc.rpm --requires
> error: cannot open Packages database in /var/lib/rpm
> /bin/sh
> config(sudo) = 1.9.5p2-1
> gettext >= 0.19.8.1
> libc.a(shr.o)
> libc.a(shr_64.o)
> libintl.a(libintl.so.8)
> liblber.a(liblber-2.4.so.2)
> libldap.a(libldap-2.4.so.2)
> libpam.a(shr.o)
> libpam.a(shr_64.o)
> libpthread.a(shr_xpg5.o)
> libpthread.a(shr_xpg5_64.o)
> librtl.a(shr.o)
> libs.a(shr.o)
> libs.a(shr_64.o)
> libsudo_util.so
> libz.a(libz.so.1)
> openldap >= 2.4.48-1
> rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> zlib >= 1.2.11-1
>
>
>
> The gettext, zlib/libz, and ldap requirements are what cause the dependency spam. Ideally the RPM from sudo.ws is a single file with no other dependencies.
>
> Also consider donating to OSS projects which provide tools you require in production. If you want an AIX native solution fully supported by IBM, use SSH keys optionally bound to commands instead of sudo.
>
>
>
>
>
> ------------------------------
> ========================
> Russell Adams
>
https://adamssystems.nl/> ========================
> ------------------------------
> -------------------------------------------
> Original Message:
> Sent: Mon May 16, 2022 03:34 AM
> From: PANTAZIS PANTAZI
> Subject: Sudo Dependency Error
>
> Dears,
>
> Because I have the same dependency issue but do not have the option of DNF due to the security (no internet access allowed), Can someone please let me know which filesets get installed after a successful sudo installation on AIX 7.2, so I download and install all together ?
>
> Regards,
> Pantazis
>
> ------------------------------
> PANTAZIS PANTAZI
> ------------------------------
>
> Original Message:
> Sent: Wed May 04, 2022 10:10 AM
> From: Andrew Berry
> Subject: Sudo Dependency Error
>
> Thank you so much for your help, managed to get dnf installed using these instructions and then sudo installed and working.
>
> ------------------------------
> Andrew Berry
>
> Original Message:
> Sent: Fri April 29, 2022 12:42 AM
> From: Jan Harris
> Subject: Sudo Dependency Error
>
> --> DNF is now available on AIX Toolbox
>
https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox <https: community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox="">
>
> --> Creating local repo with DNF and AIX Toolbox Media Image
>
https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/02/09/creating-local-repo-with-dnf-and-aix-toolbox-media?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9 <https: community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/02/09/creating-local-repo-with-dnf-and-aix-toolbox-media?communitykey="10c1d831-47ee-4d92-a138-b03f7896f7c9">
>
> ------------------------------
> Jan Harris
> AIX Development Support (Liaison to the AIX Toolbox for Open Source)
> IBM (Contract)
> Austin TX
>
> Original Message:
> Sent: Thu April 28, 2022 10:52 AM
> From: Andrew Berry
> Subject: Sudo Dependency Error
>
> Currently trying to install sudo and working my way through the dependency nightmares.
>
> # oslevel -s
> 7100-03-07-1614
>
> Got to the point where I was trying to install libiconv and gettext and they were saying they were dependencies of each other.
>
> Following another post on this regarding the libgcc versions but I think I have this correct.
>
> # rpm -qa | grep libg
> libgcc8-8.3.0-6.ppc
> libgcc-8-1.ppc
>
> Any thoughts on how to resolve?
>
> Thanks,
>
> Andrew
>
> ------------------------------
> Andrew Berry
> ------------------------------
>
>
> Reply to Sender :
https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6211&MID=256187&SenderKey=91ea3d64-e816-4edc-89f4-dfae901a416d>
> Reply to Discussion :
https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6211&MID=256187>
>
>
> You are subscribed to "AIX Open Source" as
Russell.Adams@AdamsSystems.nl. To change your subscriptions, go to
http://community.ibm.com/community/user/preferences?section=Subscriptions. To unsubscribe from this community discussion, go to
http://community.ibm.com/HigherLogic/eGroups/Unsubscribe.aspx?UserKey=c23dfccc-9910-40ae-beeb-fdcbced5bf1f&sKey=KeyRemoved&GroupKey=af5415f8-d8d8-4ac4-b3cb-08a8da184054.------------------------------------------------------------------
Russell Adams
Russell.Adams@AdamsSystems.nlPrincipal Consultant Adams Systems Consultancy
https://adamssystems.nl/
Original Message:
Sent: 5/17/2022 11:31:00 AM
From: Stephen Ulmer
Subject: RE: Sudo Dependency Error
The toolbox also has ansudo_noldap package, which required less junk.
--
Stephen L. Ulmer
Enterprise Architect
Mainline Information Systems
(m) 352-870-8649
Original Message:
Sent: 5/17/2022 10:42:00 AM
From: Russell Adams
Subject: RE: Sudo Dependency Error
Consider using the RPM from the sudo website. They provide pre-compiled binaries and it's just one file.
https://www.sudo.ws/getting/packages/
I just downloaded sudo-1.9.10-1.aix71.rpm, and viewing the requirements. I think they are all present.
% rpm -qp sudo-1.9.10-1.aix71.rpm --requires
error: cannot open Packages database in /var/lib/rpm
/bin/sh
/bin/sh
/bin/sh
config(sudo) = 1.9.10-1
libc.a(shr.o)
libpam.a(shr.o)
libpthread.a(shr_xpg5.o)
librtl.a(shr.o)
libs.a(shr.o)
libsudo_util.so
libsudo_z.so
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Comparing the requirements from the toolbox, sudo-1.9.5p2-1.aix6.1.ppc.rpm:
% rpm -qp sudo-1.9.5p2-1.aix6.1.ppc.rpm --requires
error: cannot open Packages database in /var/lib/rpm
/bin/sh
config(sudo) = 1.9.5p2-1
gettext >= 0.19.8.1
libc.a(shr.o)
libc.a(shr_64.o)
libintl.a(libintl.so.8)
liblber.a(liblber-2.4.so.2)
libldap.a(libldap-2.4.so.2)
libpam.a(shr.o)
libpam.a(shr_64.o)
libpthread.a(shr_xpg5.o)
libpthread.a(shr_xpg5_64.o)
librtl.a(shr.o)
libs.a(shr.o)
libs.a(shr_64.o)
libsudo_util.so
libz.a(libz.so.1)
openldap >= 2.4.48-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
zlib >= 1.2.11-1
The gettext, zlib/libz, and ldap requirements are what cause the dependency spam. Ideally the RPM from sudo.ws is a single file with no other dependencies.
Also consider donating to OSS projects which provide tools you require in production. If you want an AIX native solution fully supported by IBM, use SSH keys optionally bound to commands instead of sudo.
------------------------------
========================
Russell Adams
https://adamssystems.nl/
========================
------------------------------
Original Message:
Sent: Mon May 16, 2022 03:34 AM
From: PANTAZIS PANTAZI
Subject: Sudo Dependency Error
Dears,
Because I have the same dependency issue but do not have the option of DNF due to the security (no internet access allowed), Can someone please let me know which filesets get installed after a successful sudo installation on AIX 7.2, so I download and install all together ?
Regards,
Pantazis
------------------------------
PANTAZIS PANTAZI
Original Message:
Sent: Wed May 04, 2022 10:10 AM
From: Andrew Berry
Subject: Sudo Dependency Error
Thank you so much for your help, managed to get dnf installed using these instructions and then sudo installed and working.
------------------------------
Andrew Berry
Original Message:
Sent: Fri April 29, 2022 12:42 AM
From: Jan Harris
Subject: Sudo Dependency Error
--> DNF is now available on AIX Toolbox
https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox
--> Creating local repo with DNF and AIX Toolbox Media Image
https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/02/09/creating-local-repo-with-dnf-and-aix-toolbox-media?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9
------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin TX
Original Message:
Sent: Thu April 28, 2022 10:52 AM
From: Andrew Berry
Subject: Sudo Dependency Error
Currently trying to install sudo and working my way through the dependency nightmares.
# oslevel -s
7100-03-07-1614
Got to the point where I was trying to install libiconv and gettext and they were saying they were dependencies of each other.
Following another post on this regarding the libgcc versions but I think I have this correct.
# rpm -qa | grep libg
libgcc8-8.3.0-6.ppc
libgcc-8-1.ppc
Any thoughts on how to resolve?
Thanks,
Andrew
------------------------------
Andrew Berry
------------------------------
</https:></https:>