FreeBSD Update

Материал из BSD Howto
Перейти к навигации Перейти к поиску

Бинарное обновление FreeBSD

Проверка текущей версии ОС:

# freebsd-version -ku
14.2-RELEASE
14.2-RELEASE

Вывод сообщает текущую версию компонентов ОС (ядра и "мира"):

Скачивание бинарных обновлений:

# freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update1.freebsd.org... done.
Fetching metadata signature for 14.2-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 81 patches.....10....20....30....40....50....60....70....80 done.
Applying patches... done.
Fetching 8 files... .... done.
The following files will be removed as part of updating to
14.2-RELEASE-p3:
/etc/ssl/certs/08063a00.0
/etc/ssl/certs/18856ac4.0
/etc/ssl/certs/57bcb2da.0
/etc/ssl/certs/5e98733a.0
/etc/ssl/untrusted/03179a64.0
/etc/ssl/untrusted/080911ac.0
/etc/ssl/untrusted/157753a5.0
/etc/ssl/untrusted/2c543cd1.0
/etc/ssl/untrusted/2e5ac55d.0
/etc/ssl/untrusted/3e45d192.0
/etc/ssl/untrusted/4a6481c9.0
/etc/ssl/untrusted/5273a94c.0
/etc/ssl/untrusted/5c44d531.0
/etc/ssl/untrusted/76cb8f92.0
/etc/ssl/untrusted/861a399d.0
/etc/ssl/untrusted/9c2e7d30.0
/etc/ssl/untrusted/d853d49e.0
/etc/ssl/untrusted/f3377b1b.0
/usr/share/certs/trusted/Entrust_Root_Certification_Authority_-_G4.pem
/usr/share/certs/trusted/SecureSign_RootCA11.pem
/usr/share/certs/trusted/Security_Communication_RootCA3.pem
/usr/share/certs/trusted/SwissSign_Silver_CA_-_G2.pem
/usr/share/certs/untrusted/AddTrust_External_Root.pem
/usr/share/certs/untrusted/AddTrust_Low-Value_Services_Root.pem
/usr/share/certs/untrusted/Cybertrust_Global_Root.pem
/usr/share/certs/untrusted/DST_Root_CA_X3.pem
/usr/share/certs/untrusted/E-Tugra_Certification_Authority.pem
/usr/share/certs/untrusted/GeoTrust_Global_CA.pem
/usr/share/certs/untrusted/GlobalSign_Root_CA_-_R2.pem
/usr/share/certs/untrusted/Hongkong_Post_Root_CA_1.pem
/usr/share/certs/untrusted/QuoVadis_Root_CA.pem
/usr/share/certs/untrusted/Security_Communication_Root_CA.pem
/usr/share/certs/untrusted/Sonera_Class_2_Root_CA.pem
/usr/share/certs/untrusted/Staat_der_Nederlanden_EV_Root_CA.pem
/usr/share/certs/untrusted/Staat_der_Nederlanden_Root_CA_-_G2.pem
/usr/share/certs/untrusted/Trustis_FPS_Root_CA.pem
The following files will be added as part of updating to
14.2-RELEASE-p3:
/etc/ssl/certs/616816f6.0
/etc/ssl/certs/6a9bdba3.0
/etc/ssl/certs/878d9bca.0
/etc/ssl/certs/a09a51ae.0
/etc/ssl/certs/b8d25de6.0
/etc/ssl/certs/ba8887ce.0
/etc/ssl/certs/ffdd40f9.0
/etc/ssl/untrusted/08063a00.0
/etc/ssl/untrusted/18856ac4.0
/etc/ssl/untrusted/57bcb2da.0
/etc/ssl/untrusted/5e98733a.0
/usr/share/certs/trusted/D-TRUST_BR_Root_CA_2_2023.pem
/usr/share/certs/trusted/D-TRUST_EV_Root_CA_2_2023.pem
/usr/share/certs/trusted/FIRMAPROFESIONAL_CA_ROOT-A_WEB.pem
/usr/share/certs/trusted/SecureSign_Root_CA12.pem
/usr/share/certs/trusted/SecureSign_Root_CA14.pem
/usr/share/certs/trusted/SecureSign_Root_CA15.pem
/usr/share/certs/trusted/TWCA_CYBER_Root_CA.pem
/usr/share/certs/untrusted/Entrust_Root_Certification_Authority_-_G4.pem
/usr/share/certs/untrusted/SecureSign_RootCA11.pem
/usr/share/certs/untrusted/Security_Communication_RootCA3.pem
/usr/share/certs/untrusted/SwissSign_Silver_CA_-_G2.pem
/usr/share/zoneinfo/America/Coyhaique
The following files will be updated as part of updating to
14.2-RELEASE-p3:
/bin/freebsd-version
/boot/kernel/cd9660.ko
/boot/kernel/ext2fs.ko
/boot/kernel/kernel
/boot/kernel/tarfs.ko
/lib/lib80211.so.1
/lib/libbsdxml.so.4
/lib/libcrypto.so.30
/lib/libgeom.so.5
/lib/libmt.so.5
/rescue/[
/rescue/bectl
/rescue/bsdlabel
/rescue/bunzip2
/rescue/bzcat
/rescue/bzip2
/rescue/camcontrol
/rescue/cat
/rescue/ccdconfig
/rescue/chflags
/rescue/chgrp
/rescue/chio
/rescue/chmod
/rescue/chown
/rescue/chroot
/rescue/clri
/rescue/cp
/rescue/csh
/rescue/date
/rescue/dd
/rescue/devfs
/rescue/df
/rescue/dhclient
/rescue/disklabel
/rescue/dmesg
/rescue/dump
/rescue/dumpfs
/rescue/dumpon
/rescue/echo
/rescue/ed
/rescue/ex
/rescue/expr
/rescue/fastboot
/rescue/fasthalt
/rescue/fdisk
/rescue/fetch
/rescue/fsck
/rescue/fsck_4.2bsd
/rescue/fsck_ffs
/rescue/fsck_msdosfs
/rescue/fsck_ufs
/rescue/fsdb
/rescue/fsirand
/rescue/gbde
/rescue/geom
/rescue/getfacl
/rescue/glabel
/rescue/gpart
/rescue/groups
/rescue/gunzip
/rescue/gzcat
/rescue/gzip
/rescue/halt
/rescue/head
/rescue/hostname
/rescue/id
/rescue/ifconfig
/rescue/init
/rescue/ipf
/rescue/iscsictl
/rescue/iscsid
/rescue/kenv
/rescue/kill
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/less
/rescue/link
/rescue/ln
/rescue/ls
/rescue/lzcat
/rescue/lzma
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mkdir
/rescue/mknod
/rescue/more
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/mt
/rescue/mv
/rescue/nc
/rescue/newfs
/rescue/newfs_msdos
/rescue/nos-tun
/rescue/pgrep
/rescue/ping
/rescue/ping6
/rescue/pkill
/rescue/poweroff
/rescue/ps
/rescue/pwd
/rescue/rcorder
/rescue/rdump
/rescue/realpath
/rescue/reboot
/rescue/red
/rescue/rescue
/rescue/restore
/rescue/rm
/rescue/rmdir
/rescue/route
/rescue/routed
/rescue/rrestore
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/sed
/rescue/setfacl
/rescue/sh
/rescue/shutdown
/rescue/sleep
/rescue/stty
/rescue/swapon
/rescue/sync
/rescue/sysctl
/rescue/tail
/rescue/tar
/rescue/tcsh
/rescue/tee
/rescue/test
/rescue/tunefs
/rescue/umount
/rescue/unlink
/rescue/unlzma
/rescue/unxz
/rescue/unzstd
/rescue/vi
/rescue/whoami
/rescue/xz
/rescue/xzcat
/rescue/zcat
/rescue/zdb
/rescue/zfs
/rescue/zpool
/rescue/zstd
/rescue/zstdcat
/rescue/zstdmt
/usr/bin/ctlstat
/usr/bin/mt
/usr/bin/ntpq
/usr/bin/openssl
/usr/bin/slogin
/usr/bin/ssh
/usr/bin/ssh-add
/usr/bin/ssh-agent
/usr/bin/ssh-keygen
/usr/include/bsdxml.h
/usr/include/isofs/cd9660/iso.h
/usr/include/openssl/cmserr.h
/usr/include/openssl/http.h
/usr/include/openssl/opensslv.h
/usr/lib/debug/boot/kernel/cd9660.ko.debug
/usr/lib/debug/boot/kernel/ext2fs.ko.debug
/usr/lib/debug/boot/kernel/kernel.debug
/usr/lib/debug/boot/kernel/tarfs.ko.debug
/usr/lib/lib80211.a
/usr/lib/libarchive.a
/usr/lib/libarchive.so.7
/usr/lib/libbsdxml.a
/usr/lib/libcrypto.a
/usr/lib/libgeom.a
/usr/lib/libmt.a
/usr/lib/libprivatessh.a
/usr/lib/libprivatessh.so.5
/usr/lib/libssl.a
/usr/lib/libssl.so.30
/usr/lib/ossl-modules/legacy.so
/usr/lib32/lib80211.a
/usr/lib32/lib80211.so.1
/usr/lib32/libarchive.a
/usr/lib32/libarchive.so.7
/usr/lib32/libbsdxml.a
/usr/lib32/libbsdxml.so.4
/usr/lib32/libcrypto.a
/usr/lib32/libcrypto.so.30
/usr/lib32/libgeom.a
/usr/lib32/libgeom.so.5
/usr/lib32/libmt.a
/usr/lib32/libmt.so.5
/usr/lib32/libprivatessh.a
/usr/lib32/libprivatessh.so.5
/usr/lib32/libssl.a
/usr/lib32/libssl.so.30
/usr/lib32/ossl-modules/legacy.so
/usr/lib32/pkgconfig/libcrypto.pc
/usr/lib32/pkgconfig/libssl.pc
/usr/lib32/pkgconfig/openssl.pc
/usr/libdata/pkgconfig/libcrypto.pc
/usr/libdata/pkgconfig/libssl.pc
/usr/libdata/pkgconfig/openssl.pc
/usr/libexec/sendmail/sendmail
/usr/sbin/camdd
/usr/sbin/ctladm
/usr/sbin/ctld
/usr/sbin/daemon
/usr/sbin/etcupdate
/usr/sbin/hostapd
/usr/sbin/local-unbound-anchor
/usr/sbin/ntp-keygen
/usr/sbin/ntpd
/usr/sbin/ntpdate
/usr/sbin/ntpdc
/usr/sbin/sntp
/usr/sbin/sshd
/usr/sbin/wpa_supplicant
/usr/share/man/man3/libbsdxml.3.gz
/usr/share/zoneinfo/America/Asuncion
/usr/share/zoneinfo/Asia/Manila
/usr/share/zoneinfo/Asia/Tehran
/usr/share/zoneinfo/Iran
/usr/share/zoneinfo/zone.tab
/usr/share/zoneinfo/zone1970.tab

Установка обновлений (если есть необходимость):

# freebsd-update install
src component not installed, skipped
Creating snapshot of existing boot environment... done.
Installing updates...
Restarting sshd after upgrade
Performing sanity check on sshd configuration.
Stopping sshd.
Performing sanity check on sshd configuration.
Starting sshd.
Scanning /usr/share/certs/untrusted for certificates...
Scanning /usr/share/certs/trusted for certificates...
 done.

Перезагрузка ОС (если установлены обновления):

# reboot

Проверка текущей установленной версии ОС:

# freebsd-version -ku
14.2-RELEASE-p1
14.2-RELEASE-p3

На текущий момент это актуальная версия ОС.