On Wed, Jun 24, 2026 at 08:43:37AM +0200, Jan Stary wrote:
On 6/23/26 13:56, void wrote:
> My point is that what if you just want to see if there's a new one?
> And not, at that time, upgrade.

If you want to see if there is a new snpshot and then not upgrade to it,
the easiest way would be to do nothing; the result is the same.

From the console, no. I was looking for a way to script it so the result
appears in daily email without the need to open a web browser. I need to schedule updates in order to be the least disruptive. And also if there's a problem with the currently running instance, to see if theres a new snapshot available. I made a small scriptlet:

  #!/bin/sh
echo "system currently installed"
  cat /var/db/installed.BUILDINFO
  echo ""
  echo "next available snapshot"
  wget -q https://ftp.eu.openbsd.org/pub/OpenBSD/snapshots/arm64/BUILDINFO -O -
  echo ""

so when I read the periodic daily i can see at a glance if there is a new
snapshot, and schedule it. Script output:

system currently installed Build date: 1781231785 - Fri Jun 12 02:36:25 UTC 2026 next available snapshot
Build date: 1782095808 - Mon Jun 22 02:36:48 UTC 2026
--

Reply via email to