Wednesday, October 30, 2024

Re: Snapshots and packages

Vào Th 5, 31 thg 10, 2024 vào lúc 03:35 J Doe
<general@nativemethods.com> đã viết:
>
> Hello,
>
> I have a basic question about following -current.
>
> I have an OpenBSD 7.5 system. I want to grab the latest snapshot and update my packages. Is the correct process as follows ?
>
> $ doas sysupgrade -s
> $ doas pkg_add -uvi
>

Yes

> The OpenBSD FAQ mentions that package updates changes when a snapshot is a release candidate. In that case is the correct process as follows ?
>
> $ doas sysupgrade -s
> $ doas pkg_add -D snap
>

TL;DR: when pkg_add -u breaks, run pkg_add -D snap -u instead

When they drop the beta tag (OpenBSD version is not 7.6-beta or
7.6-current or 7.6-stable or whatever, simply 7.6, if I recall correctly
pkg_add will try to fetch packages from the 7.6 directory (instead of
snapshot directory), which contain nothing. You will have to force
it to download packages from the snapshot directory with -D snap.

When the beta tag is dropped, it will be announced on undeadly.org


> Thanks for your help,
>
> - J

No comments:

Post a Comment