Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2016 11:50:56 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        Doug <doug@loxo.net>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Leaning FreeBSD
Message-ID:  <CAAdA2WMUcjOfjxRQTZA0fYs7HNzkFGDbjNjv0tc-izBoQtviKA@mail.gmail.com>
In-Reply-To: <etPan.57e591df.2ea9ce7d.5ae@loxo.net>
References:  <etPan.57e591df.2ea9ce7d.5ae@loxo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 September 2016 at 23:34, Doug <doug@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=E2=80=99t w=
ork.
> Example:
>
> 4.4.1.
> Says to run =E2=80=9C/usr/sbin/pkg=E2=80=9D.
> 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 =E2=80=9Cy=E2=80=9D, 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=E2=80=99.
> 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:
> =3D=3D=3D>  License BSD2CLAUSE accepted by the user
> =3D> pkg-1.6.2.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
> =3D> /usr/ports/distfiles/ is not writable by you; cannot fetch.
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WMUcjOfjxRQTZA0fYs7HNzkFGDbjNjv0tc-izBoQtviKA>