On 2023-01-30, David Demelier <mark...@malikania.fr> wrote:
> While searching for sqlite3 I've realized that pkg_info -Q sqlite3
> finds some php packages but not everything available in the remote
> repository:

This is a consequence of the "first repository of the package search
path" limitation of -Q and how -stable packages are handled.
It only displays packages for which a -stable update is available.

Workaround:

PKG_PATH=http://cdn.openbsd.org/pub/OpenBSD/%v/packages/%a/ pkg_info -Q sqlite

though this won't show updates from the packages-stable directory.
(Or run -current :-)

Another sort-of alternative is to use pkglocate (install the pkglocatedb
package, and for some things postprocessing with | cut -d: -f1 | sort -u
helps).


Reply via email to