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: 5 comments 26 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
12 replies
@pmatilai
Comment options

@DemiMarie
Comment options

@jerome-diver
Comment options

@DemiMarie
Comment options

@shanebishop
Comment options

Comment options

You must be logged in to vote
2 replies
@shanebishop
Comment options

@jerome-diver
Comment options

Comment options

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

@pmatilai
Comment options

@DemiMarie
Comment options

@jerome-diver
Comment options

@pmatilai
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
5 participants