Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2014 08:18:37 +0100
From:      Gerhard Schmidt <estartu@ze.tum.de>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   pkgng local repositories
Message-ID:  <54757ECD.3060502@ze.tum.de>

next in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54757ECD.3060502>