[self base packages] pkg: packages for wrong OS version: FreeBSD:12:amd64

Baptiste Daroussin bapt at freebsd.org
Thu Jan 18 17:00:46 UTC 2018


On Thu, Jan 18, 2018 at 11:32:26AM -0500, Ryan Stone wrote:
> On Wed, Jan 10, 2018 at 1:53 PM, Baptiste Daroussin <bapt at freebsd.org> wrote:
> > One has to specify pkg -o OSVERSION=1200055 to allow packages built on 1200055
> > to install on 1200054.
> 
> This workaround doesn't appear to work for pkg bootstrap:
> 
> # pkg -o OSVERSION=1200055 bootstrap
> The package management tool is not yet installed on your system.
> Do you want to fetch and install it now? [y/N]: y
> Bootstrapping pkg from
> pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest, please wait...
> Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
> Installing pkg-1.10.4...
> pkg-static: Newer FreeBSD version for package pkg:
> - package: 1200055
> - running kernel: 1200054
> 
> Failed to install the following 1 package(s): /tmp//pkg.txz.ngJJEM

The bootstrap does not know about OSVERSION, but setting OSVERSION in your env
should fix it

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180118/ae30f8c9/attachment.sig>


More information about the freebsd-current mailing list