From owner-freebsd-questions@freebsd.org Sat Sep 24 08:51:39 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8377DBE675C for ; Sat, 24 Sep 2016 08:51:39 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19E05120 for ; Sat, 24 Sep 2016 08:51:39 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id b130so67001852wmc.0 for ; Sat, 24 Sep 2016 01:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QCVanBOY0czZmJlH9Zw5pj3Rozew7q22qbeLZITk5Io=; b=Wx+DNSqe6pfrmQ6PROzJXjKSp92BLB6hIPMDWkdIXvKTnRjDf+RMD/GaXCPCtGe/V/ 8AB+dnyIlRb75q68GyEO5simaXU8Lv7R0FNbbxmZBxThxME+srjLExbyYDS9Ul8WPv9O DcBA1K/J//Bf4OwOrVlcmmhdJQwFIBZaLdlrCUp45xiDUpMsB4rwCR3uAwmBCfvF9EB9 pE6Onzh6ZkmhHJ0Wtrylnl6JVZ1fl1vniKF6FQIAWGoIfp8xZAX12yS5jOK8oreC/JLR /W7mUfKhXbujviCTXDTSkfeSozplSKx2EwZnAWH9PwDsMGrQi99uB21AeS782r2LVjos NMeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QCVanBOY0czZmJlH9Zw5pj3Rozew7q22qbeLZITk5Io=; b=EtLZ4W90ehiJvcuNuUOcJE7+PQaKVuiyf+JDsJXsmvk4v9rIEtIrs52f0rQ8NBvCTW VzYFztPQOU78h8geGUPrjgqWNCt9huEBKizYOkNovToGWHuWMub8JJmn8p8XYoFN/gSJ jgR90/pY3x3fACEBnJKfdYO9nYcyrLI2w39Xui5tvHfUWBSnqnzexTyL2eLYmgrP+QfX O2QeffybD1T9r9+Z+enKkGS6j/Ku15PIKFbPsjgqJCF7wdw8Mf9jTZyyK0JDrOR8bama Gz74LButdl5GKoZxT97ghSNEwSvGhQMbBUv7kEG0g4d5FrY7TA3SrrO3BwQ7n0B3mWxW JVRA== X-Gm-Message-State: AA6/9Rl+3/rDAe9MWtQxlIrsCDkOhvk1HbckuLCueSi0J1iV6+3jX90L67bOBHgPWOx0H8EJdNC5B5ejHz9aOA== X-Received: by 10.194.149.102 with SMTP id tz6mr9949282wjb.154.1474707097512; Sat, 24 Sep 2016 01:51:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.181.129 with HTTP; Sat, 24 Sep 2016 01:50:56 -0700 (PDT) In-Reply-To: References: From: Odhiambo Washington Date: Sat, 24 Sep 2016 11:50:56 +0300 Message-ID: Subject: Re: Leaning FreeBSD To: Doug Cc: User Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2016 08:51:39 -0000 On 23 September 2016 at 23:34, Doug 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."