NetBSD Problem Report #57309
From www@netbsd.org Thu Mar 30 00:06:40 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_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 7EFDC1A9239
for <gnats-bugs@gnats.NetBSD.org>; Thu, 30 Mar 2023 00:06:40 +0000 (UTC)
Message-Id: <20230330000639.963DD1A923C@mollari.NetBSD.org>
Date: Thu, 30 Mar 2023 00:06:39 +0000 (UTC)
From: capa150@gmail.com
Reply-To: capa150@gmail.com
To: gnats-bugs@NetBSD.org
Subject: pkg_add: Can't process https://cdn.NetBSD.org ... Unknown HTTP error
X-Send-Pr-Version: www-1.0
>Number: 57309
>Category: port-macppc
>Synopsis: pkg_add: Can't process https://cdn.NetBSD.org ... Unknown HTTP error
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-macppc-maintainer
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 30 00:10:00 +0000 2023
>Originator: Chris Tucker
>Release: 9.3 macppc
>Organization:
na
>Environment:
NetBSD marion 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug 4 15:30:37 UTC 2022 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/macppc/compile/GENERIC macppc
>Description:
Doing post-install for netbsd as root; following official netbsd documentation at https://www.netbsd.org/docs/pkgsrc/using.html
pkg_add pkgin
pkg_add: Can't process https://cdn.NetBSD.org:443/pub/pkgsrc/packages/NetBSD/macppc/9.3/All/pkgin*: Unknown HTTP error
Chatted to user jakllsch on irc; suggested using ftp or http (NOT https)
I changed PKG_PATH to http instead of https and the problem resolved.
>How-To-Repeat:
pkg_add pkgin
pkg_add: Can't process https://cdn.NetBSD.org:443/pub/pkgsrc/packages/NetBSD/macppc/9.3/All/pkgin*: Unknown HTTP error
>Fix:
Change PKG_PATH from https to http
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.