昨晚装的,今早就有更新了,刚好做个笔记。

 

更新前的版本:

[root@fb11 ~]# uname -a
FreeBSD fb11 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:09:26 UTC 2018     root@releng2.nyi.freebsd.or                      g:/usr/obj/usr/src/sys/GENERIC  i386

 

下载更新的命令:freebsd-update fetch

[root@fb11 ~]# freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update4.freebsd.org... done.
Fetching metadata signature for 11.2-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 11 patches.....10 done.
Applying patches... done.

The following files will be updated as part of updating to 11.2-RELEASE-p4:
/bin/freebsd-version
/boot/kernel/kernel
/usr/bin/gprof
/usr/include/netinet6/in6.h
/usr/include/netinet6/ip6_var.h
/usr/include/x86/specialreg.h
/usr/sbin/wpa_supplicant
/usr/share/man/man4/inet.4.gz
/usr/share/man/man4/inet6.4.gz
/usr/share/man/man4/tcp.4.gz
/usr/share/man/mandoc.db

 

这里提示下载了11个补丁,然后安装命令:freebsd-update install

[root@fb11 ~]# freebsd-update install
src component not installed, skipped
Installing updates... done.

 

reboot重启以后系统版本变化了:

[root@fb11 ~]# uname -a
FreeBSD fb11 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #0: Thu Sep 27 07:46:01 UTC 2018     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

 

 

就这么简单……

作者 听涛

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注