Обновление с помощью freebsd-update — различия между версиями
Root (обсуждение | вклад) |
Root (обсуждение | вклад) |
||
Строка 84: | Строка 84: | ||
Inspecting system... done. | Inspecting system... done. | ||
Fetching files from 9.1-RELEASE for merging... done. | Fetching files from 9.1-RELEASE for merging... done. | ||
− | Preparing to download files... | + | Preparing to download files... done |
− | + | Fetching 39975 patches..... | |
− | + | Процесс долгий, так что идём пить чаёк | |
Версия 15:08, 8 апреля 2014
Обновление FreeBSD 9.1 до 10.0-RELEASE при помощи freebsd-update
Текущая версия
# uname -a FreeBSD freebsd 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:38:17 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
Запускаем обновление
# freebsd-update upgrade -r 10.0-RELEASE Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 9.1-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata patches.. done. Applying metadata patches... done. Inspecting system... The following components of FreeBSD seem to be installed: kernel/generic src/src world/base world/lib32
При установке не ставились документация и игры, freebsd-update уточняет этот момент
The following components of FreeBSD do not seem to be installed: world/doc world/games Does this look reasonable (y/n)? y Fetching metadata signature for 10.0-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further.
Упс. Придётся обновить до последней версии
# freebsd-update fetch install Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 9.1-RELEASE from update6.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Inspecting system... done. Preparing to download files... done. Fetching 56 patches.....10....20....30....40....50... done. Applying patches... done. The following files will be updated as part of updating to 9.1-RELEASE-p10: /boot/kernel/kernel /boot/kernel/kernel.symbols /boot/kernel/mfi.ko /boot/kernel/mfi.ko.symbols /boot/kernel/mfip.ko /boot/kernel/mfip.ko.symbols /boot/kernel/nullfs.ko /boot/kernel/nullfs.ko.symbols /boot/kernel/random.ko .............. Installing updates... done.
Перегружаемся и проверяем
# reboot # uname -a FreeBSD freebsd 9.1-RELEASE-p10 FreeBSD 9.1-RELEASE-p10 #0: Sun Jan 12 10:32:09 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
Снова запускаем апгрейд до 10.0-RELEASE
# freebsd-update upgrade -r 10.0-RELEASE Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 9.1-RELEASE from update4.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/src world/base The following components of FreeBSD do not seem to be installed: world/doc world/games Does this look reasonable (y/n)? y Fetching metadata signature for 10.0-RELEASE from update4.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Fetching files from 9.1-RELEASE for merging... done. Preparing to download files... done Fetching 39975 patches.....
Процесс долгий, так что идём пить чаёк
# uname -a FreeBSD freebsd 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386