[Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

seth vidal skvidal at fedoraproject.org
Wed Aug 31 15:49:39 UTC 2011


On Wed, 2011-08-31 at 11:44 +0300, Panu Matilainen wrote:
> This fixes some cases where yum depsolver and rpm >= 4.9.0
> disagree on dependencies on removal (including but not limited
> to the example in BZ 729973), causing "ERROR with transaction check
> vs depsolve" errors. The state-aware file index is currently only
> in rpm.org HEAD but likely to get backported to 4.9.x series.
> 
> Also it requires 'yum clean rpmdb' on first go to wipe previously cached
> data, pointing out another problem: the state-aware files index is dynamic,
> and should not be cached across transactions as a transaction can change
> file states of packages that aren't included in that transaction.



A couple of questions:

does the state-aware file index impact:

rpm -qf?
rpm -ql?
rpm -q --whatprovides /some/file

Does the state-aware index get impacted by --nodocs/--noconf or is it
just for multilib overlays?

I'm trying to understand the impact of this index on what rpm will
return - inclusive of deps.

-sv




More information about the Yum-devel mailing list