[pacman-dev] Sg and Rg options

Nagy Gabor ngaba at bibl.u-szeged.hu
Fri Sep 21 03:56:27 EDT 2007

> 3) I was testing a -R option that only removed package, not group.
> But doing pacman -R xterm with it caused :
> Erreur: could not remove entry 'xterm' from cache
> That's because the cache was only loaded by alpm_db_readgrp, which isn't
> used
> anymore by this -R option, since it doesn't deal with group.
> But remove_commit still tries to remove the package from the cache in any
> cases, with _alpm_db_remove_pkgfromcache.
> This reminds me of another issue I noticed with the cache a while ago, that
> I
> didn't know how to fix either :
> http://www.archlinux.org/pipermail/pacman-dev/2007-July/008693.html

Yes, we should check where we want to load/reload pkgcache to avoid these.

Bye, ngaba

PS: I don't like group cache

SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
This mail sent through IMP: http://horde.org/imp/

More information about the pacman-dev mailing list