On Thu, 2005-12-08 at 23:19 +0100, Thomas M Steenholdt wrote:
seth vidal wrote:
>
> why on earth do you think yum should do what it's been told NOT to do?
>
> -sv
the clean functions, to me, represents a way to make yum clean out it's
stored data - it really has nothing to do with whether or not a repo is
enabled, because the clean commands has nothing to do with repo
intervention as such. just cleans out the cache.
But how can I really be sure that ALL the data in that dir is
disposable, especially if the user has disabled the repo in question in
their config.
I err on the side of protecting data. If yum is not told to remove it,
then it won't remove it.
A slightly different take is this - why do we want to waste space on
cache for a repo that is disabled?
b/c the user didn't tell us to act on that repo.
That's why.
-sv