Hello I am newbie with FreeBSD. My version is FreeBSD radius 11.3-RELEASE
I did created successfully nanobsd with default setting when I try to install Packages it gives me strange error.
Pkg downloaded in /PKg folder with
My command is
hexcare.conf file only two lines.
Previously created world and kernel.
Any help really appreciated.
Thanks in advance.
Vic
I did created successfully nanobsd with default setting when I try to install Packages it gives me strange error.
Pkg downloaded in /PKg folder with
pkg fetch -o ./ -d pkg dnsmasq
My command is
sh nanobsd.sh -b -c hexcare.conf
. hexcare.conf file only two lines.
Code:
NANO_NAME="HEXCARE"
customize_cmd cust_pkgng
Code:
Error: _.cust.cust_pkgng in file
+ cust_pkgng
+ mkdir -p /usr/obj/nanobsd.HEXCARE/_.w/usr/local/etc
+ local 'PKG_CONF=/usr/obj/nanobsd.HEXCARE/_.w/usr/local/etc/pkg.conf'
+ local 'PKGCMD=env ASSUME_ALWAYS_YES=YES PKG_DBDIR=/var/db/pkg SIGNATURE_TYPE=none /usr/sbin/pkg'
+ touch /usr/obj/nanobsd.HEXCARE/_.w/usr/local/etc/pkg.conf
+ grep -Eiq '^PKG_DBDIR:.*' /usr/obj/nanobsd.HEXCARE/_.w/usr/local/etc/pkg.conf
+ echo 'PKG_DBDIR: "/var/db/pkg"'
+ [ ! -d /usr/src/tools/tools/nanobsd/Pkg ]
+ find -s /usr/src/tools/tools/nanobsd/Pkg -iname 'pkg-*'
+ basename /usr/src/tools/tools/nanobsd/Pkg/All/pkg-1.14.2.txz
+ _NANO_PKG_PACKAGE=pkg-1.14.2.txz
+ basename /usr/src/tools/tools/nanobsd/Pkg/pkg-1.14.2.txz
+ _NANO_PKG_PACKAGE=pkg-1.14.2.txz
+ [ -z pkg-1.14.2.txz -o ! -f /usr/src/tools/tools/nanobsd/Pkg/pkg-1.14.2.txz ]
+ NANO_PACKAGE_LIST='pkg-1.14.2.txz *'
+ mkdir -p /usr/obj/nanobsd.HEXCARE/_.w/_.p
+ mount -t nullfs -o noatime -o ro /usr/src/tools/tools/nanobsd/Pkg /usr/obj/nanobsd.HEXCARE/_.w/_.p
+ trap 'umount /usr/obj/nanobsd.HEXCARE/_.w/_.p ; rm -rf /usr/obj/nanobsd.HEXCARE/_.w/_.p' 1 2 15 EXIT
+ echo 'pkg-1.14.2.txz *'
+ awk '{ print NF }'
+ todo=2
+ echo '=== TODO: 2'
=== TODO: 2
+ echo 'pkg-1.14.2.txz *'
pkg-1.14.2.txz *
+ echo '==='
===
+ CR 'env ASSUME_ALWAYS_YES=YES PKG_DBDIR=/var/db/pkg SIGNATURE_TYPE=none /usr/sbin/pkg add /_.p/pkg-1.14.2.txz'
+ chroot /usr/obj/nanobsd.HEXCARE/_.w /bin/sh -exc 'env ASSUME_ALWAYS_YES=YES PKG_DBDIR=/var/db/pkg SIGNATURE_TYPE=none /usr/sbin/pkg add /_.p/pkg-1.14.2.txz'
+ env 'ASSUME_ALWAYS_YES=YES' 'PKG_DBDIR=/var/db/pkg' 'SIGNATURE_TYPE=none' /usr/sbin/pkg add /_.p/pkg-1.14.2.txz
Installing pkg-1.14.2...
Extracting pkg-1.14.2: .......... done
pkg-static: Cannot open /dev/null:No such file or directory
+ CR 'env ASSUME_ALWAYS_YES=YES PKG_DBDIR=/var/db/pkg SIGNATURE_TYPE=none /usr/sbin/pkg add /_.p/hexcare.conf'
+ chroot /usr/obj/nanobsd.HEXCARE/_.w /bin/sh -exc 'env ASSUME_ALWAYS_YES=YES PKG_DBDIR=/var/db/pkg SIGNATURE_TYPE=none /usr/sbin/pkg add /_.p/hexcare.conf'
+ env 'ASSUME_ALWAYS_YES=YES' 'PKG_DBDIR=/var/db/pkg' 'SIGNATURE_TYPE=none' /usr/sbin/pkg add /_.p/hexcare.conf
pkg: /_.p/hexcare.conf: No such file or directory
pkg: Was 'pkg install /_.p/hexcare.conf' meant?
Failed to install the following 1 package(s): /_.p/hexcare.conf
+ umount /usr/obj/nanobsd.HEXCARE/_.w/_.p
+ rm -rf /usr/obj/nanobsd.HEXCARE/_.w/_.p
+ echo 'NANO RM -rf /usr/obj/nanobsd.HEXCARE/_.w/_.p'
NANO RM -rf /usr/obj/nanobsd.HEXCARE/_.w/_.p
+ uname -r
+ command rm -x -rf /usr/obj/nanobsd.HEXCARE/_.w/_.p
Any help really appreciated.
Thanks in advance.
Vic