Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2024 13:50:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 278631] pkg update fails when explicitly providing ABI (since 1.21.2)
Message-ID:  <bug-278631-32340-hfqI33uS8c@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278631-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278631-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278631

--- Comment #6 from Markus Stoff <markus@stoffdv.at> ---
I'm using this feature to provision jails, which may run a different FreeBSD
release (i.e. running 13-RELEASE jails on a 14-RELEASE host).

To avoid fetching the package database for each and every jail separately, =
I'm
using a distinct package database, set via PKG_DBDIR, for every ABI used in
jails.

Essentially I'm running

  pkg -o ABI=3D'FreeBSD:14:amd64' -o PKG_DBDIR=3D'/path/to/FreeBSD:14:amd64=
/db'
update

to update the package database, and

  pkg -o ABI=3D'FreeBSD:14:amd64' -o PKG_DBDIR=3D'/path/to/FreeBSD:14:amd64=
/db' -o
PKG_CACHEDIR=3D'/path/to/FreeBSD:14:amd64/db/cache' -r '/path/to/jail' inst=
all
some packages

to install packages into /path/to/jail.

Please let me know if you need further details.

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



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