NetBSD Problem Report #54234
From martin@aprisoft.de Sun May 26 17:56:20 2019
Return-Path: <martin@aprisoft.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 0E0E77A14F
for <gnats-bugs@gnats.NetBSD.org>; Sun, 26 May 2019 17:56:20 +0000 (UTC)
Message-Id: <20190526175610.236C35CC85E@emmas.aprisoft.de>
Date: Sun, 26 May 2019 19:56:10 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: pkg_chk will install wrong binary pkgs if multiple versions are available
X-Send-Pr-Version: 3.95
>Number: 54234
>Category: pkg
>Synopsis: pkg_chk will install wrong binary pkgs if multiple versions are available
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: abs
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 26 18:00:00 +0000 2019
>Last-Modified: Sun May 26 19:51:17 +0000 2019
>Originator: Martin Husemann
>Release: NetBSD 8.99.41
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 8.99.41 NetBSD 8.99.41 (WHOEVER) #275: Sun May 19 11:35:54 CEST 2019 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64
>Description:
I use a chroot to build binary pkgs, and do not always start from scratch.
Outside the chroot I usualy remove old pkgs with "pkg_chk -r" and then add
the missing ones via "pkg_chk -ab".
When the binary pkgs repository has various variants of the pkg, pkg_chk
will install the wrong version. Last seen myself with firefox:
With these binary pkgs:
-rw-r--r-- 1 root wheel 45477910 Mar 27 05:23 firefox52-52.9.0nb12.tgz
-rw-r--r-- 1 root wheel 45478396 May 25 07:03 firefox52-52.9.0nb14.tgz
-rw-r--r-- 1 root wheel 45253528 Oct 17 2018 firefox52-52.9.0nb6.tgz
-rw-r--r-- 1 root wheel 45253508 Nov 1 2018 firefox52-52.9.0nb7.tgz
I got firefox52-52.9.0nb7 installed.
>How-To-Repeat:
s/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->abs
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 26 May 2019 19:51:17 +0000
Responsible-Changed-Why:
Over to maintainer
>Unformatted:
(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.