yes, this is exactly what we call a program, we to check them all. if exist or not. if we mirror is visible or not. if exist but corrupted. so we need a common criteria.
On 5/25/20 1:22 PM, 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. >
