Monday, December 01, 2025

Re: sysupgrade -s by mistake

On 2025-12-01 17:32 UTC, Stuart Henderson <stu.lists@spacehopper.org> wrote:
> On 2025-11-30, Robert Alessi <alessi@robertalessi.net> wrote:
>> On Sun, Nov 30, 2025 at 09:26:53PM +0100, Manuel Giraud wrote:
>>>
>>> If you don't plan to install new packages in the meantime, you could
>>> wait as is until 7.9 is out.
>>
>> The thing is there will be no way to move from -current to 7.9 when
>> it's out.
>
> Sure there is. As long as you do not upgrade past 7.9 via snapshots
> you can just upgrade as normal when the release is made available.
> (If you hit a snapshot which declares itself as 7.9-current then
> you're past the release, but if you're _only_ just past it, there
> won't be any library changes to worry about).

One way to do that is to just run sysupgrade (without -s):
$ sysctl kern.version
kern.version=OpenBSD 7.8-current (GENERIC.MP) #128: Sun Nov 30 21:32:00 MST 2025
deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
$ doas sysupgrade
Fetching from https://cdn.openbsd.org/pub/OpenBSD/7.9/amd64/
sysupgrade: Error retrieving https://cdn.openbsd.org/pub/OpenBSD/7.9/amd64/SHA256.sig: 404 Not Found
Fetching from https://cdn.openbsd.org/pub/OpenBSD/7.8/amd64/
SHA256.sig 100% |*************************************| 2324 00:00
Signature Verified
BUILDINFO 100% |*************************************| 54 00:00
Downloaded release is older than installed system. Use -f to force downgrade.

It will just do nothing until 7.9 is out. Something we fixed/implemented recently-ish.

>
> --
> Please keep replies on the mailing list.
>

--
In my defence, I have been left unsupervised.

No comments:

Post a Comment