Re: pkgng cannot fetch from PACKAGESITE with nanobsd.sh in FreeBSD 10.1
bump! On 4/1/15, Zenny wrote: > Hi, > > 1. In order to comply with the pkgng in FreeBSD 10.1, the following changes > were appended to my customized nanobsd.conf: > > customize_cmd cust_NANOBSD_setup >> >> cust_NANOBSD_packages() { >> chroot ${NANO_WORLDDIR} sh -c 'cd packages; pkg; pkg install nano; pkg >> clean;' >> } >> >> customize_cmd cust_NANOBSD_packages >> > > Certainly I had tuned chrooted /etc/resolv.conf with: > > #tune resolv.conf >> echo ' >> nameserver 8.8.8.8 >> nameserver 8.8.4.4 >> ' >> ${NANO_WORLDDIR}/etc/resolv.conf >> > > Still the package cannot be downloaded from PACKAGESITE and got built into > nanobsd image. > > 2. Also tried with: > > cust_pkg() { >> pkg -c ${NANO_WORLDDIR} update >> pkg -c ${NANO_WORLDDIR} install nano >> pkg -c ${NANO_WORLDDIR} clean >> } >> >> customize_cmd cust_pkg >> > > Both ways, I get the same error that reads as of below: > > cd: packages: No such file or directory >> pkg: Error fetching >> http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No >> address record >> A pre-built version of pkg could not be found for your system. >> Consider changing PACKAGESITE or installing it from ports: >> 'ports-mgmt/pkg'. >> The package management tool is not yet installed on your system. >> Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from >> pkg+ >> http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... >> pkg: Error fetching >> http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No >> address record >> A pre-built version of pkg could not be found for your system. >> Consider changing PACKAGESITE or installing it from ports: >> 'ports-mgmt/pkg'. >> The package management tool is not yet installed on your system. >> Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from >> pkg+ >> http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... >> pkg: Error fetching >> http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No >> address record >> A pre-built version of pkg could not be found for your system. >> Consider changing PACKAGESITE or installing it from ports: >> 'ports-mgmt/pkg'. >> The package management tool is not yet installed on your system. >> Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from >> pkg+ >> http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... >> > > Any hint on how to get over to this problem. Thanks! > > /z > ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: [CFT] Call for testing pkg 1.5.0
On Tue, 31 Mar 2015 21:03:23 +0200 Baptiste Daroussin wrote > Hi all, > > We just released pkg 1.5.0 beta1 (in ports-mgmt/pkg-devel), > .. > Please test and report as much bugs as you can! > We could be very grateful if regressions tests could be provided along with > the bug reports :) > > Plan is to release 1.5.0 as soon as possible > > Best regards, > Bapt Hello, Baptiste. I just wanted to take the time to thank you for all the work you've put into this. Thanks! --Chris ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: [CFT] Call for testing pkg 1.5.0
On Thu, Apr 02, 2015 at 07:21:19AM -0700, Chris H wrote: > On Tue, 31 Mar 2015 21:03:23 +0200 Baptiste Daroussin wrote > > > Hi all, > > > > We just released pkg 1.5.0 beta1 (in ports-mgmt/pkg-devel), > > > .. > > Please test and report as much bugs as you can! > > We could be very grateful if regressions tests could be provided along with > > the bug reports :) > > > > Plan is to release 1.5.0 as soon as possible > > > > Best regards, > > Bapt > Hello, Baptiste. > I just wanted to take the time to thank you for all the > work you've put into this. > > Thanks! Thanks much appreciated, I want to share that with vsevolod@ and az@ who also spent a lot of time working on it! Best regards, Bapt pgpXzG081o0eW.pgp Description: PGP signature
Re: pkgng cannot fetch from PACKAGESITE with nanobsd.sh in FreeBSD 10.1
On Wed, Apr 01, 2015 at 12:48:21PM +0200, Zenny wrote: > Hi, > > 1. In order to comply with the pkgng in FreeBSD 10.1, the following changes > were appended to my customized nanobsd.conf: > > customize_cmd cust_NANOBSD_setup > > > > cust_NANOBSD_packages() { > > chroot ${NANO_WORLDDIR} sh -c 'cd packages; pkg; pkg install nano; pkg > > clean;' > > } > > > > customize_cmd cust_NANOBSD_packages > > > > Certainly I had tuned chrooted /etc/resolv.conf with: > > #tune resolv.conf > > echo ' > > nameserver 8.8.8.8 > > nameserver 8.8.4.4 > > ' >> ${NANO_WORLDDIR}/etc/resolv.conf > > This tuning is not needed you can specify the nameserver on pkg command line: pkg -o NAMESERVER="8.8.8.8" -c ${NANO_WORLDDIR} update You can also simply add NAMESERVER in your environement variable > > Still the package cannot be downloaded from PACKAGESITE and got built into > nanobsd image. > > 2. Also tried with: > > cust_pkg() { > > pkg -c ${NANO_WORLDDIR} update > > pkg -c ${NANO_WORLDDIR} install nano > > pkg -c ${NANO_WORLDDIR} clean > > } > > > > customize_cmd cust_pkg > > > > Both ways, I get the same error that reads as of below: > > cd: packages: No such file or directory > > pkg: Error fetching > > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No > > address record > > A pre-built version of pkg could not be found for your system. > > Consider changing PACKAGESITE or installing it from ports: > > 'ports-mgmt/pkg'. > > The package management tool is not yet installed on your system. > > Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from pkg+ > > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... > > pkg: Error fetching > > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No > > address record > > A pre-built version of pkg could not be found for your system. > > Consider changing PACKAGESITE or installing it from ports: > > 'ports-mgmt/pkg'. > > The package management tool is not yet installed on your system. > > Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from pkg+ > > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... > > pkg: Error fetching > > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No > > address record > > A pre-built version of pkg could not be found for your system. > > Consider changing PACKAGESITE or installing it from ports: > > 'ports-mgmt/pkg'. > > The package management tool is not yet installed on your system. > > Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from pkg+ > > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... > > > Is pkg installed on your host? it seems not? Best regards, Bapt pgpBmjsn_s9a8.pgp Description: PGP signature
Re: pkgng cannot fetch from PACKAGESITE with nanobsd.sh in FreeBSD 10.1
On 4/2/15, Baptiste Daroussin wrote: > On Wed, Apr 01, 2015 at 12:48:21PM +0200, Zenny wrote: >> Hi, >> >> 1. In order to comply with the pkgng in FreeBSD 10.1, the following >> changes >> were appended to my customized nanobsd.conf: >> >> customize_cmd cust_NANOBSD_setup >> > >> > cust_NANOBSD_packages() { >> > chroot ${NANO_WORLDDIR} sh -c 'cd packages; pkg; pkg install nano; pkg >> > clean;' >> > } >> > >> > customize_cmd cust_NANOBSD_packages >> > >> >> Certainly I had tuned chrooted /etc/resolv.conf with: >> >> #tune resolv.conf >> > echo ' >> > nameserver 8.8.8.8 >> > nameserver 8.8.4.4 >> > ' >> ${NANO_WORLDDIR}/etc/resolv.conf >> > > > This tuning is not needed you can specify the nameserver on pkg command > line: > pkg -o NAMESERVER="8.8.8.8" -c ${NANO_WORLDDIR} update > > You can also simply add NAMESERVER in your environement variable Thanks for the pointer, I shall try. >> >> Still the package cannot be downloaded from PACKAGESITE and got built >> into >> nanobsd image. >> >> 2. Also tried with: >> >> cust_pkg() { >> > pkg -c ${NANO_WORLDDIR} update >> > pkg -c ${NANO_WORLDDIR} install nano >> > pkg -c ${NANO_WORLDDIR} clean >> > } >> > >> > customize_cmd cust_pkg >> > >> >> Both ways, I get the same error that reads as of below: >> >> cd: packages: No such file or directory >> > pkg: Error fetching >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No >> > address record >> > A pre-built version of pkg could not be found for your system. >> > Consider changing PACKAGESITE or installing it from ports: >> > 'ports-mgmt/pkg'. >> > The package management tool is not yet installed on your system. >> > Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from >> > pkg+ >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... >> > pkg: Error fetching >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No >> > address record >> > A pre-built version of pkg could not be found for your system. >> > Consider changing PACKAGESITE or installing it from ports: >> > 'ports-mgmt/pkg'. >> > The package management tool is not yet installed on your system. >> > Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from >> > pkg+ >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... >> > pkg: Error fetching >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No >> > address record >> > A pre-built version of pkg could not be found for your system. >> > Consider changing PACKAGESITE or installing it from ports: >> > 'ports-mgmt/pkg'. >> > The package management tool is not yet installed on your system. >> > Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from >> > pkg+ >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... >> > >> > Is pkg installed on your host? it seems not? It does. #which pkg /usr/sbin/pkg #pkg -v 1.4.12 > > Best regards, > Bapt > ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: pkgng cannot fetch from PACKAGESITE with nanobsd.sh in FreeBSD 10.1
On 4/2/15, Baptiste Daroussin wrote: > On Wed, Apr 01, 2015 at 12:48:21PM +0200, Zenny wrote: >> Hi, >> >> 1. In order to comply with the pkgng in FreeBSD 10.1, the following >> changes >> were appended to my customized nanobsd.conf: >> >> customize_cmd cust_NANOBSD_setup >> > >> > cust_NANOBSD_packages() { >> > chroot ${NANO_WORLDDIR} sh -c 'cd packages; pkg; pkg install nano; pkg >> > clean;' >> > } >> > >> > customize_cmd cust_NANOBSD_packages >> > >> >> Certainly I had tuned chrooted /etc/resolv.conf with: >> >> #tune resolv.conf >> > echo ' >> > nameserver 8.8.8.8 >> > nameserver 8.8.4.4 >> > ' >> ${NANO_WORLDDIR}/etc/resolv.conf >> > > > This tuning is not needed you can specify the nameserver on pkg command > line: > pkg -o NAMESERVER="8.8.8.8" -c ${NANO_WORLDDIR} update Segmentation fault with above, + cust_NANOBSD_packages + pkg -o NAMESERVER=8.8.8.8 -c /usr/obj/nanobsd.NANOBSD//_.w update Child process pid=88756 terminated abnormally: Segmentation fault # dmesg | grep pkg │ pid 88756 (pkg), uid 0: exited on signal 11 (core dumped) > > You can also simply add NAMESERVER in your environement variable >> >> Still the package cannot be downloaded from PACKAGESITE and got built >> into >> nanobsd image. >> >> 2. Also tried with: >> >> cust_pkg() { >> > pkg -c ${NANO_WORLDDIR} update >> > pkg -c ${NANO_WORLDDIR} install nano >> > pkg -c ${NANO_WORLDDIR} clean >> > } >> > >> > customize_cmd cust_pkg >> > >> >> Both ways, I get the same error that reads as of below: >> >> cd: packages: No such file or directory >> > pkg: Error fetching >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No >> > address record >> > A pre-built version of pkg could not be found for your system. >> > Consider changing PACKAGESITE or installing it from ports: >> > 'ports-mgmt/pkg'. >> > The package management tool is not yet installed on your system. >> > Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from >> > pkg+ >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... >> > pkg: Error fetching >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No >> > address record >> > A pre-built version of pkg could not be found for your system. >> > Consider changing PACKAGESITE or installing it from ports: >> > 'ports-mgmt/pkg'. >> > The package management tool is not yet installed on your system. >> > Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from >> > pkg+ >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... >> > pkg: Error fetching >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No >> > address record >> > A pre-built version of pkg could not be found for your system. >> > Consider changing PACKAGESITE or installing it from ports: >> > 'ports-mgmt/pkg'. >> > The package management tool is not yet installed on your system. >> > Do you want to fetch and install it now? [y/N]: Bootstrapping pkg from >> > pkg+ >> > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... >> > >> > Is pkg installed on your host? it seems not? > > Best regards, > Bapt > ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"