Right. That worked!
root@SVR-NIM01 # dnf repolist
repo id repo name
AIX_Toolbox AIX generic repository
AIX_Toolbox_71 AIX 7.1 specific repository
AIX_Toolbox_noarch AIX noarch repository
root@SVR-NIM01 #
Original Message:
Sent: Mon November 18, 2024 08:35 AM
From: Ayappan P
Subject: A libopt error after fresh dnf install
Add "--noscripts" also to the rpm -e command line. You can run "rpm -Va" which will show the affected rpms & files.
------------------------------
Ayappan P
------------------------------
Original Message:
Sent: Mon November 18, 2024 08:19 AM
From: Philip Krab
Subject: A libopt error after fresh dnf install
Thank you for the reply.
Removing all rpms is not an option I'm afraid. I tried to remove the oldies. But when removing rpms like gettext and readline, I receive the following error:
root@SVR-NIM01 # rpm -e readline-6.1-2.ppc gettext-0.10.40-8.ppc --nodeps
/var/tmp/rpm-tmp.p8nqaa[2]: /sbin/install-info: not found.
error: %preun(gettext-0.10.40-8.ppc) scriptlet failed, exit status 127
error: gettext-0.10.40-8.ppc: erase failed
/var/tmp/rpm-tmp.pNnqab[2]: /sbin/install-info: not found.
/var/tmp/rpm-tmp.pNnqab[3]: /sbin/install-info: not found.
error: %preun(readline-6.1-2.ppc) scriptlet failed, exit status 127
error: readline-6.1-2.ppc: erase failed
root@SVR-NIM01 # ls -l /sbin/install-info
lrwxrwxrwx 1 root system 32 Nov 18 08:37 /sbin/install-info -> ../opt/freeware/bin/install-info
root@SVR-NIM01 # ls -l /opt/freeware/bin/install-info
ls: 0653-341 The file /opt/freeware/bin/install-info does not exist.
root@SVR-NIM01 #
Any ideas?
Kind regards,
Philip.
------------------------------
Philip Krab
Original Message:
Sent: Mon November 18, 2024 07:28 AM
From: Ayappan P
Subject: A libopt error after fresh dnf install
Looks like packages are very old and out of sync here ( gettext , readline, bzip2).
If it is okay to remove all the rpms and do a fresh install of dnf/rpms, then you can follow this blog --> https://community.ibm.com/community/user/power/blogs/jan-harris1/2022/05/25/destroyrpms?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9
If not possible, then we have to fix the issues one by one which takes lot of back & forth conversation.
------------------------------
Ayappan P
Original Message:
Sent: Mon November 18, 2024 04:19 AM
From: Philip Krab
Subject: A libopt error after fresh dnf install
root@SVR-NIM01 # echo $LIBPATH
root@SVR-NIM01 # ar -X32_64 -tv /usr/opt/rpm/lib/libintl.a
rwxr-xr-x 0/0 93072 May 28 11:38 2022 libintl.so.8
rwxr-xr-x 0/0 101387 May 28 11:52 2022 libintl.so.8
rw-r----- 0/0 114582 May 28 11:52 2022 libintl.so.1
rw-r----- 0/0 130986 May 28 11:52 2022 libintl.so.1
------------------------------
Philip Krab
Original Message:
Sent: Mon November 18, 2024 04:10 AM
From: RESHMA KUMAR
Subject: A libopt error after fresh dnf install
Do you have LIBPATH exported ?
What is the output of "ar -X32_64 -tv /usr/opt/rpm/lib/libintl.a"?
------------------------------
RESHMA KUMAR
Original Message:
Sent: Mon November 18, 2024 03:59 AM
From: Philip Krab
Subject: A libopt error after fresh dnf install
root@SVR-NIM01 # ar -tuv /opt/freeware/lib/libintl.a
rwxr-xr-x 203/1 114582 Jan 04 21:38 2008 libintl.so.1
rw-r--r-- 203/1 6816 Jan 04 21:38 2008 intl-compat.o
rw-r--r-- 203/1 7632 Jan 04 21:38 2008 bindtextdom.o
rw-r--r-- 203/1 1840 Jan 04 21:38 2008 dcgettext.o
rw-r--r-- 203/1 1768 Jan 04 21:38 2008 dgettext.o
rw-r--r-- 203/1 1877 Jan 04 21:38 2008 gettext.o
rw-r--r-- 203/1 5045 Jan 04 21:38 2008 finddomain.o
rw-r--r-- 203/1 13339 Jan 04 21:38 2008 loadmsgcat.o
rw-r--r-- 203/1 9525 Jan 04 21:38 2008 localealias.o
rw-r--r-- 203/1 3005 Jan 04 21:38 2008 textdomain.o
rw-r--r-- 203/1 10685 Jan 04 21:38 2008 l10nflist.o
rw-r--r-- 203/1 5351 Jan 04 21:38 2008 explodename.o
rw-r--r-- 203/1 23822 Jan 04 21:38 2008 dcigettext.o
rw-r--r-- 203/1 1911 Jan 04 21:38 2008 dcngettext.o
rw-r--r-- 203/1 1866 Jan 04 21:38 2008 dngettext.o
rw-r--r-- 203/1 1979 Jan 04 21:38 2008 ngettext.o
rw-r--r-- 203/1 15990 Jan 04 21:38 2008 plural.o
rw-r--r-- 203/1 6503 Jan 04 21:38 2008 localcharset.o
------------------------------
Philip Krab
Original Message:
Sent: Mon November 18, 2024 03:27 AM
From: Aditya Kamath
Subject: A libopt error after fresh dnf install
Hi Philip,
What is the output of ar -tuv /opt/freeware/lib/libintl.a?
Is it having
# ar -tuv /opt/freeware/lib/libintl.a
rwxr-xr-x 203/1 81819 Oct 20 05:45 2022 libintl.so.8
rwxr-xr-x 203/1 130986 Oct 20 05:45 2022 libintl.so.1
------------------------------
Aditya Kamath