Re: [Rpm-maint] [rpm-software-management/rpm] Newer rpm can't read older rpm database (Issue #2426)

2023-03-10 Thread Craig Andrews
Closed #2426 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2426#event-8723256067 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint ma

Re: [Rpm-maint] [rpm-software-management/rpm] Newer rpm can't read older rpm database (Issue #2426)

2023-03-10 Thread Craig Andrews
I figured out my problem: [In fedora 36, the rpm dbpath changed from `/var/lib/rpm` to `/usr/lib/sysimage/rpm`](https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr). To demonstrate the fact that using the correct dbpath works: `ID="$(podman create registry.access.redhat.com/ubi8/ubi:latest)"

[Rpm-maint] [rpm-software-management/rpm] Newer rpm can't read older rpm database (Issue #2426)

2023-03-10 Thread Craig Andrews
While debugging https://github.com/OpenSCAP/openscap/issues/1942 I discovered that a newer version of rpm cannot read older rpm databases. I expected this to work, as I thought rpm was backwards compatible in this way and I haven't been able to find documentation that says otherwise. I did some