From owner-freebsd-pkg@FreeBSD.ORG Tue Sep 16 06:14:38 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 D715D5E0; Tue, 16 Sep 2014 06:14:38 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.156]) by mx1.freebsd.org (Postfix) with ESMTP id B4597A0E; Tue, 16 Sep 2014 06:14:37 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent:sender; b=PlW5bPqnIu0x8NecPx72QXSHhKG5j6VXOhhFPJcrc7c0nfZWlxpAUnhiFzzTEb+GDS8sTeTFu63O 972hFwHdEG68S5PLAUBOcnDy4y6gvIOnj6vPrfPSx9c9ykwM8Lfr Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1410848076599412.4175124797465; Mon, 15 Sep 2014 23:14:36 -0700 (PDT) Received: from [134.245.248.23] by mail.zoho.com with HTTP;Mon, 15 Sep 2014 23:14:36 -0700 (PDT) Date: Tue, 16 Sep 2014 08:14:36 +0200 From: kaltheat To: Matthew Seaman Message-ID: <1487d193309.11bd56190294561.6586089392236130421@googlemail.com> In-Reply-To: <5416FC78.4040104@freebsd.org> References: <148799807a5.d2f58d1b193594.6509254985329847815@googlemail.com> <5416FC78.4040104@freebsd.org> Subject: 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 Cc: freebsd-pkg@freebsd.org 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 06:14:38 -0000 ---- 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. Regards, kaltheat