When I do a yum list installed and I get a list of the installed packages for the local system.
However, I have no idea where this data is coming from, is it coming from the
/var/lib/rpm ,
/var//lib/yum/yumdb
or perhaps somewhere else? Is there a switch I could use to change the db, or to point to a different yumdb/dir?
I've got a drive from a separate/older system that I'd like to mount/examine to see what packages where installed with yum on that drive...
the "installroot" switch appears to be used to chroot into a separate location for the yum.repos.d" - but I could be wrong..