Date: Wed, 26 Nov 2014 07:33:38 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: pkgng local repositories Message-ID: <54758252.9030707@FreeBSD.org> In-Reply-To: <54757ECD.3060502@ze.tum.de> References: <54757ECD.3060502@ze.tum.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pNsQkAk2MPvMtaWWOS3ubrKcPHrH9etIC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 26/11/2014 07:18, Gerhard Schmidt wrote: > I'm trying to setup a repository for some internal packages. >=20 > i've done the packages with pkg create and run pkg repo on the > directory with the packages and setup an nginx to server this directory= =2E >=20 > The problem starts wwith the client side. >=20 > I created the following file in /etc/pkg >=20 > WOS: { > url: "pkg+http://build.intern/packages", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/local/etc/pkg/fingerprints", > enabled: yes > } >=20 > and put a file with the signature ob the used signing key in > /usr/local/etc/pkg/fingerprints >=20 > function: sha256 > fingerprint: > bfb36c02ecff31b573a9837c73dd978ca6d79dc1fc2451334c4cad003bded43f >=20 > When i run pkg update on the client i get the following output >=20 > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > Updating WOS repository catalogue... > Fetching meta.txz: 100% 560 B 0.6k/s 00:01 > pkg: No signature found > pkg: repository WOS has no meta file, using default settings > Fetching digests.txz: 100% 6 KB 5.9k/s 00:01 > pkg: No signature found > pkg: Unable to update repository WOS >=20 > both file are found and downloaded and both files contain a file named > signature. >=20 > What am I doing wrong. Using the wrong mirror type. Try: url: "http://build.intern/packages", mirror_type: NONE, This is the appropriate setting if you have a single repository site, as most private build systems will. pkg+http:// and SRV is appropriate if you have a global network of mirrored package repositories (as the FreeBSD project does) -- so don't copy the standard FreeBSD pkg.conf too slavishly. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --pNsQkAk2MPvMtaWWOS3ubrKcPHrH9etIC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUdYJbXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATlAYQAJjBY0Jq5/czMV+1NKB+OxCM 2v70T94cRI7GomHLm/BOIUcrLeShQXah1EtmkjnZV4uWjiphoCb5P9cNuTe3YEsn rK8oSzm25EX1EUEpkHCPPekKvkvnM6pSsaj4hzQ1LNMGWbBpKsrg2qiDGadEWujs yXs/b1BkMB/4tZ/HNu3B8S23aLMnofzTB5vlH1PbgLEwPNxY4WEC3zHs1HCw0M2z 9VVLTEzxkH4CUNiuzy/cTqDfUcB3KlRZPpisAcPMPr7jRfmF3N3hj985VwqoWWCH 8evCQv1YzBEFRlQl7+ymJPDJAM6FjkNtymd245T2IRvvQGaLs8MzUKgNBeym2Reg hfnQTkGOfAUp8nBUBj1q//fRDjTx8i9c1crMLSqyf2g54ekq8LNLjga8+c/KmWHb DL7+zuK7+SePOZcaYOPTA5Z7RTNU0WTgb5CfIRWKh4uukZgsr6cdEsk50hgs2jtR p4QkUveiHCT4CJy7MrMFG86w43NB3uD5MJELBCdu5jhMoUToLpD41XrK+bSzU82L QBAEIkvMXtzPyf6K0CnlD/MrnmDaOZzNEDyRs/rqSiqS8bW+pwBIm4YOGLEezhlL UkSxgyMyw0r2ZfDxbYPnqDTgCKCAtz5QydaQFu1cPuavX4pwuaZWll92io36vmuA cx07f0uzsXfSpYar7twM =MXvf -----END PGP SIGNATURE----- --pNsQkAk2MPvMtaWWOS3ubrKcPHrH9etIC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54758252.9030707>