Re: pkg_add message

Stuart Henderson <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
On 2026-06-07, J Doe <[email protected]> wrote:
> Hi list,
>
> I ran a package update today on a server I recently upgraded to OpenBSD 7.9.
>
>      $ doas pkg_add -uvi
>
> This particular server had PHP 8.4.x installed on it.  In some of the 
> update output I saw:
>
>      Skipping php-8.5.5 (update candidate for php-8.4.22)
>          php-8.4.22 pkgpaths: lang/php/8.4,-main
>          php-8.5.5 pkgpaths: lang/php/8.5,-main
>
> I was wondering:
>
> ** Does this mean that there will be no more updates to PHP-8.4.x and 
> that the next upgrade candidate is to php-8.5 ?

No. PHP is provided via multiple pkgpaths (in 7.9 that's lamg/php/8.2,
lang/php/8.3, lang/php/8.4, lang/php/8.5); updates are only considered
if the pkgpath of the update matches that of the version installed.

In -current, lang/php/8.2 has been dropped, and there's an annotation
in 8.3 so that it's considered a candidate for replacing 8.2.

> ** Does this mean that to move to PHP 8.5.x I should explicitly install 
> it via: pkg_add ?

Yes. (The different branches can be installed alongside each other; for
example if you have some web application that requires an older version,
but need a newer version for others. More information about this in the
pkg-readme file).


-- 
Please keep replies on the mailing list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.