From owner-freebsd-questions@FreeBSD.ORG Sat Nov 22 02:10:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBA244EE for ; Sat, 22 Nov 2014 02:10:18 +0000 (UTC) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83EA8C7C for ; Sat, 22 Nov 2014 02:10:17 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [192.168.151.122]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id sAM271YS075183; Fri, 21 Nov 2014 19:07:01 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <546FF081.3000603@dreamchaser.org> Date: Fri, 21 Nov 2014 19:10:09 -0700 From: Gary Aitken Reply-To: freebsd@dreamchaser.org User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Ian Smith Subject: Re: sysinstall fails to fetch; pkg install succeeds References: <20141122012438.B85722@sola.nimnet.asn.au> In-Reply-To: <20141122012438.B85722@sola.nimnet.asn.au> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 21 Nov 2014 19:07:02 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 02:10:18 -0000 On 11/21/14 09:36, Ian Smith wrote: > On Tue, 18 Nov 2014 22:10:12 -0700 Gary Aitken wrote: > > > I'm in the process of installing a 9.3 system. > > > > "pkg install foo" seems to work fine, fetching from the network. > > However, if I run sysinstall (forgot to include the handbook), it fails > > when trying to fetch from the network. I've tried both FTP mode and > > FTP through firewall mode. What does sysinstall do that's different when > > trying to fetch from the network? > > sysinstall only knows about the old pkg_tools (pkg_add etc) which have > been defunct for quite a while. I don't know why the pkg_* binaries are > even left in place (let alone executable) on pkg(8)-using systems, as I > found out the hard way after pkg2ng'ing 9.2R, then ungrokingly running > the old not-yet-pkg-aware portmaster, managing to make quite a mess. Ah, thanks. But what do you mean by not-yet-pkg-aware portmaster? I've been installing ports using portmaster on my 9.2 and pkg seems to work with it just fine. By that I mean after installing using portmaster, pkg info reports it as being installed. portmaster also seems to work find on this newly being built 9.3. > For anyone running an 8.x or 9.x system using pkg(8) exclusively, maybe > via pkg2ng, I'd recommend considering - if rm seems drastic - at least: > > # chmod a-x /usr/sbin/pkg_* good idea. will do that. > Try bsdconfig(8) which I think still (re)installs the docs, and provides > a (working?) front end for installing packages. Let's know how it goes? > > bsdconfig provides most if not all 'post-installation' functions from > sysinstall, similar look'n'feel to bsdinstall (invoked for disk setup). Uh-oh. Now I'm pretty confused... On this new 9.3, tried "bsdconfig doscinstall" Went through the dialogs, told it to use the main ftp.freebsd.org. It logged in ok, then I got: "Attempting to update repository catalogue from selected media." Error: No pkg(8) database found. I've already done pkg2ng but just for grins did it again. /etc/make.conf has WITH-PKGNG="YES" pkg itself seems to work, at least "pkg info" results look correct. So what's it complaining about? > sysinstall still has a use on 9.x, but package installation isn't it :) I've been using portmaster, but I didn't think the docs were installable as a port?