From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 07:28:14 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 881DC75F for ; Wed, 26 Nov 2014 07:28:14 +0000 (UTC) Received: from io.ze.tum.de (io.ze.tum.de [129.187.39.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C85ACDB for ; Wed, 26 Nov 2014 07:28:13 +0000 (UTC) Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.200]) (authenticated bits=0) by io.ze.tum.de (8.14.5/8.14.5) with ESMTP id sAQ7IbD2048160 for ; Wed, 26 Nov 2014 08:18:37 +0100 (CET) (envelope-from estartu@ze.tum.de) Message-ID: <54757ECD.3060502@ze.tum.de> Date: Wed, 26 Nov 2014 08:18:37 +0100 From: Gerhard Schmidt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: FreeBSD Questions Subject: pkgng local repositories X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2014 07:28:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to setup a repository for some internal packages. 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. The problem starts wwith the client side. I created the following file in /etc/pkg WOS: { url: "pkg+http://build.intern/packages", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/local/etc/pkg/fingerprints", enabled: yes } and put a file with the signature ob the used signing key in /usr/local/etc/pkg/fingerprints function: sha256 fingerprint: bfb36c02ecff31b573a9837c73dd978ca6d79dc1fc2451334c4cad003bded43f When i run pkg update on the client i get the following output 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 both file are found and downloaded and both files contain a file named signature. What am I doing wrong. Regards Estartu - -- - ---------------------------------------------------------- Gerhard Schmidt | E-Mail: schmidt@ze.tum.de Technische Universität München | Jabber: estartu@ze.tum.de WWW & Online Services | Tel: +49 89 289-25270 | PGP-PublicKey Fax: +49 89 289-25257 | on request -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQCVAwUBVHV+zQzx22nOTJQRAQLenQP+JprMHbOKp4GJUOUaWyXk1kb6p1qA3kkE qAnxe06tQMrnhulJlPLvzZ4ClT4Z+3zoC52fGflrEDF5hg678hRHuQfGPn7E12cr u17GkKJqB0qD+7KIPa7YHq+ET+20JoCS6EbQJXM0RaqjktQknOqSJ1sa7FJom9IP gGq5DP/SBHw= =WiYS -----END PGP SIGNATURE-----