Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2021 09:33:45 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Unexpected removal of packages (was: Upgrading packages (fail))
Message-ID:  <f2a3e066-8ebb-488f-4664-5b3caf684ee9@fechner.net>
In-Reply-To: <14578.1632897035@segfault.tristatelogic.com>
References:  <14578.1632897035@segfault.tristatelogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 29.09.2021 um 08:30 schrieb Ronald F. Guilmette:
> but I'm still totally perplexed as to why uname -a
> is still showing my as running 12.2-RELEASE-p7 rather than 12.2-RELEASE-p10

use freebsd-version for this with the following options:
      -k          Print the version and patch level of the installed kernel.
                  Unlike uname(1), if a new kernel has been installed 
but the
                  system has not yet rebooted, freebsd-version will 
print the
                  version and patch level of the new kernel.

      -r          Print the version and patch level of the running kernel.
                  Unlike uname(1), this is unaffected by environment 
variables.

      -u          Print the version and patch level of the installed 
userland.
                  These are hardcoded into freebsd-version during the build.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2a3e066-8ebb-488f-4664-5b3caf684ee9>