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)" && 
DIR="$(podman mount $ID)" && rpm --root "$DIR" --dbpath=/var/lib/rpm -q bash && 
podman rm -f "$ID"` returns `bash-4.4.20-4.el8_6.x86_64` when run on my fedora 
38 system.

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

Message ID: <rpm-software-management/rpm/issues/2426/1464800...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to