Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2026 21:53:44 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Alexander Ziaee <ziaee@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Cc:        Graham Perrin <grahamperrin@gmail.com>
Subject:   Re: git: d1f93ea2e164 - main - pkgbase.7: Show pkg upgrade to apply updates
Message-ID:  <807f3dc8-cebd-451e-9460-2cc70b358584@yahoo.com>
In-Reply-To: <696093ec.38cda.11864489@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?807f3dc8-cebd-451e-9460-2cc70b358584>