NetBSD Problem Report #36738
From martin@duskware.de Mon Aug 6 06:51:44 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 23A3363BAB3
for <gnats-bugs@gnats.netbsd.org>; Mon, 6 Aug 2007 06:51:44 +0000 (UTC)
Message-Id: <20070806033100.5C81063BAB3@narn.NetBSD.org>
Date: Mon, 6 Aug 2007 03:31:00 +0000 (UTC)
From: bastyaelvtars@gmail.com
Reply-To: bastyaelvtars@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: pkg_rolling-replace keeps constantly replacing the same package
X-Send-Pr-Version: www-1.0
>Number: 36738
>Category: pkg
>Synopsis: pkg_rolling-replace keeps constantly replacing the same package
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: tnn
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 06 06:55:00 +0000 2007
>Closed-Date: Mon Aug 06 15:28:46 +0000 2007
>Last-Modified: Mon Aug 06 15:28:46 +0000 2007
>Originator: Gergo Szakal
>Release:
>Organization:
>Environment:
DragonFly vlantest.jancso.szote.u-szeged.hu 1.10.0-RELEASE DragonFly 1.10.0-RELEASE #0: Thu Aug 2 01:46:24 CEST 2007 szg@vlantest.jancso.szote.u-szeged.hu:/usr/obj/usr/src/sys/generic i386
>Description:
Issuing pkg_rolling-replace -u replaces the first package successfully but at the second one it keeps replacing that pakage again and again. If I replace the package manually and issue pkg_rolling-replace -u again, it starts replacing the next package and does it over and over.
It does the same on 2 different machines, same version.
It's version 0.5 that I am talking about. Older versions did not show this error.
>How-To-Repeat:
pkg_rolling-replace -u
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->tnn
Responsible-Changed-By: tnn@netbsd.org
Responsible-Changed-When: Mon, 06 Aug 2007 12:50:45 +0000
Responsible-Changed-Why:
I have received a report from another user and am analysing the problem.
I think this is an infrastructural regression and/or pkg_install related.
State-Changed-From-To: open->feedback
State-Changed-By: tnn@netbsd.org
State-Changed-When: Mon, 06 Aug 2007 12:50:45 +0000
State-Changed-Why:
What version of the pkg_* tools do you have? (pkg_create -V)
From: Tobias Nygren <tnn@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: pkgsrc-changes@NetBSD.org
Subject: Re: pkg/36738
Date: Mon, 6 Aug 2007 17:13:55 +0200
I got the PR number wrong in the commit. I will fix it in
gnats and the repository.
Module Name: pkgsrc
Committed By: tnn
Date: Mon Aug 6 15:07:56 UTC 2007
Modified Files:
pkgsrc/pkgtools/pkg_rolling-replace: Makefile
pkgsrc/pkgtools/pkg_rolling-replace/files:
pkg_rolling-replace.sh
Log Message:
Update to pkg_rolling-replace-0.6:
- Explicitly unset 'unsafe_depends' and 'rebuild' tags after replacing.
Needed after changes in pkgsrc/mk/flavor/pkg/replace.mk, fixes PR
36738.
- Introduce ${PKG_ADMIN}, ${PKG_INFO}, ${PKG_CHK} variables instead of
calling the tools directly by name.
State-Changed-From-To: feedback->closed
State-Changed-By: tnn@netbsd.org
State-Changed-When: Mon, 06 Aug 2007 15:28:46 +0000
State-Changed-Why:
The problem is fixed in pkg_rolling-replace-0.6, which you will
need if you have pkgsrc newer than 2007-08-02. Thanks for the PR!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.