freebsd 11.1 update freebsd 11.2

Опубликовано beregov.a.e - чт, 06/28/2018 - 11:36

Как обновить freebsd 11.1 до freebsd 11.2

Тут можно рассмотреть несколько способов. 1 Это утилитой  freebsd-update 2 Из исходников.

1 Самый простой и самый быстрый.

В начале обновляем текущею версию.

freebsd-update fetch install

reboot или shutdown -r now

после перезагрузки

freebsd-update upgrade -r 11.2-RELEASE

freebsd-update install

reboot или shutdown -r now

после перезагрузки

freebsd-update install

reboot или shutdown -r now

На этом всё.

 uname -a
FreeBSD test 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

2 Скачиваем исходники и распаковываем.

Перед началом удалим стары исходники.

rm -rf /usr/src

Можно скачать в корень /

fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.2-RELEASE/src.txz

и распаковываем 

tar -xzf src.txz

или если вы скачали в домашнею директорию пользователя. и там распаковали то  необходимо перенести

mv usr/src /usr/

переходим в директорию с исходниками.

cd /usr/src/

И собираем в начале ядро, затем мир

make -s -j 4 buildkernel

устанавливаем ядро и перезагружаем машину.

make installkernel

reboot или shutdown -r -now

После загрузки ОС переходим в директорию с исходниками.

cd /user/src/

И собираем мир (окружение)

make -s -j 4 buildworld

после сборки

mergemaster -p

Отвечаем на вопросы. И только после этого устанавливаем мир(окружение).

make installworld

reboot или shutdown -r -now

На этом обновление ОС закончено. Осталось пересобрать  пакеты или обновить из репозитория.

pkg upgrade или portmaster -adf

===>>> All >> (154)

