On 20. Oct 2021, at 17:27, Christian Goll
wrote: Hello, tools like singularity (https://github.com/hpcng/github) can be used to create containers of older distributions, like sle12 or centos-7. With tumbleweed this is not possible any more, as the rpm binary from tumbleweed can't create a rpmdb in bdb format and the rpm binaries from sle12 or centos-7 can't open a rpmdb with the ndb format created during the bootstrap process. Also backporting the rpmdb from ndb to bdb seems to be impossible as the dump formats for the databases differ. A solution to this problem could be to to have an additional rpm_bdb binary in tumbleweed, which only is used for bootstrapping older linux distros. Is this sensible?
kind regards, Christian --
Wouldn’t a cooler solution be to have such an older rpm binary in a sle12 container? Alias rpm_bdb to some suitable “podman exec …. rpm” command and away you go Don’t see why we’d want to plumb such old junk into Tumbleweed for this use case