From owner-freebsd-pkg@FreeBSD.ORG Tue Sep 16 07:29:29 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C2B193 for ; Tue, 16 Sep 2014 07:29:29 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.156]) by mx1.freebsd.org (Postfix) with ESMTP id 0A09E96 for ; Tue, 16 Sep 2014 07:29:28 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent:sender; b=bA5+kGTsIoWlStQwoGgF5RwILDJpbEzJPkUP2xwJK/yyXYt5WfRdF2TwiZde3U23Fz1wK1Irt4I3 UH6zJ1lg/ecDSU7dSpWZ49QxM4ClkYDwQ1o22FJVFwv7tm4glRPb Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1410852567271414.9916133952379; Tue, 16 Sep 2014 00:29:27 -0700 (PDT) Received: from [134.245.248.23] by mail.zoho.com with HTTP;Tue, 16 Sep 2014 00:29:27 -0700 (PDT) Date: Tue, 16 Sep 2014 09:29:27 +0200 From: kaltheat To: 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> Subject: Re: Re: Re: Disable pkg cache MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Sender: kaltheat@zoho.com X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 07:29:29 -0000 ---- 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