NetBSD Problem Report #55749

From  Fri Oct 23 21:25:18 2020
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 6C68A1A923E
	for <>; Fri, 23 Oct 2020 21:25:18 +0000 (UTC)
Message-Id: <>
Date: Fri, 23 Oct 2020 21:25:17 +0000 (UTC)
Subject: sysupgrade doesn't check/update pkgin repository configuration
X-Send-Pr-Version: www-1.0

>Number:         55749
>Category:       pkg
>Synopsis:       sysupgrade doesn't check/update pkgin repository configuration
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 23 21:30:00 +0000 2020
>Last-Modified:  Mon Oct 26 22:15:01 +0000 2020
>Originator:     Bruce Lilly
>Release:        9.0/9.1 amd64
NetBSD 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020 amd64 x86_64 Intel 686-class NetBSD
Noticed after reboot following upgrade from 9.0 to 9.1 via sysupgrade.
Pkgin configuration (/usr/pkg/etc/pkgin/repositories.conf) still points to repositories for old version; sysupgrade hadn't upgraded it.

processing remote summary (

Install 9.0.
Install pkgin, either during installation or later.
Upgrade to 9.1 via sysupgrade, checking each step of postinstall.
pkgin update
Manually update /usr/pkg/etc/pkgin/repositories.conf.

From: nia <>
Subject: Re: pkg/55749: sysupgrade doesn't check/update pkgin repository
Date: Mon, 26 Oct 2020 22:13:01 +0000

 The directory for 9.1 is actually a symlink to the directory for 9.0
 because packages are only built for the first point release.

 I don't know whether this bug is more suitable for sysupgrade's github
 repository, or whether automatically updating config for packages is
 in-scope for sysupgrade.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.