[Yum-devel] [PATCH] Get correct rpmdb path from rpm configuration

James Antill james at fedoraproject.org
Thu Jun 28 15:30:19 UTC 2012


On Thu, 2012-06-28 at 08:05 -0400, Mike Miller wrote:
> Fixes failure after install when system stores rpmdb in a non-standard
> location.
> ---
> This is a fix for the error reported here:
> http://lists.baseurl.org/pipermail/yum-devel/2012-March/009110.html
> 
> Reproduced and tested on an up-to-date Fedora 17 by moving /var/lib/rpm
> and adding "%_dbpath /path/to/other/rpmdb" to /etc/rpm/macros.

 Not sure how this can work well with --installroot, also don't see how
it could have worked in 3.2.25. Also seems bad to be using /var/lib/yum
when we aren't using /var/lib/rpm ... not sure of a better solution
though.



More information about the Yum-devel mailing list