FreeBSD は STABLE だったら freebsd-update 失敗するので UNAME_rをすげかえてやるみたい
[root@freebsd] # freebsd-update upgrade -r 10.3
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 10.2-STABLE from update4.freebsd.org... failed.
Fetching metadata signature for 10.2-STABLE from update5.freebsd.org... failed.
Fetching metadata signature for 10.2-STABLE from update6.freebsd.org... failed.
Fetching metadata signature for 10.2-STABLE from update3.freebsd.org... failed.
No mirrors remaining, giving up.
[root@freebsd] # export UNAME_r="10.2-RELEASE"
[root@freebsd] # freebsd-update upgrade -r 10.3
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 10.2-RELEASE from update6.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata patches.. done.
Applying metadata patches... done.
Inspecting system... done.The following components of FreeBSD seem to be installed:
kernel/generic src/src world/base world/doc world/games world/lib32The following components of FreeBSD do not seem to be installed:
Does this look reasonable (y/n)? y
Fetching metadata signature for 10.3-RELEASE from update6.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
freeBSD11にあげた
メジャーバージョンが上がるといろいろ出てくる。
14:24 hoge@freebsd # ssh
Shared object "libcrypto.so.7" not found, required by "libldns.so.1"
まじか!!!www
救済の為にtelnet 有効にしていろいろ戻す。
# cd /
# wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE/base.txz
Shared object "libssl.so.7" not found, required by "wget"
# curl ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE/base.txz
Shared object "libssl.so.7" not found, required by "libcurl.so.4"
# cd /
# fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE/base.txz
# fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE/lib32.txz
freeBSDでよかった。fetchサイコー (ワラ
# tar xfp lib32.txz -C /
# tar xfp base.txz -C /
パスワードとか消えるので。
# adduser
# vi /etc/group
いろいろ消えたぜw
cbmpviewer 20130609_248116.bmp > motd
su
cp motd /etc/motd
cd /usr/ports/security/sudo
make DISABLE_VULNERABILITIES=yes
su
setenv FORCE_PKG_REGISTER 1
make install
ぁぁぁぁcd /usr/ports/security/libressl
ぁぁぁぁmake DISABLE_VULNERABILITIES=yes