Re: Better pkg bootstrapping instructions?

From: Tim Kientzle <kientzle_at_FreeBSD.org>
Date: Wed, 13 Feb 2013 21:41:03 -0800
On Feb 13, 2013, at 2:23 AM, Baptiste Daroussin wrote:

> On Sat, Feb 02, 2013 at 09:46:41PM -0800, Tim Kientzle wrote:
>> Especially on -CURRENT, it's not going to be uncommon
>> to see things like this:
>> 
>> The package management tool is not yet installed on your system.
>> Do you want to fetch and install it now? [y/N]: y
>> Bootstrapping pkg please wait
>> _http._tcp.pkg.FreeBSD.org
>> pkg: Error fetching http://pkg.FreeBSD.org/freebsd:10:arm:32:el:oabi:softfp/latest/Latest/pkg.txz: Not Found
>> 
>> It would be nice if the next line said:
>>  "A pre-built version of pkg could not be found for your system."
>>  "Please install it from source using the ports-mgmt/pkg port."
>> 
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
> Would this fit, in particular the wording?
> 
> http://people.freebsd.org/~bapt/pkg-better-errmsg.diff

Much better.

Better still to mention the specific port name:  pkg-mgmt/pkg
(assuming that port name will be reasonably stable over time).

Tim


Received on Thu Feb 14 2013 - 04:41:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC