Date: Mon, 7 Dec 2015 13:17:38 +0000 From: Matthew Seaman <matthew@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: pkg does not update the repo catalogue Message-ID: <566586F2.907@freebsd.org> In-Reply-To: <20151207114225.GA41445@c720-r285885-amd64> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?566586F2.907>