Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2016 13:34:39 -0700
From:      Doug <doug@loxo.net>
To:        freebsd-questions@freebsd.org
Subject:   Leaning FreeBSD
Message-ID:  <etPan.57e591df.2ea9ce7d.5ae@loxo.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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





[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJX5ZHgAAoJEKC0arNxAXZUbMAH/jLCM210mnWcfOO9Qk4hn/yw
/kFl0bRmu/AnJDe7daAi6aQC/V890Z86GsLWpaUTA3qX1w84P0wM5DshQTwGCVi+
RaVQVIVGxQLK7VE3kTpOE0S63K+SGsd00eimzKTEvfQr77Gn3CyXpNErlzh4PoPk
sJLTpqkn7LvShbhfYHwEh7SKVy+JifvHhLqcC3bMD4TgiXUv/zxBTN3O73+eaxoD
nVhSFjtMHxOpZlMXntXnW8p3ogRAJPqCUBbjMrun18cq5DkEMjC9bE93KsEizW+y
LUg+3JFTj7gN1V6AjHCbIZJoUFw7BexTELGm2Uim978COrVUWO+flHBcNfYmYJ4=
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?etPan.57e591df.2ea9ce7d.5ae>