RE: pkg won't bootstrap on -current
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Oct 2022 16:53:50 UTC
void <void_at_f-m.fm> wrote on
Date: Mon, 17 Oct 2022 14:08:11 UTC :
> It seems pkg won't bootstrap on -current, at least not for me on arm64.aarch64
> I've not tried yet with just a snapshot.
>
> version is main-n258626-865f46b25559 built today 17th Oct 22.
>
> The error is
> # pkg 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:14:aarch64/latest, please wait...
> Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
> Child process pid=10086 terminated abnormally: Segmentation fault
>
> tried installing the port
>
> /usr/ports/ports-mgmt/pkg# make install
> ===> Installing for pkg-1.18.4
> ===> Checking if pkg is already installed
> ===> Registering installation for pkg-1.18.4
> Child process pid=37844 terminated abnormally: Segmentation fault
> *** Error code 139
>
> Stop.
> make[2]: stopped in /usr/ports/ports-mgmt/pkg
> *** Error code 1
>
> # which pkg-static
> /usr/local/sbin/pkg-static
>
> # /usr/local/sbin/pkg-static bootstrap
> Child process pid=39006 terminated abnormally: Segmentation fault
>
> There's a core file. lldb is installed. if someone can clue me in to how it's used,
> i can supply more info
>
> There's nothing in /var/db/pkg
[Summary: I got no problems bootstrapping pkg via
the snapshot dated 20221014 in its .img file name.]
I dd'd over the most recent aarch64-RPI snapshot:
FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20221014-2e0e2739273-258600.img
and booted it in an 8 GiByte RPI4B (with an EtherNet
connection in place):
# uname -apKU
FreeBSD generic 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n258600-2e0e2739273: Fri Oct 14 09:50:23 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 aarch64 1400072 1400072
I tried bootstrapping pkg:
# pkg 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:14:aarch64/latest, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-1.18.4...
Extracting pkg-1.18.4: 100%
It executes just fine:
/usr/local/sbin/pkg-static info pkg
pkg-1.18.4
Name : pkg
Version : 1.18.4
Installed on : Fri Oct 14 10:49:12 2022 UTC
Origin : ports-mgmt/pkg
Architecture : FreeBSD:14:aarch64
Prefix : /usr/local
Categories : ports-mgmt
Licenses : BSD2CLAUSE
Maintainer : pkg@FreeBSD.org
WWW : https://github.com/freebsd/pkg
Comment : Package manager
Options :
DOCS : on
Shared Libs provided:
libpkg.so.4
Annotations :
FreeBSD_version: 1400072
Flat size : 31.8MiB
Description :
Package management tool
WWW: https://github.com/freebsd/pkg
# pkg info pkg
pkg-1.18.4
Name : pkg
Version : 1.18.4
Installed on : Fri Oct 14 10:49:12 2022 UTC
Origin : ports-mgmt/pkg
Architecture : FreeBSD:14:aarch64
Prefix : /usr/local
Categories : ports-mgmt
Licenses : BSD2CLAUSE
Maintainer : pkg@FreeBSD.org
WWW : https://github.com/freebsd/pkg
Comment : Package manager
Options :
DOCS : on
Shared Libs provided:
libpkg.so.4
Annotations :
FreeBSD_version: 1400072
Flat size : 31.8MiB
Description :
Package management tool
WWW: https://github.com/freebsd/pkg
===
Mark Millard
marklmi at yahoo.com