Re:Red Hat announces no-cost RHEL for small production envir...
by pabs3 on Wednesday January 20, 2021 @11:58PM
(#25855598)
The dpkg roadmap mentions a metadata tracking proposal, which seems likely to provide something like the database that you want.
https://wiki.debian.org/Teams/Dpkg/RoadMap https://wiki.debian.org/Teams/Dpkg/Spec/MetadataTracking
Personally I vastly prefer the flat file version, it is much easier to inspect and modify and maybe less likely to get corrupted.
Re:Red Hat announces no-cost RHEL for small production envir...
by m463 on Wednesday January 20, 2021 @11:50PM
(#25855548)
I think a database to speed things up would be ok, as long as the flat text files were the truth.
I wish Linus had veto'd the binary logfiles of systemd.
Re:Red Hat announces no-cost RHEL for small production envir...
by derekp7 on Thursday January 21, 2021 @12:50AM
(#25855919)
I think the best of both worlds would be an sqlite DB (which is extremely reliable) along with a rotated export to a flat file whenever there are modifications.
Second, it would be nice if the package manager had an actual database behind it capturing everything that the rpmdb does. Instead you have a flat file with some of the data in it, and log files with other data (where the log files can be rotated out eventually). I want to be able to do things like "rpm -qa --last" on Debian. Or "yum history".
How difficult would it be to write a version of the apt suite of tools that uses an sqlite db? Would that break other items in Debian? It sounds like an interesting project to take on.