- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2021-05-19T16:18:27+09:00","default:kuji","kuji")
#author("2021-05-20T14:08:19+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
https://qiita.com/psaxuww/items/4f14414999fc1b31ca11
*FreeBSD 11.4 to 12.2 [#ib2c4c82]
**freebsd-update -r 12.2-RELEASE upgrade [#vfa053ab]
# freebsd-update -r 12.2-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 11.4-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata patches.. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic world/base world/lib32
The following components of FreeBSD do not seem to be installed:
kernel/generic-dbg world/base-dbg world/doc world/lib32-dbg
Does this look reasonable (y/n)?
**y [#occ1ad4a]
Fetching metadata signature for 12.2-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 11.4-RELEASE for merging... done.
Preparing to download files... done.
Fetching 9250 patches.....10....20
Applying patches... done.
Fetching 10227 files...
The following file could not be merged automatically: /etc/ssh/moduli
Press Enter to edit this file in vi and resolve the conflicts
manually...
/var/db/etcupdate/current/root/.login
/var/db/etcupdate/current/root/.profile
/var/db/etcupdate/log
/var/db/mergemaster.mtree
/var/empty
/var/yp/Makefile.dist
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
** /usr/sbin/freebsd-update install [#ud6be612]
Installing updates...
Kernel updates have been installed. Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.
** reboot [#a2446db6]
** /usr/sbin/freebsd-update install [#s61d79cc]
Installing updates...
Completing this upgrade requires removing old shared object files.
Please rebuild all installed 3rd party software (e.g., programs
installed from the ports tree) and then run "/usr/sbin/freebsd-update install"
again to finish installing updates.
** portupgrade -arf --batch [#p00e5468]
# portupgrade -arf --batch
** Shared object "libssl.so.8" not found [#b13737eb]
https://forums.freebsd.org/threads/i-cant-upgrade-pkg-after-upgrading-11-2-to-12-0.68717/
** pkg-static install -f pkg [#xb525379]
pkg-static: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 6 MiB 288.9kB/s 00:20
Processing entries: 100%
FreeBSD repository update completed. 25385 packages processed.
Updating database digests format: 100%
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be DOWNGRADED:
pkg: 1.9.2 -> 1.8.8
Number of packages to be downgraded: 1
The process will require 2 MiB more space.
2 MiB to be downloaded.
Proceed with this action? [y/N]:
** y [#u603e75d]
** portupgrade -af --batch or pkg upgrade [#wfe41bd2]
** Port deleted on 2020-09-19: www/mod_python35
Has expired: Uses deprecated version of python
** Port deleted on 2020-09-19: japanese/mailman
Has expired: Uses deprecated version of python
** Port marked as IGNORE: security/p5-OpenCA-OpenSSL:
is marked as broken: does not build with DEFAULT_VERSIONS+=ssl=openssl: incomplete definition of type 'struct x509_st'
** /usr/sbin/freebsd-update install [#o22baaff]
* FreeBSD 10 から Bind の同梱がなくなった [#v5bcc91b]
ので、namedbの位置が変わっているので注意!!
* FreeBSDー12 システムのOpenSSL を使う様に変更 [#rc070985]
FreeBSD 9 以前 /etc/namedb
/etc/make.conf の OpenSSL コメントアウト
FreeBSD 10 以後 /usr/local/etc/namedb
#DEFAULT_VERSIONS+=ssl=openssl
# /usr/sbin/freebsd-update install
Installing updates...rmdir: ///var/named/var/dump: Directory not empty
rmdir: ///var/named/var: Directory not empty
rmdir: ///var/named/etc/namedb: Directory not empty
rmdir: ///var/named/etc: Directory not empty
rmdir: ///var/named: Directory not empty
Apache24 PHP73 再コンパイル
# portupgrade -rfR --batch apache24-2.4.46_2
# portupgrade -rf 'php73*'
# portupgrade -rf curl-7.76.1 --batch
# portupgrade -f -m "DISABLE_VULNERABILITIES=yes" mysq80-server
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);