Leaning FreeBSD

Odhiambo Washington odhiambo at gmail.com
Sat Sep 24 08:51:39 UTC 2016


On 23 September 2016 at 23:34, Doug <doug at loxo.net> wrote:

> 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.
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You should be running the command as user root, or with root privileges.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."


More information about the freebsd-questions mailing list