When you install yum on AIX the yum.conf file will have entry for that version of AIX.
As you have migrated to new version of AIX you will have to change the yum.conf file.
Here is sample yum.conf file for AIX 7.2
# cat /opt/freeware/etc/yum/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
plugins=1
[AIX_Toolbox]
name=AIX generic repository
baseurl=https://anonymous:
anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
enabled=1
gpgcheck=0
[AIX_Toolbox_noarch]
name=AIX noarch repository
baseurl=https://anonymous:
anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/
enabled=1
gpgcheck=0
[AIX_Toolbox_72]
name=AIX 7.2 specific repository
baseurl=https://anonymous:
anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/
enabled=1
gpgcheck=0
#
Please change
AIX_Toolbox_71 to AIX_Toolbox_72 and update the baseurl to point ppc-7.2 as mentioned by Sangamesh. ------------------------------
SANKET RATHI
------------------------------
Original Message:
Sent: Thu February 18, 2021 03:37 PM
From: Kenny Ng
Subject: Not able to perfrom yum update
Hi
I recently migrated AIX from 710 to 720. After migration I also ran the updtvpkg command.
During the AIX migration this rpm was updated
root@nim:/opt/freeware/etc/yum> rpm -qa | grep AIX
AIX-rpm-7.2.5.0-14.ppc
Now yum update has the following errors
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package bash.ppc 0:5.0-1 will be updated
---> Package bash.ppc 0:5.0.18-1 will be an update
---> Package ca-certificates.ppc 0:2016.10.7-2 will be updated
---> Package ca-certificates.ppc 0:2020.06.01-1 will be an update
--> Processing Dependency: p11-kit-tools >= 0.23.16-1 for package: ca-certificates-2020.06.01-1.ppc
---> Package curl.ppc 0:7.52.1-1 will be updated
---> Package curl.ppc 0:7.74.0-1 will be an update
--> Processing Dependency: libssh2 >= 1.8.2 for package: curl-7.74.0-1.ppc
--> Processing Dependency: libnghttp2 >= 1.38.0 for package: curl-7.74.0-1.ppc
--> Processing Dependency: krb5-libs >= 1.16.1-4 for package: curl-7.74.0-1.ppc
--> Processing Dependency: libcom_err.a(libcom_err.so) for package: curl-7.74.0-1.ppc
--> Processing Dependency: libk5crypto.a(libk5crypto.so) for package: curl-7.74.0-1.ppc
--> Processing Dependency: libgssapi_krb5.a(libgssapi_krb5.so) for package: curl-7.74.0-1.ppc
--> Processing Dependency: libkrb5.a(libkrb5.so) for package: curl-7.74.0-1.ppc
--> Processing Dependency: libnghttp2.a(libnghttp2.so.14) for package: curl-7.74.0-1.ppc
--> Processing Dependency: libgcc_s.a(shr.o) for package: curl-7.74.0-1.ppc
--> Processing Dependency: libssh2.a(libssh2.so.1) for package: curl-7.74.0-1.ppc
---> Package db.ppc 0:6.2.32-2 will be updated
---> Package db.ppc 0:6.2.38-3 will be an update
---> Package expat.ppc 0:2.2.9-1 will be updated
---> Package expat.ppc 0:2.2.9-2 will be an update
---> Package expect.ppc 0:5.42.1-3 will be updated
---> Package expect.ppc 0:5.45.4-1 will be an update
---> Package gettext.ppc 0:0.19.8.1-5 will be updated
---> Package gettext.ppc 0:0.20.2-1 will be an update
--> Processing Dependency: libtextstyle = 0.20.2-1 for package: gettext-0.20.2-1.ppc
--> Processing Dependency: libgomp >= 8.3.0 for package: gettext-0.20.2-1.ppc
--> Processing Dependency: libtextstyle.a(libtextstyle.so.0) for package: gettext-0.20.2-1.ppc
--> Processing Dependency: libgomp.a(libgomp.so.1) for package: gettext-0.20.2-1.ppc
--> Processing Dependency: libstdc++.a(libstdc++.so.6) for package: gettext-0.20.2-1.ppc
---> Package libgcc.ppc 0:8.3.0-2 will be updated
---> Package libgcc.ppc 1:8-1 will be an update
---> Package libiconv.ppc 0:1.14-22 will be updated
---> Package libiconv.ppc 0:1.16-1 will be an update
---> Package libstdc++.ppc 0:8.3.0-2 will be updated
---> Package libstdc++.ppc 1:8-1 will be an update
---> Package libunistring.ppc 0:0.9.9-2 will be updated
---> Package libunistring.ppc 0:0.9.10-1 will be an update
---> Package libxml2.ppc 0:2.9.9-1 will be updated
---> Package libxml2.ppc 0:2.9.10-1 will be an update
---> Package ncurses.ppc 0:6.1-2 will be updated
---> Package ncurses.ppc 0:6.2-2 will be an update
---> Package openldap.ppc 0:2.4.48-1 will be updated
---> Package openldap.ppc 0:2.4.56-1 will be an update
---> Package pysqlite.ppc 0:1.1.7-2 will be updated
---> Package pysqlite.ppc 0:2.8.3-2 will be an update
---> Package python.ppc 0:2.7.10-1 will be updated
---> Package python.ppc 0:2.7.18-1 will be an update
---> Package python-devel.ppc 0:2.7.10-1 will be updated
---> Package python-devel.ppc 0:2.7.18-1 will be an update
---> Package python-pycurl.ppc 0:7.19.3-1 will be updated
---> Package python-pycurl.ppc 0:7.43.0-1 will be an update
---> Package python-tools.ppc 0:2.7.10-1 will be updated
---> Package python-tools.ppc 0:2.7.18-1 will be an update
---> Package python3.ppc 0:3.7.6-1 will be updated
---> Package python3.ppc 0:3.7.9-1 will be an update
---> Package sqlite.ppc 0:3.28.0-1 will be updated
---> Package sqlite.ppc 0:3.32.3-1 will be an update
---> Package tcl.ppc 0:8.4.7-3 will be updated
---> Package tcl.ppc 0:8.6.8-3 will be an update
---> Package tk.ppc 0:8.4.7-3 will be updated
---> Package tk.ppc 0:8.6.8-3 will be an update
--> Processing Dependency: libXft.a(libXft.so.2) for package: tk-8.6.8-3.ppc
--> Processing Dependency: libfontconfig.a(libfontconfig.so.1) for package: tk-8.6.8-3.ppc
---> Package xz-libs.ppc 0:5.2.4-1 will be updated
---> Package xz-libs.ppc 0:5.2.5-1 will be an update
--> Running transaction check
---> Package fontconfig.ppc 0:2.11.95-4 will be installed
--> Processing Dependency: freetype2 >= 2.0.9 for package: fontconfig-2.11.95-4.ppc
--> Processing Dependency: libfreetype.a(libfreetype.so.6) for package: fontconfig-2.11.95-4.ppc
---> Package krb5-libs.ppc 0:1.16.1-5 will be installed
---> Package libXft.ppc 0:2.3.2-4waixX11 will be installed
--> Processing Dependency: libXrender >= 0.9.5 for package: libXft-2.3.2-4waixX11.ppc
--> Processing Dependency: libXrender.a(libXrender.so.1) for package: libXft-2.3.2-4waixX11.ppc
---> Package libgcc8.ppc 0:8.3.0-4 will be installed
--> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgcc8-8.3.0-4.ppc
---> Package libgomp.ppc 1:8-1 will be installed
--> Processing Dependency: AIX-rpm < 7.2.0.0 for package: 1:libgomp-8-1.ppc
---> Package libgomp8.ppc 0:8.3.0-4 will be installed
--> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgomp8-8.3.0-4.ppc
---> Package libnghttp2.ppc 0:1.41.0-1 will be installed
---> Package libssh2.ppc 0:1.9.0-1 will be installed
---> Package libstdc++8.ppc 0:8.3.0-4 will be installed
--> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libstdc++8-8.3.0-4.ppc
---> Package libtextstyle.ppc 0:0.20.2-1 will be installed
---> Package p11-kit-tools.ppc 0:0.23.16-1 will be installed
--> Processing Dependency: p11-kit = 0.23.16 for package: p11-kit-tools-0.23.16-1.ppc
--> Processing Dependency: libp11-kit.a(libp11-kit.so.0) for package: p11-kit-tools-0.23.16-1.ppc
--> Running transaction check
---> Package freetype2.ppc 0:2.8-1 will be installed
---> Package libXrender.ppc 0:0.9.8-2waixX11 will be installed
---> Package libgcc8.ppc 0:8.3.0-4 will be installed
--> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgcc8-8.3.0-4.ppc
---> Package libgomp.ppc 1:8-1 will be installed
--> Processing Dependency: AIX-rpm < 7.2.0.0 for package: 1:libgomp-8-1.ppc
---> Package libgomp8.ppc 0:8.3.0-4 will be installed
--> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgomp8-8.3.0-4.ppc
---> Package libstdc++8.ppc 0:8.3.0-4 will be installed
--> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libstdc++8-8.3.0-4.ppc
---> Package p11-kit.ppc 0:0.23.16-1 will be installed
--> Finished Dependency Resolution
Error: Package: libgcc8-8.3.0-4.ppc (AIX_Toolbox_71)
Requires: AIX-rpm < 7.2.0.0
Installed: AIX-rpm-7.2.5.0-14.ppc (installed)
AIX-rpm = 7.2.5.0-14
Error: Package: libgomp8-8.3.0-4.ppc (AIX_Toolbox_71)
Requires: AIX-rpm < 7.2.0.0
Installed: AIX-rpm-7.2.5.0-14.ppc (installed)
AIX-rpm = 7.2.5.0-14
Error: Package: 1:libgomp-8-1.ppc (AIX_Toolbox_71)
Requires: AIX-rpm < 7.2.0.0
Installed: AIX-rpm-7.2.5.0-14.ppc (installed)
AIX-rpm = 7.2.5.0-14
Error: Package: libstdc++8-8.3.0-4.ppc (AIX_Toolbox_71)
Requires: AIX-rpm < 7.2.0.0
Installed: AIX-rpm-7.2.5.0-14.ppc (installed)
AIX-rpm = 7.2.5.0-14
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
libgcc-8.3.0-2.ppc has missing requires of AIX-rpm < ('0', '7.2.0.0', None)
libstdc++-8.3.0-2.ppc has missing requires of AIX-rpm < ('0', '7.2.0.0', None)
Is that mean I need to update libgcc8-8.3.0-4.ppc and libstdc++8-8.3.0-4.ppc for AIX version 720?
Is there a way to downgrade AIX-rpm****.ppc ?
root@nim:/opt/freeware/etc/yum> rpm -qa | grep lib
libiconv-1.14-22.ppc
libffi-3.2.1-3.ppc
libstdc++-8.3.0-2.ppc
xz-libs-5.2.4-1.ppc
libunistring-0.9.9-2.ppc
glib2-2.56.1-2.ppc
libgcc-8.3.0-2.ppc
libxml2-2.9.9-1.ppc
zlib-1.2.11-2.ppc
Thanks
Kenny
------------------------------
Kenny Ng
------------------------------
#AIXOpenSource