[pacman-dev] [PATCH] Add new SharedPkgCache option.

Roman Kyrylych roman.kyrylych at gmail.com
Sun Feb 17 10:37:13 EST 2008


2008/2/16, Chantry Xavier <shiningxc at gmail.com>:
> As it was already mentioned several times, the new -Sc behavior in 3.1 is
> great, but only when the package cache is not shared.
>
> When this option is enabled, -Sc will clean packages that are no longer
> available in any sync db, rather than packages that are no longer in the
> local db. The resulting behavior should be better for shared cache.
>

Great name! :-)

BTW, I've just realized that there might be a problem with "no longer
in any sync db" that, I think was not in 3.0's -Sc:
if SystemA has core,extra,community enabled and SystemB only
core&extra then doing -Sc on SystemB will cleanup community packages
from the shared cache.
I don't know if it's worth to fix this by using a more complicated
(filename comparison, AFAIR) aproach like in 3.0. :-/

-- 
Roman Kyrylych (Роман Кирилич)


More information about the pacman-dev mailing list