From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 15 14:49:47 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F6CD495 for ; Mon, 15 Sep 2014 14:49:47 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A7250C6A for ; Mon, 15 Sep 2014 14:49:46 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s8FEnZSj069885 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 15 Sep 2014 15:49:36 +0100 (BST) (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s8FEnZSj069885 Authentication-Results: smtp.infracaninophile.co.uk/s8FEnZSj069885; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <5416FC78.4040104@freebsd.org> Date: Mon, 15 Sep 2014 15:49:28 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Disable pkg cache References: <148799807a5.d2f58d1b193594.6509254985329847815@googlemail.com> In-Reply-To: <148799807a5.d2f58d1b193594.6509254985329847815@googlemail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JcH25AAv64ILnArHKecCOv9k9GsGnTFkq" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk 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: Mon, 15 Sep 2014 14:49:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JcH25AAv64ILnArHKecCOv9k9GsGnTFkq Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. Eg: This is on my desktop. You can see there are 4 different packages for xscreensaver in the cache, covering three different versions of the port. The fourth will be due to a change in a dependency triggerring a rebuild by poudriere. # ls -l /var/cache/pkg/xscreensaver* -rw-r--r-- 1 root wheel 3969844 Aug 29 00:49 /var/cache/pkg/xscreensaver-5.29_2-32189fcfe9.txz -rw-r--r-- 1 root wheel 3971808 Aug 5 16:41 /var/cache/pkg/xscreensaver-5.29_2-45c078f215.txz lrwxr-xr-x 1 root wheel 34 Aug 29 10:43 /var/cache/pkg/xscreensaver-5.29_2.txz@ -> xscreensaver-5.29_2-32189fcfe9.txz -rw-r--r-- 1 root wheel 4010252 Aug 31 00:44 /var/cache/pkg/xscreensaver-5.29_3-7cedad5fcc.txz lrwxr-xr-x 1 root wheel 34 Sep 1 10:03 /var/cache/pkg/xscreensaver-5.29_3.txz@ -> xscreensaver-5.29_3-7cedad5fcc.txz -rw-r--r-- 1 root wheel 4008892 Sep 11 01:09 /var/cache/pkg/xscreensaver-5.29_4-45227659e8.txz lrwxr-xr-x 1 root wheel 34 Sep 11 09:22 /var/cache/pkg/xscreensaver-5.29_4.txz@ -> xscreensaver-5.29_4-45227659e8.txz 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 pron= to. Cheers, Matthew --JcH25AAv64ILnArHKecCOv9k9GsGnTFkq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUFvx+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnbK8P/0Bqwn/kf+4kEF+1ZGdPvqcZ 4OBz4vYxHciNAtEbF+CNYly+KaDoB3pgv8DbRLrHUBg+qGZvDPJ/md9huNk/dmWC tQjIycTfEo9axhklDDeX/6MS4Ax0q6IrLuVFLoqWdD6FR6SJ/CKulGKhK2HSBCWR 7A8Vlaj/Eu9DCHBiaJc6H/tuL2CXgJZoUNbSuTbiTERY2+5UtVI/kRRUl9Zz09f5 Fv+6qj8hfxL5U0a1SHQipBtYQKaKLuqvL/zly0HCWb8K4jwNxrhCOUiXz0V1dwln 58YgE4OrU6cy0CIpoOLOV70OnFU4nW7iqmp6pzozfIygcSjU4TFNYZhPAOvtPTLD 0RYJmBPMfopMoFUpmZEG5Txlgr2OymF5paQxLW570abp3bg4EYCjvxNHa6X972pg 1+g+U3tfXHaIg2qIgoZTw3IKkuioS6My0htGXy+5Fs1o27QAjhMNDSlmgSOes85f wFf7HP8+nlRfM3EBkOy1+vO8wsVpcLILzWoauKKKzRqJgWvJewm8OuFLMUt7Ajw2 mBR7cW+ZsMU9hCiqCAWTKv9GVfgWbaRK+11rMl37FHVnSbY3BfavIf608G+5wyn+ xrj/CoF3+MaYuUoS5otMsSV74NVrZ/+VMXFZhPc1s2iyjBvpMsSYyORYP89nfkEB zB4NoYppaJOGxbwopdzi =hBnm -----END PGP SIGNATURE----- --JcH25AAv64ILnArHKecCOv9k9GsGnTFkq--