Complete Error Message is ” can’t open file /var/opt/freeware/lib/rpm/nameindex.rpm: A system call received a parameter that is not valid “
We sometimes see above error when running the rpm command or installing/updating filesets through SMIT. Reason behind of this error is rpm ” RPM Database Corruption on Machine”
Solution :
1) Rebuild the RPM database
#rpm –rebuilddb
2) Verify you can query the RPM database by using below command
#rpm -qa
