Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2014 23:46:27 -0800
From:      Darren Pilgrim <list_freebsd@bluerosetech.com>
To:        freebsd-questions@freebsd.org
Subject:   Should freebsd-update case-fold release identifiers?
Message-ID:  <547ACB53.6050807@bluerosetech.com>

next in thread | raw e-mail | index | archive | help
I upgraded a machine from 10.0 to 10.1 tonight.  Ran in this odd little 
quirk:

# freebsd-update -r 10.1-release upgrade
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 10.0-RELEASE from update2.freebsd.org... 
done.
Fetching metadata index... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic world/base

The following components of FreeBSD do not seem to be installed:
world/doc world/games

Does this look reasonable (y/n)? y

Fetching metadata signature for 10.1-release from update2.freebsd.org... 
failed.
Fetching metadata signature for 10.1-release from update5.freebsd.org... 
failed.
Fetching metadata signature for 10.1-release from update4.freebsd.org... 
failed.
Fetching metadata signature for 10.1-release from update6.freebsd.org... 
failed.
Fetching metadata signature for 10.1-release from update3.freebsd.org... 
failed.
No mirrors remaining, giving up.
#

It seems to me that the case of the word "release" shouldn't matter. 
The tool should either do a case-insensitive match, or case-fold to 
upper, since that's what all release identifiers use anyway.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547ACB53.6050807>