This conversation is finished. Move along.
Andreas Kusalananda =?utf-8?B?S8OkaMOkcmk=?= <[email protected]> wrote: > On Mon, May 25, 2020 at 02:22:42PM +0100, Stuart Henderson wrote: > > On 2020/05/25 14:46, Andreas Kusalananda Kähäri wrote: > > > 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. > > > > It could, but then you lose information which might be important if the new > > version *has* been released but the chosen mirror doesn't have it or is > > having > > some problem. > > When upgrading to a new snapshot, the "Fetching from ..." etc. is still > shown. It may be enough with adding a small additional explanaiton of > the failure of fetching the release signature as per my previous mail. > That way, moving between snapshots and to the next release would produce > similar output. > > That is, when the next release is not available: > > 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 > The next release is not avaiable. > > > > -- > Andreas (Kusalananda) Kähäri > SciLifeLab, NBIS, ICM > Uppsala University, Sweden > > . >
