Originally posted by: Daniel.Stachowiak
Hello,
After upgrade to TL5 we could see missing packages in rpmdb.
Before upgrade we could see the packages in rpm v3:
# rpm --dbpath /opt/IBM/GSMA/rpmdb -qa
gsmaSharedUtilities-10.0.1.0-9.noarch
gsma_TDW_Reporter-10.1.0.3-1.noarch
gsma_LDSDB2-10.1.0.3-6.noarch
After update we couldn't see any installed packages (version of rpm v4):
# rpm --dbpath /opt/IBM/GSMA/rpmdb -qa
there is no output
# lslpp -l | grep -i rpm
rpm.rte 4.13.0.3 COMMITTED RPM Package Manager
rpm.rte 4.13.0.3 COMMITTED RPM Package Manager
GSMA support advised to follow this instruction, but this is applicable to rpm version 4.13.0.1/2
As you must have seen in the shared forum post, there. was a procedure for migration of data:The steps as below:
1. Download the ifix with the following link:
ftp://testcase.software.ibm.com/fromibm/aix/IJ04082s2a.180215.epkg
sftp anonymous@testcase.software.ibm.com://fromibm/aix/IJ04082s2a.180215.epkg
2. Compress the package: compress IJ04082s2a.180215.epkg
3. Apply the package: emgr -e IJ03033m1a.180116.epkg.Z
4. Create the virtual packages: # /tmp/create_virt_tmppath.sh <db path>
5. Install the virtual packages: # /tmp/install_virtuals_tmppath.sh <db path>The scripts were included as a part of the ifix
IF the fix is not applicable to your RPM version, I recommend you to open PMR to AIX Support and ask what is the procedure for migration of RPM database for your PRM 4.13.0.3
Is there any way to 'migrate' rpm database from version 3 to version 4 to be able to see installed packages?
#AIX-Open-Source-Software#AIXOpenSource