On 12/15/21 16:51, Richard W.M. Jones wrote:
The bottom line is still that it's librpm's problem now to
handle any
guest rpmdb, no matter how ancient (well, at least RHEL >= 5). If you
have the latest rpm installed and it still doesn't work then it could
be a bug in librpm, although I'm pretty sure I tested this case.
The latest "rpm" package in Fedora 34, rpm-4.16.1.3-1.fc34:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1726304
built on 22 Mar 2021, does not (cannot) have the fix. The upstream rpm
fix is:
https://github.com/rpm-software-management/rpm/commit/ea2754b4f14e0a195f4...
which is between tags "rpm-4.17.0-alpha" and "rpm-4.17.0-beta1", and
has
commit date 2021-06-11. The fix has been backported to RHEL-9 (1965147):
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1824746
but not to Fedora 34.
Fedora 34 is supposed to be maintained until 2022-05-17, according to
Wikipedia, so this is definitely a Fedora bug. I guess I should update
my workstation to Fedora 35 regardless; that should be faster.
(Fedora 35 has rpm-4.17.0-1.fc35, so it should have the fix.)
Thanks
Laszlo