-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libraries: Update librpm to version 4.16.1.2 #6850
Conversation
Updating the version of
|
I believe this is the commit that breaks our support for read-only reading of various older DBs: rpm-software-management/rpm@8cd161b For example on a clean |
2e65e3c
to
00eba61
Compare
In follow up PRs we can (1) swap the |
Heads up @pmatilai, I am sure we are not using the Our goal is to inspect installed packages and package files across a wide install base (various OS distributions including old versions). Perhaps we should change our code to open the RPM DBs differently? |
00eba61
to
7037e8d
Compare
I rebased this on top of master, which contains a new unit test to assure RPM packages continues to work. |
This updates our librpm to a more recent version. This new version includes support for a RO BDB, where the implementation is included in
rpm
. This needs more testing but it may support parsing older databases without us needing to package a version of berkeley-db. This PR does not use thedbd_ro
backend, but we can make this simple code change in a follow up PR.The revert patch:
0001-Revert-Always-open-and-initialize-the-entire-databas.patch
is required to support older RPM databases (see my comment below).