Skip to content

How can I find details on the binary representation of the RPM DB? #2211

Answered by pmatilai
shanebishop asked this question in Q&A
Discussion options

You must be logged in to vote

That's the wrong end to be looking at, totally.

'rpm -q' with --queryformat gives you access to every single bit of data in the rpmdb.

The other option is the librpm API, whether through C or Python bindings. The API for database access is largely unchanged in the last 14-15 years.

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@shanebishop
Comment options

Answer selected by pmatilai
Comment options

You must be logged in to vote
1 reply
@DemiMarie
Comment options

Comment options

You must be logged in to vote
9 replies
@pmatilai
Comment options

@rhdesmond
Comment options

@DemiMarie
Comment options

@pmatilai
Comment options

@DemiMarie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants