CONTENTS
Lastmodified 2021-06-14 (月) 06:56:28
https://qiita.com/psaxuww/items/4f14414999fc1b31ca11
# 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)?
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".
Installing updates... Kernel updates have been installed. Please reboot and run "/usr/sbin/freebsd-update install" again to finish installing updates.
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
https://forums.freebsd.org/threads/i-cant-upgrade-pkg-after-upgrading-11-2-to-12-0.68717/
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]:
** 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'
/etc/make.conf の OpenSSL コメントアウト
#DEFAULT_VERSIONS+=ssl=openssl
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 977:本日 1:昨日 0