Leaning FreeBSD
Doug
doug at loxo.net
Fri Sep 23 20:34:42 UTC 2016
Help. Am trying to learn FreeBSD.
I installed FreeBSD 10.3 from FreeBSD-10.3-RELEASE-amd64-uefi-dvd1.iso. Am reading the handbook and many of the instructions just don’t work. Example:
4.4.1.
Says to run “/usr/sbin/pkg”.
That returns:
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]:
I type in “y”, press enter key and that returns:
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly, please wait...
pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly/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’.
I have no idea what PACKAGESITE is and running /usr/ports/ports-mgmt/pkg: Permission denied
and changing from my username to root returns: Permission denied
If I try running make from /usr/ports/ports-mgmt/pkg, it returns:
===> License BSD2CLAUSE accepted by the user
=> pkg-1.6.2.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> /usr/ports/distfiles/ is not writable by you; cannot fetch.
*** Error code 1
Stop.
make: stopped in /usr/ports/ports-mgmt/pkg
What am I doing wrong? What did I miss in the handbook? Or is there something wrong with either the handbook and/or the DVD install I used?
Thank you,
Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Message signed with OpenPGP using AMPGpg
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160923/a2fb1a14/attachment.sig>
More information about the freebsd-questions
mailing list