Never mind. Fixed it myself. Thanks.
[root@crilnim1 ~]# dnf check
dnf-4.2.17-64_3.noarch has missing requires of python3-dnf = 4.2.17-64_3
dnf-4.2.17-64_3.noarch is a duplicate with dnf-4.2.17-64_51.ppc
dnf-automatic-4.2.17-64_3.noarch is a duplicate with dnf-automatic-4.2.17-64_51.ppc
Error: Check discovered 3 problem(s)
[root@crilnim1 dnf]# rpm -e --nodeps dnf-4.2.17-64_3.noarch
[root@crilnim1 dnf]# rpm -e --nodeps dnf-automatic-4.2.17-64_3.noarch
[root@crilnim1 dnf]# rpm -qa | grep python3-dnf
python3-dnf-4.2.17-64_51.ppc
[root@crilnim1 dnf]# ll
total 464
-rw-r----- 1 root system 11450 Jul 26 09:35 dnf-4.2.17-64_51.aix7.3.ppc.rpm
-rw-r----- 1 root system 12291 Jul 26 09:35 dnf-automatic-4.2.17-64_51.aix7.3.ppc.rpm
-rw-r----- 1 root system 197976 Jul 26 09:35 python3-dnf-4.2.17-64_51.aix7.3.ppc.rpm
[root@crilnim1 dnf]# rpm -Fvh *.rpm
[root@crilnim1 dnf]# dnf check
[root@crilnim1 dnf]# dnf check-update
Last metadata expiration check: 16:52:36 ago on Mon Jul 25 16:45:56 CDT 2022.
[root@crilnim1 dnf]# rpm -Va
missing /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/README
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/assert.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/complex.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/curses.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/dbm.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/fcntl.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/libmilter/mfapi.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/limits.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/locale.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/math.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/net/if_arp.h
missing /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/netinet
missing /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/netinet/if_802_5.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/pcap/bpf.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/setjmp.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/stddef.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/stdint.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/stdio.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/stdlib.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/string.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/sys/dir.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/sys/param.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/sys/signal.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/sys/types.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/sys/wait.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/syslimits.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/time.h
S.5....T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/unistd.h
.......T. /opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/10/include-fixed/wchar.h
S.5....T. /opt/freeware/lib/libiconv.a
.M....... g /opt/freeware/etc/ssl/certs/extracted/java/cacerts
.M....... g /opt/freeware/etc/ssl/certs/extracted/openssl/ca-bundle.trust.crt
.M....... g /opt/freeware/etc/ssl/certs/extracted/pem/email-ca-bundle.pem
.M....... g /opt/freeware/etc/ssl/certs/extracted/pem/objsign-ca-bundle.pem
.M....... g /opt/freeware/etc/ssl/certs/extracted/pem/tls-ca-bundle.pem
S.5....T. /opt/freeware/lib/libXrender.a
S.5....T. c /opt/freeware/etc/dnf/dnf.conf
[root@crilnim1 dnf]#
Michael L. Metts (he/him/his)
/ˈmaɪkəɫ ˈɛɫ ˈmɛts/
Principal Data Engineer
CORNERSTONE RESEARCH
1000 El Camino Real, Suite 250
Menlo Park, CA 94025-4327
650.470.7171 direct
650.740.8551 mobile
www.cornerstone.com<http: www.cornerstone.com="">
Original Message:
Sent: 7/26/2022 5:09:00 AM
From: SANGAMESH MALLAYYA
Subject: RE: dnf update leads to dnf-automatic package conflict
Hi Michael,
Actually we don't run any pre uinstall script in dnf and dnf-automatic which could fail.
# rpm -qp --scripts dnf-automatic-4.2.17-64_4.aix7.1.noarch.rpm
postinstall scriptlet (using /bin/sh):
#%systemd_post dnf-automatic.timer
#%systemd_post dnf-automatic-notifyonly.timer
#%systemd_post dnf-automatic-download.timer
#%systemd_post dnf-automatic-install.timer
preuninstall scriptlet (using /bin/sh):
#%systemd_preun dnf-automatic.timer
#%systemd_preun dnf-automatic-notifyonly.timer
#%systemd_preun dnf-automatic-download.timer
#%systemd_preun dnf-automatic-install.timer
postuninstall scriptlet (using /bin/sh):
#%systemd_postun_with_restart dnf-automatic.timer
#%systemd_postun_with_restart dnf-automatic-notifyonly.timer
#%systemd_postun_with_restart dnf-automatic-download.timer
#%systemd_postun_with_restart dnf-automatic-install.timer
# rpm -qp --scripts dnf-4.2.17-64_4.aix7.1.noarch.rpm
preuninstall scriptlet (using /bin/sh):
#%systemd_preun dnf-makecache.timer
postuninstall scriptlet (using /bin/sh):
#%systemd_postun_with_restart dnf-makecache.timer
So, you had the rpm packages from bundled installed manually without using dnf script ?
I am not sure how AIX update would cause this error.
Will check more on this and let you know.
------------------------------
SANGAMESH
------------------------------
Original Message:
Sent: Tue July 26, 2022 02:43 AM
From: Michael Metts
Subject: dnf update leads to dnf-automatic package conflict
Hi Sangamesh,
These are AIX 7.3 LPARs that had a clean install of dnf and the repos when we first built them about 2 months ago. There's not migration here. We just applied a service pack to take it from 7300-00-01-2148 to 7300-00-02-2220. The service pack installed w/o errors. lppchk was run with no errors. updtvpkg was run with no errors.
Then, we ran dnf update and got the things you see in my post. To be clear, these are existing AIX 7.3 systems with dnf running on them having been installed when they were recently built. We did not use the dnf script.
We really want to fix this:
[root@crilnim1 ~]# dnf check
dnf-4.2.17-64_3.noarch has missing requires of python3-dnf = 4.2.17-64_3
dnf-4.2.17-64_3.noarch is a duplicate with dnf-4.2.17-64_51.ppc
dnf-automatic-4.2.17-64_3.noarch is a duplicate with dnf-automatic-4.2.17-64_51.ppc
Error: Check discovered 3 problem(s)
Please advise.
Thanks,
Mike
Michael L. Metts (he/him/his)
/ˈmaɪkəɫ ˈɛɫ ˈmɛts/
Principal Data Engineer
CORNERSTONE RESEARCH
1000 El Camino Real, Suite 250
Menlo Park, CA 94025-4327
650.470.7171 direct
650.740.8551 mobile
www.cornerstone.com</http:>