pkgsrc-Bugs archive

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

pkg/49152: Sorting problem with pkg_chk -b



>Number:         49152
>Category:       pkg
>Synopsis:       Sorting problem with pkg_chk -b
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 25 07:55:01 +0000 2014
>Originator:     Marc Baudoin
>Release:        pkgsrc-current
>Organization:
>Environment:
NetBSD shuttle.babafou.eu.org 6.1.4 NetBSD 6.1.4 (GENERIC) amd64

>Description:
I noticed some wrong behavior (can't tell if it's new or is it's been around 
for quite some time) in pkg_chk 2.0.8.

When two versions of a binary package are available, say
package-XXnb9 and packageXXnb10 or later (same package, same
version, only nb version differs and the newest one is greater or
equal to 10), pkg_chk -b installs nb9 and not the newest version.
It looks like it's using lexicographic order instead of numeric.

Same problem with package versions. When binary packages for (I just had the 
problem) subversion-base-1.8.9 and subversion-base-1.8.10 are available, 
pkg_chk -ab installs subversion-base-1.8.9.

See "Sorting problem with pkg_chk -b" thread in list pkgsrc-users.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index