b***@freebsd.org
2021-03-20 14:00:37 UTC
Bugzilla Automation <***@FreeBSD.org> has asked freebsd-pkg (Nobody)
<***@FreeBSD.org> for maintainer-feedback:
Bug 254434: ports-mgmt/pkg pkg: cannot parse fingerprints: error while parsing
<unknown>: line: 1, column: 0 - 'key must begin with a letter', character: '-'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254434
--- Description ---
For example, from
<https://codeberg.org/pkgbase/website/issues/3#issuecomment-183652>:
***@mowa219-gjp4-8570p:~ # pkg update
Updating FreeBSD repository catalogue...
Fetching packagesite.txz: 100% 6 MiB 6.4MB/s 00:01
pkg: cannot parse fingerprints: error while parsing <unknown>: line: 1, column:
0 - 'key must begin with a letter', character: '-'
Processing entries: 100%
Fetching provides database: 100% 14 MiB 7.3MB/s 00:02
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.
***@mowa219-gjp4-8570p:~ #
----
% 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
# $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
}
%
<***@FreeBSD.org> for maintainer-feedback:
Bug 254434: ports-mgmt/pkg pkg: cannot parse fingerprints: error while parsing
<unknown>: line: 1, column: 0 - 'key must begin with a letter', character: '-'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254434
--- Description ---
For example, from
<https://codeberg.org/pkgbase/website/issues/3#issuecomment-183652>:
***@mowa219-gjp4-8570p:~ # pkg update
Updating FreeBSD repository catalogue...
Fetching packagesite.txz: 100% 6 MiB 6.4MB/s 00:01
pkg: cannot parse fingerprints: error while parsing <unknown>: line: 1, column:
0 - 'key must begin with a letter', character: '-'
Processing entries: 100%
Fetching provides database: 100% 14 MiB 7.3MB/s 00:02
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.
***@mowa219-gjp4-8570p:~ #
----
% 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
# $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
}
%