NetBSD Problem Report #48348

From www@NetBSD.org  Mon Oct 28 05:49:50 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 23E99A5CA0
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 28 Oct 2013 05:49:50 +0000 (UTC)
Message-Id: <20131028054948.A7753A5D7F@mollari.NetBSD.org>
Date: Mon, 28 Oct 2013 05:49:48 +0000 (UTC)
From: BushJr@yandex.ru
Reply-To: BushJr@yandex.ru
To: gnats-bugs@NetBSD.org
Subject: Post-install config menu item "Enable installation of binary packages" works incorrectly
X-Send-Pr-Version: www-1.0

>Number:         48348
>Category:       install
>Synopsis:       Post-install config menu item "Enable installation of binary packages" works incorrectly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 28 05:50:00 +0000 2013
>Last-Modified:  Sun Feb 01 17:25:00 +0000 2015
>Originator:     Dmitry
>Release:        NetBSD-6.1.2
>Organization:
>Environment:
>Description:
Item "Enable installation of binary packages" of post-installation menu "Configure the additional items as needed." seems don't work properly, possibly because of unnecessary "http://" prefix. Here is my settings and status output:


>a: Host                      ftp.NetBSD.org
 b: Base directory            pub/pkgsrc/packages/NetBSD
 c: Package directory         /sparc/6.0/All
 d: User                      ftp
 e: Password
 f: Proxy
 x: Install pkgin and update package summary

     Status: Command failed
    Command: pkg_add http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/sparc/6.0/
All/pkgin
     Hit enter to continue
--------------------------------------------------------------------------------
pkg_add: Can't process http://ftp.NetBSD.org:80/pub/pkgsrc/packages/NetBSD/sparc
/6.0/All/pkgin*: Host not found
pkg_add: no pkg found for 'http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/spar
c/6.0/All/pkgin', sorry.
pkg_add: 1 package addition failed

>How-To-Repeat:
I'm using install image ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-6.1.2/sparc/installation/miniroot/miniroot.fs.gz
>Fix:

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc/48348: Post-install config menu item "Enable installation of binary packages" works incorrectly
Date: Mon, 28 Oct 2013 10:04:07 +0100

 The command being run is correct and it works if you have network connectivity
 and a working name server.

 Martin

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: BushJr@yandex.ru
Subject: Re: port-sparc/48348: Post-install config menu item "Enable installation
 of binary packages" works incorrectly
Date: Mon, 28 Oct 2013 08:04:10 -0500 (CDT)

 On Mon, 28 Oct 2013, BushJr@yandex.ru wrote:

 > pkg_add: Can't process http://ftp.NetBSD.org:80/pub/pkgsrc/packages/NetBSD/sparc
 > /6.0/All/pkgin*: Host not found

 I assume the networking previously worked for retrieving the NetBSD 
 sets.

 If you suspend from sysinst, does /targetroot/etc/resolv.conf  exist?

From: Donald Allen <donaldcallen@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc/48348
Date: Mon, 9 Dec 2013 13:27:58 -0500

 This problem is not sparc-specific; it happens when attempting to
 install the amd64 version of 6.1.2.

 To answer Jeremy C. Reed's question: yes, I was able to install a set
 (syssrc) via the network. After this error (unable to do the pkg_add
 of pkgin as reported by the orignal poster), I exited from the install
 system, got to a shell and was able to ping ftp.netbsd.org.

Responsible-Changed-From-To: port-sparc-maintainer->install-manager
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Tue, 10 Dec 2013 03:38:53 +0000
Responsible-Changed-Why:
installer bug that has been shown to not be port-specific


From: BushJr@yandex.ru
To: "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: port-sparc/48348: Post-install config menu item "Enable installation of binary packages" works incorrectly
Date: Mon, 02 Feb 2015 00:21:33 +0700

 Recently I've got back to NetBSD research and got the same problem at 6.1.5-
 i386 install.
 > If you suspend from sysinst, does /targetroot/etc/resolv.conf  exist?
 # ls /targetroot
 prints nothing, it's an empty folder.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.