User Tools

Site Tools


aix:aix_yum_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aix:aix_yum_install [2022/12/05 17:58]
manu [DNF installation on AIX 7.3]
aix:aix_yum_install [2024/04/19 11:38] (current)
manu [DNF error on AIX 7.3]
Line 64: Line 64:
 #  dnf update #  dnf update
 </​cli>​ </​cli>​
-here is yhe full list of installed rpm on AIX 7300-01-01+ 
 +Here is the full list of installed rpm on AIX 7300-01-01
 <​code>​ <​code>​
 AIX-rpm-7.3.1.1-11.ppc bzip2-1.0.8-2.ppc ca-certificates-2021.2.52-3.ppc check-0.13.0-1.ppc curl-7.83.1-1.ppc AIX-rpm-7.3.1.1-11.ppc bzip2-1.0.8-2.ppc ca-certificates-2021.2.52-3.ppc check-0.13.0-1.ppc curl-7.83.1-1.ppc
Line 282: Line 283:
 ===== Yum errors ===== ===== Yum errors =====
  
 +==== YUM check ====
 +
 +=== Error ===
 +
 +Here you can see bad packages, gcc compiled for AIX 7.1 on a AIX 7.2.
 +<cli prompt='#'>​
 +[root@aixdev]/​root#​ yum check
 +1:​libgcc-8-1.ppc has missing requires of AIX-rpm < ('​0',​ '​7.2.0.0',​ None)
 +libgcc8-8.3.0-6.ppc has missing requires of AIX-rpm < ('​0',​ '​7.2.0.0',​ None)
 +1:​libgomp-8-1.ppc has missing requires of AIX-rpm < ('​0',​ '​7.2.0.0',​ None)
 +libgomp8-8.3.0-6.ppc has missing requires of AIX-rpm < ('​0',​ '​7.2.0.0',​ None)
 +1:​libstdc++-8-1.ppc has missing requires of AIX-rpm < ('​0',​ '​7.2.0.0',​ None)
 +libstdc++8-8.3.0-6.ppc has missing requires of AIX-rpm < ('​0',​ '​7.2.0.0',​ None)
 +Error: check all
 +[root@aixdev]/​root#​
 +</​cli>​
 +
 +Or
 +<cli prompt='#'>​
 +[root@aixdev]/​root#​ yum check
 +Could not load program /​opt/​freeware/​bin/​python2:​
 +        Dependent module libstdc++.a(libstdc++.so.6) could not be loaded.
 +Could not load module libstdc++.a(libstdc++.so.6).
 +System error: No such file or directory
 +</​cli>​
 +
 +<cli prompt='#'>​
 +[root@aixdev]/​root#​ oslevel -s
 +7200-05-04-2220
 +[root@aixdev]/​root#​ rpm -ql libgcc8
 +/​opt/​freeware/​lib/​gcc/​powerpc-ibm-aix7.1.0.0
 +...
 +</​cli>​
 +
 +=== Resolution ===
 +
 +Reinstall force all conflicted packages
 +<cli prompt='#'>​
 +[root@aixdev]/​mnt/​rpm/​ibm/​latest/​ppc-7.2#​ rpm -Uhv libstdcplusplus-10-2.aix7.2.ppc.rpm libgcc-10-2.aix7.2.ppc.rpm libgomp-10-2.aix7.2.ppc.rpm libgcc10-10.3.0-6.aix7.2.ppc.rpm libstdcplusplus10-10.3.0-6.aix7.2.ppc.rpm libgomp10-10.3.0-6.aix7.2.ppc.rpm
 +[root@aixdev]/​mnt/​rpm/​ibm/​latest/​ppc-7.2#​ rpm --force -ivh libgcc8-8.3.0-6.aix7.2.ppc.rpm libgomp8-8.3.0-6.aix7.2.ppc.rpm libstdcplusplus8-8.3.0-6.aix7.2.ppc.rpm
 +</​cli>​
 +
 +Yum check is now OK
 ==== popt ==== ==== popt ====
  
Line 828: Line 872:
  
 This issue was fixed in gettext 0.19.8.1-2 release where the backed-up libintl.a was removed, so it cannot replace the latest libintl.a file. This issue was fixed in gettext 0.19.8.1-2 release where the backed-up libintl.a was removed, so it cannot replace the latest libintl.a file.
 +
 +===== DNF error on AIX 7.3 =====
 +
 +<cli>
 +# updtvpkg
 +warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
 +</​cli>​
 +
 +Convert the db from bdb_ro to sqlite before running updtvpkg
 +<cli>
 +# rpmdb -–rebuilddb
 +</​cli>​
 +
 +https://​www.ibm.com/​support/​pages/​node/​7113626
aix/aix_yum_install.1670259536.txt.gz · Last modified: 2022/12/05 17:58 by manu