On Mon, May 25, 2020 at 12:26:25PM +0000, abed wrote: > I'm expecting when the 6.8 dosen't exist, we have to show a message not > an error (404 not found )!!! > > On 5/25/20 12:21 PM, Stuart Henderson wrote: > > On 2020/05/25 11:33, abed wrote: > >> After installing OpenBSD 6.7 (i mean exactly after that without touching > >> a thing). if you issue sysupgrade, it says: cant find version 6.8, which > >> is absolutely doesn't exist. I wondering is it really hard to firs check > >> the latest version when we heavily connected to the web from seconds we > >> boot or what? > > What would you do with the result of a check like this? Do you think the > > error message is unclear? > > > > (sysupgrade follows the supported upgrade path - upgrading to the _next_ > > release, or a snapshot - not the _latest_ release which might involve > > skipping a version). > >
Abed has a point here. When trying to upgrade to a newer *snapshot* when no new snapshot is available, the message is "Already on latest snapshot." There would potentially be a point in instead of showing Fetching from https://cdn.openbsd.org/pub/OpenBSD/6.8/amd64/ sysupgrade: Error retrieving https://cdn.openbsd.org/pub/OpenBSD/6.8/amd64/SHA256.sig: 404 Not Found saying "The next release after $(uname -r) is not available" or something similar. -- Andreas (Kusalananda) Kähäri SciLifeLab, NBIS, ICM Uppsala University, Sweden .
