NetBSD Problem Report #59641
From www@netbsd.org Mon Sep 8 14:27:17 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 6BFB41A923C
for <gnats-bugs@gnats.NetBSD.org>; Mon, 8 Sep 2025 14:27:17 +0000 (UTC)
Message-Id: <20250908142715.AEB8D1A923D@mollari.NetBSD.org>
Date: Mon, 8 Sep 2025 14:27:15 +0000 (UTC)
From: van.ly@sdf.org
Reply-To: van.ly@sdf.org
To: gnats-bugs@NetBSD.org
Subject: pkg state for item with `>' mark my be misread as installed
X-Send-Pr-Version: www-1.0
>Number: 59641
>Category: pkg
>Synopsis: pkg state for item with `>' mark my be misread as installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: jperkin
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 08 14:30:00 +0000 2025
>Last-Modified: Mon Sep 08 20:23:02 +0000 2025
>Originator: Van Ly
>Release: 10.1
>Organization:
>Environment:
NetBSD XXX.XXX 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When the pkg state, for items such as `qemu' or `bash-', is retrieved, using `pkgin se qemu' or `pkgin se ^bash-', the final line explaining the meaning of the `>' symbol may be misread to mean the marked package is installed.
It should be read to mean this `package is not installed and a greater version is available'.
>How-To-Repeat:
$ pkgin se qemu
pkgin se qemu
fs-uae-qemu-uae-3.8.6 FS-UAE plugin for PPC and networking support
qemu-10.0.2 = Machine emulator and virtualizer
qemu-7.2.16nb3 > Machine emulator and virtualizer
qemu-guest-agent-10.0.2 QEMU guest agent
unicorn-2.1.3 CPU emulator engine framework based on QEMU
=: package is installed and up-to-date
<: package is installed but newer version is available
> : installed package has a greater version than available package
$ pkgin se ^bash-
bash-5.2.37 = The GNU Bourne Again Shell
bash-2.05.2.13 > The GNU Bourne Again Shell (version 2)
bash-completion-2.11 Programmable completion specifications for bash
bash-doc-2.05.2nb1 Documentation for the GNU Bourne Again Shell
bash-preexec-0.5.0 Preexec and precmd hook functions a la zsh
=: package is installed and up-to-date
<: package is installed but newer version is available
>: installed package has a greater version than available package
>Fix:
Replace the final output line explaining the use of `>' symbol as follows:
> : package is not installed and a greater version is available
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jperkin
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 08 Sep 2025 20:23:02 +0000
Responsible-Changed-Why:
Over to pkgin maintainer
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.