Wednesday, February 04, 2026

Re: pkg_add can't find newer major releases if old major release gets update in packages-stable

On 2026/02/04 10:02, Noth wrote:
> Hello,
>
>   On #openbsd on Libera we've had several cases of people not being able
> to install jdk-21 (devel/jdk/21) via pkg_add using a web mirror or CDN.
> We've tracked it down to pkg_add not seeing all the versions (which are in
> pub/OpenBSD/$release/packages/$arch) if older versions have had an update
> pushed to pub/OpenBSD/$release/packages-stable/$arch . I'm afraid I don't
> have a patch to submit to correct this behaviour.
>
> Thanks in advance,
>
> Noth
>
> P.S. I'm not subscribed to the mailing-list, please CC me when answering.
>

normal syntax for this is "pkg_add jdk%21", it works for me on -stable.

No comments:

Post a Comment