[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:55:01 UTC 2020


> mkdir -p var/lib/rpm; cp -r /var/lib/rpm var/lib/rpm; rpm -r $(pwd)/var/lib/rpm

The mistake there is that you're specifying the *database path* to -r, whereas in this example $(pwd) would be the root. Use --dbpath if that's what you want to specify.

-- 
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-699905845
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200928/014db8da/attachment.html>


More information about the Rpm-maint mailing list