Security Updates -- Are they necessary in Linux for user?
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Tue Feb 6 17:12:32 UTC 2007
Tim wrote:
> Scott van Looy:
>>> Default is not to cache files. Change:
>>> keepcache=0
>>> in /etc/yum.conf
>
>
> Mikkel L. Ellertson:
>> This controls keeping of installed files. but doesn't YUM keep the
>> files it was not able to install even with keepcache=0?
>
> The parameter is called keepcache not keepinstalled, and that seems to
> be how it behaves, despite what it says about it the yum.conf man page:
>
> keepcache
> Either ¡1¢ or ¡0¢. Determines whether or not yum keeps the cache
> of headers and packages after succesful installation. Default
> is ¢1¢ (keep files)
>
> I've observed it to dump files its cached for the next run, so they need
> re-downloading, even if they weren't installed.
>
> NB: Although the default for YUM may be "1" (keep files), the default
> preset in the yum.conf file is "0" (don't keep files).
>
>
I have had just the opposite experience - the files are still in
/var/cache/yum/{repo}/packages. At times, I have used rpm to install
most of the packages.
I wish YUM would install the packages that do not have conflicts,
instead of aborting on the first error...
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
More information about the users
mailing list