Wednesday, October 30, 2024

Re: Snapshots and packages

On Wed, Oct 30, 2024 at 03:34:08PM -0400, J Doe wrote:
> 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
>
> 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
>
> Thanks for your help,
>
> - J

The easiest way to check that would be using the 1st command you mentioned
`pkg_add -uviargs, then after that do the `pkg_add -D snap args` and see if
anything changes because there would be no change.

I do `pkg_add -D snap` as if I recall correctly it is required 1. after
upgrading to -current and 2. after upgrading to a major version (7.5->7.6), but
I might be wrong.

Also another way to check is by running `pkg-add -u` 3 times in 3 days, and,
well there should not be many changes as packages don't really get updated that
often in the stable branch.

Cheers!



--
Anon Loli
#########
This mortal strives for omnisciency. Some tags: perfectionist, minimalist,
researcher, scientist, philosopher, developer, autist, anarchist, data hoarder,
99 other tags and interests.

I am always up for conversing as long as you meet these requirements:
1. Use PGP encryption for all data shared,
2. Use a open source operating system, NOT Windows, NOT MacOS,
3. Have a open mind - are ready to let go of any and all imperfect views on
anything, if they are.
Let's change this world for the better, one action at a time
########################
<anonloli@autistici.org>

No comments:

Post a Comment