[Rpm-maint] [rpm-software-management/rpm] 4.15.1: problem with rpm and --root option (#1372)

Panu Matilainen notifications at github.com
Mon Sep 28 09:51:19 UTC 2020


> Nevertheless currently -r/--root does not work even for queries.

Sure it does, I use it *all the time*.

But read again the long list of caveats I pointed out: it only works given the thing inside the root is of compatible version. For example, if you now try to access a Fedora rawhide installation from a host with rpm 4.15, you'll see an empty database returned as 4.15 doesn't know anything about sqlite db and so just goes to initialize an empty db there instead.

You might be seeing that lazy database initialization in action, it is indeed quite confusing (and broken) behavior.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1372#issuecomment-699904008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200928/784cf8d9/attachment.html>


More information about the Rpm-maint mailing list