Index | Thread | Search

From:
Rubén Llorente <porting@use.startmail.com>
Subject:
Re: Snapshots and packages
To:
ports@openbsd.org
Date:
Wed, 30 Oct 2024 22:47:00 +0000

Download raw body.

Thread
  • Rubén Llorente:

    Snapshots and packages

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
> 

That seems fine to me.

I am not sure upgrading from the "old" stable to snapshots is supported, 
though. It will most likely work. You may want to upgrade to the actual 
-stable and then to the snapshot, to make sure.

Also, remember to check https://www.openbsd.org/faq/current.html before 
you upgrade to the next snapshot to ensure you are aware of pitfalls.

> 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 last command would rather be "pkg_add -D snap -u" or something 
similar. I like to always provide it for -current installs.