Bug 246091

Summary: handbook: remove the instruction for bootstrapping pkg, since it's not needed anymore
Product: Documentation Reporter: donaldcallen
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: carlavilla, pauamma
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://docs.freebsd.org/en/books/handbook/ports/#pkgng-intro
Bug Depends on:    
Bug Blocks: 263315    
Attachments:
Description Flags
Small change to the Handbook to fix this problem none

Description donaldcallen 2020-05-01 12:18:22 UTC
After installing the system, to use pkg, the Handbook provides the following instruction:

To bootstrap the system, run:
# /usr/sbin/pkg

Following the Handbook's instruction results in an error message, complaining about missing arguments.

The bootstrapping process does work, but the error message could very well be disconcerting to an inexperienced FreeBSD user, perhaps even leading such a user to believe that the bootstrapping process had failed.
Comment 1 donaldcallen 2020-05-07 02:28:22 UTC
Created attachment 214216 [details]
Small change to the Handbook to fix this problem
Comment 2 Pau Amma 2022-04-11 05:07:46 UTC
No longer needed (per pkg(7), pkg <command> does that automagically) so remove that paragraph instead. While there, change "versions of FreeBSD starting with 10.X" to "all supported versions of FreeBSD".
Comment 3 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-02-13 20:11:29 UTC
Fixed in the current version of the chapter.