Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2021 14:00:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 254434] ports-mgmt/pkg pkg: cannot parse fingerprints: error while parsing <unknown>: line: 1, column: 0 - 'key must begin with a letter', character: '-'
Message-ID:  <bug-254434-32340-HCh4J6Vp8T@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254434-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254434-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody)
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 254434: ports-mgmt/pkg pkg: cannot parse fingerprints: error while pars=
ing
<unknown>: line: 1, column: 0 - 'key must begin with a letter', character: =
'-'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254434



--- Description ---
For example, from
<https://codeberg.org/pkgbase/website/issues/3#issuecomment-183652>:=20

root@mowa219-gjp4-8570p:~ # pkg update
Updating FreeBSD repository catalogue...
Fetching packagesite.txz: 100%	  6 MiB   6.4MB/s    00:01=20=20=20=20
pkg: cannot parse fingerprints: error while parsing <unknown>: line: 1, col=
umn:
0 - 'key must begin with a letter', character: '-'
Processing entries: 100%
Fetching provides database: 100%   14 MiB   7.3MB/s    00:02=09
Extracting database....success
FreeBSD repository update completed. 30278 packages processed.
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
root@mowa219-gjp4-8570p:~ #=20

----

% ls -hlrt /usr/local/etc/pkg/repos/
total 1
-rw-r--r--  1 root  wheel    30B  1 Feb  2019 FreeBSD.conf
-rw-r--r--  1 root  wheel   138B 12 Jan 14:25 poudriere.conf
-rw-r--r--  1 root  wheel   208B  7 Mar 01:41 base.conf
-rw-------  1 root  wheel    11M  7 Mar 10:00 bectl.core
% cat /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: {
    priority: 3,
}
% cat /usr/local/etc/pkg/repos/poudriere.conf
poudriere: {
	url: "file:///usr/local/poudriere/data/packages/main-default",
	enabled: yes,
	priority: 4,
	CONSERVATIVE_UPGRADE: false,
}
% cat /usr/local/etc/pkg/repos/base.conf
# FreeBSD pkgbase repo

FreeBSD-base: {
  url: "https://alpha.pkgbase.live/current/${ABI}/latest",
  signature_type: "pubkey",
  pubkey: "/usr/share/keys/pkg/trusted/alpha.pkgbase.live.pub",
  enabled: yes
}
% cat /etc/pkg/FreeBSD.conf=20
# $FreeBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254434-32340-HCh4J6Vp8T>