===>>> The following actions will be taken if you choose to proceed:
        Re-install dialog4ports-0.1.6
        Re-install pkg-1.10.5_1
        Re-install fping-3.16
        Re-install autoconf-2.69_1
        Re-install autoconf-wrapper-20131203
        Re-install gmake-4.2.1_2
        Re-install gettext-runtime-0.19.8.1_1
        Re-install indexinfo-0.3.1
        Re-install m4-1.4.18,1
        Re-install texinfo-6.5,1
        Re-install gettext-tools-0.19.8.1
        Re-install perl5-5.26.2
        Re-install help2man-1.47.6
        Re-install p5-Locale-gettext-1.07
        Install devel/automake
        Re-install libevent-2.1.8_1
        Re-install libtool-2.4.6
        Re-install nasm-2.13.03,1
        Re-install portmaster-3.19_13
        Re-install unixODBC-2.3.6
        Re-install vim-console-8.1.0039
        Re-install pkgconf-1.4.2,1
        Re-install ca_root_nss-3.38
        Re-install expat-2.2.5
        Re-install freetype2-2.9.1
        Re-install giflib-5.1.4
        Re-install icu-61.1,1
        Re-install jbigkit-2.1_1
        Re-install jpeg-turbo-1.5.3
        Re-install libnghttp2-1.32.0
        Re-install libxml2-2.9.7
        Re-install pcre-8.42
        Re-install png-1.6.34
        Re-install apr-1.6.3.1.6.1_1
        Re-install gdbm-1.13_1
        Re-install readline-7.0.3_1
        Re-install fontconfig-2.12.6,1
        Re-install gperf-3.0.3_1
        Re-install libgcrypt-1.8.3
        Re-install libgpg-error-1.31
        Re-install libgd-2.2.4_1,1
        Re-install tiff-4.0.9_1
        Re-install webp-1.0.0
        Re-install libxslt-1.1.32
        Re-install p5-Algorithm-Diff-1.1903
        Re-install p5-AppConfig-1.71
        Re-install p5-Authen-NTLM-1.09_1
        Re-install p5-Digest-HMAC-1.03_1
        Re-install p5-Authen-SASL-2.16_1
        Re-install p5-GSSAPI-0.28_1
        Re-install p5-Carp-Clan-6.06
        Re-install p5-Class-Inspector-1.32
        Re-install p5-Class-Mix-0.006
        Re-install p5-Module-Build-0.4224
        Re-install p5-Params-Classify-0.015
        Re-install p5-Devel-CallChecker-0.008
        Re-install p5-DynaLoader-Functions-0.003
        Re-install p5-Convert-ASN1-0.27_2
        Re-install p5-Convert-BinHex-1.125
        Re-install p5-Encode-Locale-1.05
        Re-install p5-ExtUtils-Config-0.008_1
        Re-install p5-ExtUtils-Helpers-0.026
        Re-install p5-ExtUtils-InstallPaths-0.012
        Re-install p5-ExtUtils-PkgConfig-1.16
        Re-install p5-File-Listing-6.04_1
        Re-install p5-HTTP-Date-6.02_1
        Re-install p5-Font-TTF-1.06
        Re-install p5-IO-String-1.08_1
        Re-install p5-GD-2.68
        Re-install p5-GD-TextUtil-0.86_5
        Re-install p5-HTML-Parser-3.72
        Re-install p5-HTML-Tagset-3.20_1
        Re-install p5-HTTP-Cookies-6.04
        Re-install p5-HTTP-Message-6.18
        Re-install p5-IO-HTML-1.001_1
        Re-install p5-URI-1.74
        Re-install p5-LWP-MediaTypes-6.02_1
        Re-install p5-HTTP-Daemon-6.01_1
        Re-install p5-HTTP-Negotiate-6.01_1
        Re-install p5-IO-SessionData-1.03_1
        Re-install p5-IO-Socket-SSL-2.056
        Re-install p5-Net-SSLeay-1.85
        Re-install p5-Mozilla-CA-20180117
        Re-install p5-JSON-2.97.001
        Re-install p5-LWP-Protocol-https-6.07_1
        Re-install p5-Net-HTTP-6.18
        Re-install p5-libwww-6.33
        Re-install p5-Try-Tiny-0.28
        Re-install p5-WWW-RobotRules-6.02_1
        Re-install p5-MIME-Tools-5.509,2
        Re-install p5-Mail-Tools-2.19
        Re-install p5-TimeDate-2.30_2,1
        Re-install p5-Net-DNS-1.15,1
        Re-install p5-Net-Domain-TLD-1.74
        Re-install p5-Parse-RecDescent-1.967.009_2
        Re-install p5-Task-Weaken-1.06
        Re-install p5-Text-Soundex-3.05
        Re-install p5-Types-Serialiser-1.0_1
        Re-install p5-common-sense-3.74
        Re-install p5-XML-Filter-BufferText-1.01_1
        Re-install p5-XML-SAX-1.00
        Re-install p5-XML-NamespaceSupport-1.12
        Re-install p5-XML-SAX-Base-1.09
        Re-install p5-XML-Parser-2.44
        Re-install p5-XML-Parser-Lite-0.721
        Re-install p5-XML-SAX-Writer-0.57
        Re-install p5-XML-TreePP-0.43
        Re-install postgresql10-client-10.4
        Re-install apache24-2.4.33_1
        Re-install aspell-0.60.6.1_7
        Re-install bash-4.4.23
        Re-install bison-3.0.4,1
        Re-install curl-7.60.0
        Re-install net-snmp-5.7.3_18
        Re-install p5-Archive-Zip-1.60
        Re-install p5-Bit-Vector-7.4
        Re-install p5-CGI-4.38
        Re-install p5-CSS-Minifier-0.01_1
        Re-install p5-CSS-Minifier-XS-0.09_2
        Re-install p5-Crypt-Eksblowfish-0.009_3
        Re-install p5-Crypt-PasswdMD5-1.40
        Re-install p5-Crypt-SSLeay-0.72_3
        Re-install p5-Path-Class-0.37
        Re-install p5-DBI-1.641
        Re-install p5-Date-Pcalc-6.1_1
        Re-install p5-Email-Valid-1.200
        Re-install p5-GD-Graph-1.54
        Re-install p5-IO-Interactive-1.022,1
        Re-install p5-JSON-XS-3.04
        Re-install p5-JavaScript-Minifier-1.14
        Re-install p5-JavaScript-Minifier-XS-0.11_1
        Re-install p5-Lingua-Translit-0.27
        Re-install p5-Mail-IMAPClient-3.39
        Re-install p5-Module-Build-Tiny-0.039_2
        Re-install p5-Net-IMAP-Simple-1.2212
        Re-install p5-Net-SSLGlue-1.058
        Re-install p5-PDF-API2-2.033
        Re-install p5-Pod-Strip-1.02_2
        Re-install p5-Proc-Daemon-0.23
        Re-install p5-SOAP-Lite-1.27
        Re-install p5-Sisimai-4.22.6
        Re-install p5-Sys-Hostname-Long-1.5_1
        Re-install p5-Template-Toolkit-2.27
        Re-install p5-Text-CSV-1.95
        Re-install p5-Text-CSV_XS-1.34
        Re-install p5-Text-Diff-1.44
        Re-install p5-XML-FeedPP-0.95
        Re-install p5-XML-LibXML-2.0132,1
        Re-install p5-YAML-1.24
        Re-install p5-YAML-LibYAML-0.67
        Re-install p5-perl-ldap-0.6500
        Re-install postgresql10-contrib-10.4
        Re-install postgresql10-server-10.4
        Re-install zabbix34-agent-3.4.8

===>>> Proceed? y/n [y]


Подтверждаем пересборку пакетов. После перезборки перезагружаемся.

На этом можно закончить.