From owner-freebsd-current@freebsd.org Mon Dec 7 13:17:59 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85F6699AD73 for ; Mon, 7 Dec 2015 13:17:59 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F80B1A43 for ; Mon, 7 Dec 2015 13:17:59 +0000 (UTC) (envelope-from matthew@freebsd.org) 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.15.2/8.15.2) with ESMTPSA id tB7DHi5n061143 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 7 Dec 2015 13:17:45 GMT (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk tB7DHi5n061143 Authentication-Results: smtp.infracaninophile.co.uk/tB7DHi5n061143; dkim=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 Subject: Re: pkg does not update the repo catalogue To: freebsd-current@freebsd.org References: <20151207085043.GA3047@c720-r285885-amd64> <56655C00.3000709@freebsd.org> <20151207110420.GA1590@c720-r285885-amd64> <56656E1C.9030905@infracaninophile.co.uk> <20151207114225.GA41445@c720-r285885-amd64> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <566586F2.907@freebsd.org> Date: Mon, 7 Dec 2015 13:17:38 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151207114225.GA41445@c720-r285885-amd64> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oOB47dvTTjCNMG8vegsU2bVMLpFW2cgBD" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 13:17:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --oOB47dvTTjCNMG8vegsU2bVMLpFW2cgBD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/07/15 11:42, Matthias Apitz wrote: > Maybe I wasn't clear enough. I copied only the packages to the new > system (my netbook) some weeks ago, and created the catalogue with >=20 > # pkg repo /usr/PKGDIR.20150726 >=20 > and installed the packages; Today I built 8 packages more, copied them > over too and was (may be in error) expecting to add these 8 new package= s to > the catalogue with 'pkg update -f' >=20 > Seems that I just have to reuse 'pkg repo ....' Yeah. That would explain what you were seeing. Yes, you do have to rebuild the repo catalogue on your repo server when you change the repo contents. Running 'pkg update -f' or similar won't cause pkg(8) to be run on the repo side -- the repo is a read-only source of static content[*] as far as the client pkg(8) can interact with it. Cheers, Matthew [*] Well, except possibly for the repo.conf HTTP mirroring scheme which is intended to allow load balancing amongst a set of repo servers by -- possibly dynamically -- generating a list of the available servers in preference order. --oOB47dvTTjCNMG8vegsU2bVMLpFW2cgBD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWZYbyAAoJEABRPxDgqeTnc2QP/2YSdsvS3ZnXdYTc2mxHCGTY FCGHhjiFOzp1buME+UjVRmiCsp9zp01yZ5H8g4z8aKvqZGNk0dq9m58LrnkTURxC 2bfho8aKDTeyUIWPcobur/eqns9HGm+wXJxJP9I/tyQNXKG+S9MB9FpEI4lLzIQT dJE8mh004a9GzXWMox+WHoatxR+nxRnOtqPxSvZl57jx7I7xglnPtKMABJlatXVi F/y0msqT9Ydh/PqQvFm2feTqzESgu2mWPeD1Fn8MZuoI7GLK6JZU3ohdb/VQswEe EmObGpNQX5ZjghIE8fBuGjr16aCbhE9XHpSqyqVsOzHmji/uk6RU9L0FRy3Qpcr0 ojL80tE8vYKpWQCPqKClEbrRGJgML2e2v7JmPEWMnPyQ6ovs8elhHip4R33f14+e OoJZeTkxZYwOyFBF8s/lCQVmHG8bBzRdPriAdsi1NAfCJaM9yrWlBSCrhirQXq3u piJlaxwQ6X6GfnvzMLKaYiVy2ghh+/AzGI1d9I0x7LoDWB+8LHZ/HDUTh0JIyD4n e1wH2xenbStCN6oXtEVhR0B6oY5Rhbt50UivFcjKJq0XX9/VWxj6GkMoFBLYVfMV Tpxj5xYHdpv3eiF9QJ+UU9ykqlSCNzryDWY2sdYo4Ba/Yhy7nT0ejnxjLsu1KkNK vWHOzd85MiYd3H5ovX1N =qGZn -----END PGP SIGNATURE----- --oOB47dvTTjCNMG8vegsU2bVMLpFW2cgBD--