Re: git: d1f93ea2e164 - main - pkgbase.7: Show pkg upgrade to apply updates

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 09 Jan 2026 05:53:44 UTC
On 1/8/26 21:36, Alexander Ziaee wrote:
> The branch main has been updated by ziaee:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=d1f93ea2e1646f1a844f37a855a70de1b186dbd7
> 
> commit d1f93ea2e1646f1a844f37a855a70de1b186dbd7
> Author:     Graham Perrin <grahamperrin@gmail.com>
> AuthorDate: 2026-01-09 04:45:29 +0000
> Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
> CommitDate: 2026-01-09 04:49:40 +0000
> 
>     pkgbase.7: Show pkg upgrade to apply updates
>     
>     MFC after:      3 days
>     Reviewed by:    ziaee
>     Closes:         https://github.com/freebsd/freebsd-src/pull/1945
> ---
>  share/man/man7/freebsd-base.7 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/share/man/man7/freebsd-base.7 b/share/man/man7/freebsd-base.7
> index 9844d7d5063d..610ac0b16717 100644
> --- a/share/man/man7/freebsd-base.7
> +++ b/share/man/man7/freebsd-base.7
> @@ -206,7 +206,7 @@ pkg install FreeBSD-set-devel
>  .Pp
>  Apply available updates to the running system:
>  .Bd -literal -offset indent
> -pkg update -r FreeBSD-base
> +pkg upgrade -r FreeBSD-base

The behavior of such a upgrade command strongly depends on if the
FreeBSD-base status is enabled vs. not. Enabled, the command does a
"pkg update -r FreeBSD-base" first (implicitly) that is effective;
disabled, that implicit activity is not done, making it likely that the
upgrade command will report that FreeBSD-base is up to date unless prior
activity caused such an effective update earlier.

>  .Ed
>  .Pp
>  Install the development toolchain for FreeBSD/powerpc64le in an
> 
> 


-- 
===
Mark Millard
marklmi at yahoo.com