W dniu 15.06.2022 o 11:49, Anne Wainwright pisze:
Hi,
I am belatedly trying to update my 6.6 server.
# sysupgrade
ftp: Error retrieving file: 404 not found
Done all the preparatory steps, so should I presume this is no longer
possible?
best and thanks
Anne
Hi Anne,
Aside from doing clean install, maybe you can find a mirror somewhere
that still has those files.
Look in sysupgrade source code to see which files it tries to download
(and from where) then you may have some luck finding it on the internet.
I see that it's:
URL=${MIRROR}/${NEXT_VERSION}/${ARCH}/
and mirror is:
MIRROR=https://cdn.openbsd.org/pub/OpenBSD
Where you can find 6.8, 6.9, 7.0 and 7.1
Maybe it would be possible to update from 6.6 to 6.8 (which is still on
mirrors), but I don't know if skipping a release is supported.
NEXT_VERSION is defined here:
if $RELEASE && [[ ${_KERNV[1]} == '-beta' ]]; then
NEXT_VERSION=${_KERNV[0]}
else
NEXT_VERSION=$(echo ${_KERNV[0]} + 0.1 | bc)
fi
So you could comment those 5 lines and put NEXT_VERSION=6.8
Again, doing this may be a bad idea.
Best regards
--
Łukasz Moskała