https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283495
Bug ID: 283495
Summary: pkg install broken in 13.4 AWS AMI Image
Product: Base System
Version: 13.4-RELEASE
Hardware: arm64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: arm
Assignee: [email protected]
Reporter: [email protected]
AMI Used 13.4 from Amazon Market Place
Zone: ap-south-1c
Instane Type: t4g.micro
https://aws.amazon.com/marketplace/pp/prodview-csz7hkwk5a4ls?sr=0-6&ref_=beagle&applicationId=AWS-EC2-Console
uname -a
FreeBSD freebsd 13.4-RELEASE-p1 FreeBSD 13.4-RELEASE-p1 GENERIC arm64
Steps to repro:
Deploy new instance and install any package
pkg install openvpn
Updating FreeBSD repository catalogue...
pkg: repository meta has wrong version or wrong format
pkg: Repository FreeBSD load error: meta file cannot be loaded
Fetching meta.conf: 100% 178 B 0.2kB/s 00:01
pkg: cannot parse repository meta: error while parsing <unknown>: line: 1,
column: 0 - 'key must begin with a letter', character: '<'
repository FreeBSD has no meta file, using default settings
Fetching data.pkg: 100% 7 MiB 1.0MB/s 00:07
pkg: No signature found
FreeBSD repository is up to date.
All repositories are up to date.
pkg: repository meta has wrong version or wrong format
pkg: Repository FreeBSD load error: meta file cannot be loaded
pkg: Repository FreeBSD cannot be opened. 'pkg update' required
pkg: No packages available to install matching 'openvpn' have been found in the
repositories
root@freebsd:~ # pkg update
Updating FreeBSD repository catalogue...
pkg: repository meta has wrong version or wrong format
pkg: Repository FreeBSD load error: meta file cannot be loaded
Fetching meta.conf: 100% 178 B 0.2kB/s 00:01
pkg: cannot parse repository meta: error while parsing <unknown>: line: 1,
column: 0 - 'key must begin with a letter', character: '<'
repository FreeBSD has no meta file, using default settings
Fetching data.pkg: 100% 7 MiB 2.4MB/s 00:03
pkg: No signature found
FreeBSD repository is up to date.
All repositories are up to date.
root@freebsd:~ # pkg install openvpn
Updating FreeBSD repository catalogue...
pkg: repository meta has wrong version or wrong format
pkg: Repository FreeBSD load error: meta file cannot be loaded
Fetching meta.conf: 100% 178 B 0.2kB/s 00:01
pkg: cannot parse repository meta: error while parsing <unknown>: line: 1,
column: 0 - 'key must begin with a letter', character: '<'
repository FreeBSD has no meta file, using default settings
Fetching data.pkg: 100% 7 MiB 1.4MB/s 00:05
pkg: No signature found
FreeBSD repository is up to date.
All repositories are up to date.
pkg: repository meta has wrong version or wrong format
pkg: Repository FreeBSD load error: meta file cannot be loaded
pkg: Repository FreeBSD cannot be opened. 'pkg update' required
pkg: No packages available to install matching 'openvpn' have been found in the
repositories
root@freebsd:~ $ cat /etc/pkg/FreeBSD.conf
#
# 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}/quarterly",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
Workaround used:
removed signature_type and fingerprints
cat /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: { enabled: no }
cat /usr/local/etc/pkg/repos/example.conf
FreeBSD: { url: "http://pkg.freebsd.org/${ABI}/latest", mirror_type: "srv" }
--
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.