2023-11-14 01:11 AM
Hi Everyone,
We have NW Server 12.3.1.0 running. On the SA node-x we can't run sosreport.
It's error. "Could not obtain installed package list"
[root@SA-NODE ~]# sosreport
sosreport (version 3.9)
Could not obtain installed package list
2023-11-14 08:36 AM
Most likely your RPM database is corrupted, you can test this on the command line by running
rpm -qa | grep kernel
It will error out if the RPM db is corrupted.
To fix it you can follow these steps:
rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb
2023-11-14 03:14 PM
Hello Kovit,
Please perform the below and let me know if the issue is resolved:
mkdir root/bkp
mv /var/lib/rpm/__db.00* /root/bkp
rpm --quiet -qa
rpm --rebuilddb
Best Regards,
Osama Fayed