Date: Wed, 24 Sep 2014 11:59:41 -0700 From: "Jason C. Wells" <jasoncwells@gmail.com> To: Rick Miller <vmiller@hostileadmin.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Bootstap pkg from dvd Message-ID: <542314a1.e8c5420a.1ffa.0315@mx.google.com>
next in thread | raw e-mail | index | archive | help
Thanks Rick. That got me started. I ended up copying the pkg tarball to a temporary location to avoid the readonly pitfall. That let me get pkg and all it's manpages installed. Once I had that I was able to proceed. Pkg has s bit of a learning curve. Regards, Jason On Sep 24, 2014 2:29 AM, Rick Miller <vmiller@hostileadmin.com> wrote: On Tue, Sep 23, 2014 at 5:47 PM, Jason C. Wells <[1]jasoncwells@gmail.com> wrote: How can I bootstrap pkg from the package file that exists on my dvd? I don't have network access. I assumed I could simply execute: # pkg bootstrap -f /cdrom/.../pkg-1.2.7.txz But the bootstrapper tries to get the file off the network. It does, indeed, try to get it off the network. Â /etc/pkg/FreeBSD.conf is the culprit here. Edit the repo config to use a local repo via file:///blah/ though you may experience challenges getting it to work properly due to the ISO's read-only nature. Not sure what your use case is, but for me, this was one of several challenges I encountered that steered me to using a disk image (customized mfsBSD) to perform automated, non-interactive network installs. HTH -- Rick References 1. mailto:jasoncwells@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?542314a1.e8c5420a.1ffa.0315>