[Rpm-maint] [rpm-software-management/rpm] [RFE] Allow RPM to read chained databases (Issue #1885)

Florian Festi notifications at github.com
Tue Jan 18 09:15:21 UTC 2022


Surprisingly this is not the first time this has come up. The answer still is: "yes, with some - but not completely unreasonable - amount of work." The caveat also still is that just reading multiple databases is not enough to create a useful feature. This starts to become interesting when you are trying to change (or more likely - replace) the base database that comes with the system image, chroot, snapshot, whatever. This may break packages in the system/user/local/upper layer(s) RPM DB. So one needs to check for this and - and that's the hard part - offer the user a way to deal with these errors.

So far the the answer to questions like this has been to copy the rpmdb from the base image and apply local changes to that. Yes, it does not allow swapping out the base image. But it does make all the problems that comes with that go away.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1885#issuecomment-1015212884
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/1885/1015212884 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220118/41bcaf58/attachment-0001.html>


More information about the Rpm-maint mailing list