pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54234: pkg_chk will install wrong binary pkgs if multiple versions are available



>Number:         54234
>Category:       pkg
>Synopsis:       pkg_chk will install wrong binary pkgs if multiple versions are available
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 26 18:00:00 +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@localhost:/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



Home | Main Index | Thread Index | Old Index