A tale of RPMs
https://medium.com/@claudio.criscione/building-minions-5-a-tale-of-rpms-e65e6646a813 [medium.com]
2018-08-07 03:09
If you don’t want to read the following, feel free to skip it. The TL;DR is that it’s an awful idea to read the RPM DB directly without using the RPM libs and I eventually gave up. I did manage to access it without executing the RPM command, but then again I’ve just used the RPM libs.
source: grugq