[pacman-dev] pacman cold caches performance, too much stat()ing

Nagy Gabor ngaba at bibl.u-szeged.hu
Sat Dec 12 03:26:46 EST 2009

> On Fri, 11 Dec 2009, Nagy Gabor wrote:
> > depends files are read in order to ensure that the upgraded package
> > won't break any "old" dependencies.
> >
> > Example: local foo requires bar=2.0 (which is installed)
> > Then "pacman -S bar" is not allowed (if bar in sync has different
> > version).
> I just noticed that local depends are read even when installing a new 
> package (not upgrading an old one). Why is this for?

By debugging I found one more reason: Conflict checking. %CONFLICTS%
field is also stored in depends file.


More information about the pacman-dev mailing list