Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 09:29:27 +0200
From:      kaltheat <kaltheat@googlemail.com>
To:        <freebsd-pkg@freebsd.org>
Subject:   Re: Re: Re: Disable pkg cache
Message-ID:  <1487d5db8b1.af034ce6300807.6233164589363762316@googlemail.com>
In-Reply-To: <1487d193309.11bd56190294561.6586089392236130421@googlemail.com>
References:  <148799807a5.d2f58d1b193594.6509254985329847815@googlemail.com> <5416FC78.4040104@freebsd.org> <1487d193309.11bd56190294561.6586089392236130421@googlemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

---- On Tue, 16 Sep 2014 08:14:36 +0200 kaltheat  wrote ---- 
>---- On Mon, 15 Sep 2014 16:49:28 +0200 Matthew Seaman wrote ---- 
>>On 09/15/14 14:54, kaltheat wrote: 
>>> is it possible to disable local caching of packages? 
>>> I have my own local repo and don't want to "pollute" each server in my environment with pkg cache. 
>> 
>>Not -- the cache can't be disabled. However, your concern about 
>>'pollution' is misplaced. The package cache won't overwrite package 
>>foo-1.0.0.txz from repoA with foo-1.0.0.txz from repoB --- it knows 
>>exactly which repository each cached package came from and it can keep 
>>multiple copies from separate sources simultaneously. The only reason 
>>it would supercede any package is when it sees there is an update 
>>available in the repository catalogue with a different checksum. Even 
>>then it keeps the older version of the package n hand. 
> 
>Well, what I meant with "pollution" was: 
>I already have all packages on the package building server. I don't need packages locally on each server. 'pkg clean' would be a workaround, but it would be fine if pkg can be configured to not create a cache at all ... 
>So I need to file a feature request, right? 
> 
>>PS. If you're worried about the cache getting too big, that's not 
>>usually a problem and even if it is, 'pkg clean' will sort thing out pronto. 
> 
>To me it's a kind of aesthetic concern: I don't want to have redundancies if they aren't necessary. 
> 

Ah, they will work on it ...

https://github.com/freebsd/pkg/issues/547




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1487d5db8b1.af034ce6300807.6233164589363762316>