From fa94fcaacd5024e56c6ce25e495dd039f3e91324 Mon Sep 17 00:00:00 2001 From: justin Date: Wed, 29 Sep 2010 07:24:51 -0700 Subject: [PATCH] Note on updating bootstrap tools --- docs/howtos/HowToPkgsrc.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/howtos/HowToPkgsrc.mdwn b/docs/howtos/HowToPkgsrc.mdwn index fdf18fdc..9f3a8afe 100644 --- a/docs/howtos/HowToPkgsrc.mdwn +++ b/docs/howtos/HowToPkgsrc.mdwn @@ -128,7 +128,13 @@ pkg_chk: will update package by removing them and rebuilding them. Warning: pro 'pkg_add -u': point at a local or online binary archive location to download and update packages. +**Note**: Sometimes, basic pkgsrc tools, like bmake or pkg_install, need to be upgraded. However, they can't be deleted and replaced since you need that tool to accomplish replacement. The solution is to build a separate package before deletion, and install that package. + bmake replace USE_DESTDIR=yes + +or + + pkg_add -u /path/to/newer/pkg ## Removing packages -- 2.41.0