🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #222

[Bug 300027] pkg(8) can't bootstrap jails as covered in 'man pkgbase'

#222
From: bugzilla-noreply
Date: Sun, 25 Oct 2026 04:20
91 lines
5039 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300027

            Bug ID: 300027
           Summary: pkg(8) can't bootstrap jails as covered in 'man
                    pkgbase'
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: adrian@freebsd.org

pkg can't bootstrap jails as covered in the pkgbase manpage.

it states:

```
   Install userland to a jail
     Install a new jail(8) system using the minimal-jail package set:

           pkg -r /jails/myjail install FreeBSD-set-minimal-jail
```

however, when I do that:

```

# pkg -r /data/1/jails/test install FreeBSD-set-minimal-jail
Updating FreeBSD-ports repository catalogue...
Fetching meta.conf: 100%     168 B   0.2 kB/s    00:01    
Fetching data: 100%  9511 KiB   9.7 MB/s    00:01    
pkg: cannot load fingerprints from
/usr/share/keys/pkg/trusted/pkg.freebsd.org.2013102301: No such file or
directory
pkg: No trusted certificates
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
Fetching meta.conf: 100%     168 B   0.2 kB/s    00:01    
Fetching data: 100%    44 KiB  44.6 kB/s    00:01    
pkg: cannot load fingerprints from
/usr/share/keys/pkg/trusted/pkg.freebsd.org.2013102301: No such file or
directory
pkg: No trusted certificates
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD-base repository catalogue...
Fetching meta.conf: 100%     168 B   0.2 kB/s    00:01    
Fetching data: 100%    87 KiB  88.6 kB/s    00:01    
pkg: cannot load fingerprints from
/usr/share/keys/pkg/trusted/pkg.freebsd.org.2013102301: No such file or
directory
pkg: No trusted certificates
FreeBSD-base repository is up to date.
All repositories are up to date.
pkg: Repository FreeBSD-ports cannot be opened. 'pkg update' required
pkg: Repository FreeBSD-ports-kmods cannot be opened. 'pkg update' required
pkg: Repository FreeBSD-base cannot be opened. 'pkg update' required
pkg: No packages available to install matching 'FreeBSD-set-minimal-jail' have
been found in the repositories
# 
```

If I copy that fingerprints file into my jail and run pkg, it works.

This was tested on 16.0-CURRENT updated today via pkgbase.

```
# pkg info | grep pkg
FreeBSD-pkg-bootstrap-16.snap20261021210449 pkg(7) bootstrap utility
FreeBSD-pkg-bootstrap-dbg-16.snap20261021210449 pkg(7) bootstrap utility
(debugging symbols)
FreeBSD-pkgconf-16.snap20261021210449 Package compiler and linker metadata
toolkit
FreeBSD-pkgconf-dbg-16.snap20261021210449 Package compiler and linker metadata
toolkit (debugging symbols)
pkg-2.8.4                      Package manager
```

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-300027-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 300027] pkg(8) can't bootstrap jails as covered in 'man
 pkgbase'
Date: Sun, 25 Oct 2026 04:20:40 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300027-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="91122"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1792902040;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=mYljV1tK04Kys7uvYx8wGG7lFOqHk9L4Hq5UQDaZ5IE=;
	b=qcHpvigguvyhhd7H/vxdxCTcgP2V5Vr77QlCsoPeRhTwmEzpRSsLnQ9gNg4XJ+QkNhX0SB
	WovPFx3XIrfPKvvbPGfRhRXvE0NcjLtycq1E/MiS0OVXSntuP2ulvZ3GRV6Tu802wuw0wl
	jcp9/OeYEX+6bKXpn0Ks72xOtcz1IDPWHI80U8fyV5O50BCq2u/vraz2pXkc+4cpD9fzPp
	I8Z9YbEud1OkSBnDjY4+u9i4dElEPEV7QKcy6s8OnTmbSCP6e7ovvRKRz0vY+wRBYWV2HF
	Woc+Ims1nnMdGPobj6fDbN3s8qlJkfOx1Er4SNsNq7lkV/MneaL5lyEjA0Vl2g==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes