NetBSD Problem Report #53588

From martin@duskware.de  Tue Sep 11 07:58:58 2018
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 9E8EB7A1A1
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 11 Sep 2018 07:58:58 +0000 (UTC)
Message-Id: <20180911075847.838045CC906@emmas.aprisoft.de>
Date: Tue, 11 Sep 2018 09:58:47 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: sysinst pkgin installation fails
X-Send-Pr-Version: 3.95

>Number:         53588
>Category:       bin
>Synopsis:       sysinst pkgin installation fails
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 11 08:00:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.25
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.25 NetBSD 8.99.25 (NIGHT-OWL) #622: Tue Sep 11 09:37:35 CEST 2018 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

While working on some sysinst changes I ran into this failure when trying
to set up binary pkgs. I am aware that there are no pkgs for amd64/8.99.25
available - but I find this mode of failure ... a bit cryptic.

Can we change pkg_add to just say that the directory is missing or
something more clear?

Screen looks like this:

     Status: Command failed
    Command: pkg_add http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/8.99
.25/All/pkgin
     Hit enter to continue
--------------------------------------------------------------------------------
pkg_add: Can't process http://cdn.NetBSD.org:80/pub/pkgsrc/packages/NetBSD/amd64
/8.99.25/All/pkgin*: Transient resolver failure
pkg_add: no pkg found for 'http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd6
4/8.99.25/All/pkgin', sorry.
pkg_add: 1 package addition failed



>How-To-Repeat:

Run sysinst from -current and try to set up binary pkgs.

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.