pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/59641: pkg state for item with `>' mark my be misread as installed
>Number: 59641
>Category: pkg
>Synopsis: pkg state for item with `>' mark my be misread as installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 08 14:30:00 +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@localhost:/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
Home |
Main Index |
Thread Index |
Old Index