Upgrading from FreeBSD 10.3-RELEASE and Earlier
# : > /usr/bin/bspatch # freebsd-update upgrade -r 11.0-RELEASE # freebsd-update install <reboot the system> # freebsd-update install <rebuild third-party software> #portmaster -vda # freebsd-update install
https://www.freebsd.org/releases/11.0R/announce.html Статья по обновлению: http://serveradmin.ru/obnovlenie-freebsd-10-3-do-11-0/
Мой опыт, пробуем:
root:/ # : > /usr/bin/bspatch
root:/ # freebsd-update upgrade -r 11.0-RELEASE
src component not installed, skipped
Looking up update.FreeBSD.org mirrors… 4 mirrors found.
Fetching public key from update4.freebsd.org… done.
Fetching metadata signature for 10.3-RELEASE from update4.freebsd.org… done.
Fetching metadata index… done.
Fetching 2 metadata files… done.
Inspecting system… done.
The following components of FreeBSD seem to be installed:
kernel/generic 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 11.0-RELEASE from update4.freebsd.org… done.
Fetching metadata index… done.
Fetching 1 metadata patches. done.
Applying metadata patches… done.
Fetching 1 metadata files… done.
The update metadata is correctly signed, but
failed an integrity check.
Cowardly refusing to proceed any further.
root:/ # freebsd-update install
src component not installed, skipped
No updates are available to install.
Run ‘/usr/sbin/freebsd-update fetch’ first.
root:/ # /usr/sbin/freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors… none found.
Fetching metadata signature for 10.3-RELEASE from update.FreeBSD.org… done.
Fetching metadata index… done.
Fetching 1 metadata files… done.
Inspecting system… done.
Preparing to download files… done.
Fetching 85 patches…..10….20….30….40….50….60….70….80.. done.
Applying patches… done.
Fetching 79 files…
Не были установлены исходники
сделал так:
# fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/10.3-RELEASE/src.txz
# tar -C / -xzvf src.txz
The following files will be updated as part of updating to 10.3-RELEASE-p12:
/usr/bin/bspatch
https://www.freebsd.org/security/advisories/FreeBSD-SA-16:29.bspatch.asc
#portmaster -vda
# uname -a
FreeBSD gw.local 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 03:40:55 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
# mc
Shared object "libssl.so.7" not found, required by "libssh2.so.1"
из обнаруженного сразу не работает:
# mc
Shared object "libssl.so.7" not found, required by "libssh2.so.1"
openvpn
squid
Пробую решить проблему:
#portsnap fetch extract
ee /etc/make.conf добавляем строчку ниже
DEFAULT_VERSIONS+=ssl=openssl
#portmaster security/openssl