FreeBSD 9.3 to 10.1
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
[[freebsd-update upgrade -r 9.1-RELEASE]]
*FreeBSD 9.3 to 10.2 [#v758ae98]
幾つか気になる情報もあるが・・・
http://www.uconst.org/blog/archives/433
http://dwl.cocolog-nifty.com/wetware/2015/01/freebsd-101-...
アップグレードしてみることに・・・
freebsd-update -r 10.2-RELEASE upgrade
# freebsd-update -r 10.2-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 9.3-RELEASE from update....
Fetching metadata index... done.
Fetching 1 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 ...
The following components of FreeBSD do not seem to be in...
Does this look reasonable (y/n)? y
Fetching metadata signature for 10.2-RELEASE from update...
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 9.3-RELEASE for merging... done.
Preparing to download files...
Fetching 40097
patches.....10....20....30....40....50....60....70....80...
....180....190....200....210....220....230....240....250...
....350....360....370....380....390....400....410....420
: :
....39970....39980....39990....40000....40010....40020.....
Applying patches... done.
Fetching 14262 files...
Attempting to automatically merge changes in files... do...
The following file could not be merged automatically: /e...
Press Enter to edit this file in vi and resolve the conf...
manually...
/var/db/mergemaster.mtree
/var/empty
/var/yp/Makefile.dist
To install the downloaded upgrades, run "/usr/sbin/fre...
# /usr/sbin/freebsd-update install
Installing updates...
Kernel updates have been installed. Please reboot and run
"/usr/sbin/freebsd-update install" again to finish insta...
# reboot
FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC...
# /usr/sbin/freebsd-update install
Installing updates...
Completing this upgrade requires removing old shared obj...
Please rebuild all installed 3rd party software (e.g., p...
installed from the ports tree) and then run "/usr/sbin/f...
again to finish installing updates.
ここで、念のため # portsnap fetch update してから、# por...
# portversion -vl'<'
pkg-static: Warning: Major OS version upgrade detected. ...
pkg-static: Warning: Major OS version upgrade detected. ...
pkg-static: Warning: Major OS version upgrade detected. ...
pkg-static: Warning: Major OS version upgrade detected. ...
[Reading data from pkg(8) ... pkg: Warning: Major OS ver...
- 388 packages found - done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ....
.........1000.........2000.........3000.........4000.......
.........9000.........10000.........11000.........12000....
..16000.........17000.........18000.........19000..........
.........24000.........25000.. ..... done]
libEGL-9.1.7_5 < needs updating (port has ...
libGL-9.1.7_4 < needs updating (port has ...
libglapi-9.1.7_2 < needs updating (port has ...
# pkg-static install -f pkg
pkg-static: Warning: Major OS version upgrade detected. ...
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-c...
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 5 MiB 1.4MB/s 00:04
Processing entries: 100%
FreeBSD repository update completed. 24532 packages proc...
New version of pkg detected; it needs to be installed fi...
The following 1 package(s) will be affected (of 0 checke...
Installed packages to be REINSTALLED:
pkg-1.5.6 (ABI changed: 'freebsd:9:x86:64' -> 'f...
The process will require 2 MiB more space.
2 MiB to be downloaded.
Proceed with this action? [y/N]: y
Fetching pkg-1.5.6.txz: 100% 2 MiB 1.2MB/s 00:02
Checking integrity... done (0 conflicting)
[1/1] Reinstalling pkg-1.5.6...
You may need to manually remove /usr/local/etc/pkg.conf ...
[1/1] Extracting pkg-1.5.6: 100%
Message for pkg-1.5.6:
If you are upgrading from the old package format, first...
# pkg2ng
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checke...
Installed packages to be REINSTALLED:
pkg-1.5.6
Proceed with this action? [y/N]: y
[1/1] Reinstalling pkg-1.5.6...
You may need to manually remove /usr/local/etc/pkg.conf ...
[1/1] Extracting pkg-1.5.6: 100%
Message for pkg-1.5.6:
If you are upgrading from the old package format, first...
# pkg2ng
Installing mysql-server-5.5.33...
pkg: mysql-server-5.5.33 conflicts with mysql55-server-5...
Converting curl-7.33.0_2...
pkg: Unable to access file /usr/local/share/licenses/cur...
pkg: Unable to access file /usr/local/share/licenses/cur...
pkg: Unable to access file /usr/local/share/licenses/cur...
pkg: Unable to access file /usr/local/lib/libcurl.la: No...
pkg: lstat(/usr/local/share/licenses/curl-7.33.0_2/): No...
pkg: Unable to access file /usr/local/share/doc/curl/REA...
pkg: Unable to access file /usr/local/share/doc/curl/REA...
pkg: Unable to access file /usr/local/share/examples/cur...
pkg: Unable to access file /usr/local/share/examples/cur...
pkg: Unable to access file /usr/local/share/examples/cur...
pkg: Unable to access file /usr/local/share/examples/cur...
Installing curl-7.33.0_2...
Analysing shared libraries, this will take a while...
Checking all packages: 100%
portversion -vl'<'
: :
ruby-1.9.3.448,1 < needs updating (port has ...
と言うことのようなので、
先ずは、# portupgrade ruby
# /usr/sbin/freebsd-update install
Installing updates...rmdir: ///var/run/named: Directory ...
rmdir: ///var/named/var/run/named: Directory not empty
rmdir: ///var/named/var/run: 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/dev: Device busy
rmdir: ///var/named: Directory not empty
rmdir: ///usr/src/contrib/bind9: Directory not empty
done.
10.2-RELEASE FreeBSD 10.2-RELEASE #0
* MySQL55 が起動しない [#db4d232a]
/var/db/mysql/FQDN.err
150906 13:00:51 mysqld_safe Starting mysqld daemon with ...
Shared object "libstdc++.so.6" not found, required by "m...
150906 13:00:51 mysqld_safe mysqld from pid file /var/db...
http://blog.khmersite.net/2014/04/freebsd-10-shared-objec...
portupgrade -fR mysql55-server
で、関連ライブラリを再度インストールして起動できる。念の...
Shared object "libstdc++.so.6" not found, required by "li...
lang/gcc
*php5 を php55を指すようにする [#t8fd04d8]
# pkg set -o lang/php5:lang/php55
Change origin from lang/php5 to lang/php55 for all depen...
# portinstall lang/php5
https://www.freebsd.org/doc/ja/books/handbook/pkgng-intro...
*** daily security run output [#w2eb679a]
Warning: Variable $daily_status_security_logdir is depre...
Warning: Variable $daily_status_security_diff_flags is d...
Warning: Variable $daily_status_security_chksetuid_enabl...
/etc/periodic/security/100.chksetuid: security_status_ch...
/etc/periodic/security/100.chksetuid: security_status_ch...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
[[freebsd-update upgrade -r 9.1-RELEASE]]
*FreeBSD 9.3 to 10.2 [#v758ae98]
幾つか気になる情報もあるが・・・
http://www.uconst.org/blog/archives/433
http://dwl.cocolog-nifty.com/wetware/2015/01/freebsd-101-...
アップグレードしてみることに・・・
freebsd-update -r 10.2-RELEASE upgrade
# freebsd-update -r 10.2-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 9.3-RELEASE from update....
Fetching metadata index... done.
Fetching 1 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 ...
The following components of FreeBSD do not seem to be in...
Does this look reasonable (y/n)? y
Fetching metadata signature for 10.2-RELEASE from update...
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 9.3-RELEASE for merging... done.
Preparing to download files...
Fetching 40097
patches.....10....20....30....40....50....60....70....80...
....180....190....200....210....220....230....240....250...
....350....360....370....380....390....400....410....420
: :
....39970....39980....39990....40000....40010....40020.....
Applying patches... done.
Fetching 14262 files...
Attempting to automatically merge changes in files... do...
The following file could not be merged automatically: /e...
Press Enter to edit this file in vi and resolve the conf...
manually...
/var/db/mergemaster.mtree
/var/empty
/var/yp/Makefile.dist
To install the downloaded upgrades, run "/usr/sbin/fre...
# /usr/sbin/freebsd-update install
Installing updates...
Kernel updates have been installed. Please reboot and run
"/usr/sbin/freebsd-update install" again to finish insta...
# reboot
FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC...
# /usr/sbin/freebsd-update install
Installing updates...
Completing this upgrade requires removing old shared obj...
Please rebuild all installed 3rd party software (e.g., p...
installed from the ports tree) and then run "/usr/sbin/f...
again to finish installing updates.
ここで、念のため # portsnap fetch update してから、# por...
# portversion -vl'<'
pkg-static: Warning: Major OS version upgrade detected. ...
pkg-static: Warning: Major OS version upgrade detected. ...
pkg-static: Warning: Major OS version upgrade detected. ...
pkg-static: Warning: Major OS version upgrade detected. ...
[Reading data from pkg(8) ... pkg: Warning: Major OS ver...
- 388 packages found - done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ....
.........1000.........2000.........3000.........4000.......
.........9000.........10000.........11000.........12000....
..16000.........17000.........18000.........19000..........
.........24000.........25000.. ..... done]
libEGL-9.1.7_5 < needs updating (port has ...
libGL-9.1.7_4 < needs updating (port has ...
libglapi-9.1.7_2 < needs updating (port has ...
# pkg-static install -f pkg
pkg-static: Warning: Major OS version upgrade detected. ...
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-c...
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 5 MiB 1.4MB/s 00:04
Processing entries: 100%
FreeBSD repository update completed. 24532 packages proc...
New version of pkg detected; it needs to be installed fi...
The following 1 package(s) will be affected (of 0 checke...
Installed packages to be REINSTALLED:
pkg-1.5.6 (ABI changed: 'freebsd:9:x86:64' -> 'f...
The process will require 2 MiB more space.
2 MiB to be downloaded.
Proceed with this action? [y/N]: y
Fetching pkg-1.5.6.txz: 100% 2 MiB 1.2MB/s 00:02
Checking integrity... done (0 conflicting)
[1/1] Reinstalling pkg-1.5.6...
You may need to manually remove /usr/local/etc/pkg.conf ...
[1/1] Extracting pkg-1.5.6: 100%
Message for pkg-1.5.6:
If you are upgrading from the old package format, first...
# pkg2ng
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checke...
Installed packages to be REINSTALLED:
pkg-1.5.6
Proceed with this action? [y/N]: y
[1/1] Reinstalling pkg-1.5.6...
You may need to manually remove /usr/local/etc/pkg.conf ...
[1/1] Extracting pkg-1.5.6: 100%
Message for pkg-1.5.6:
If you are upgrading from the old package format, first...
# pkg2ng
Installing mysql-server-5.5.33...
pkg: mysql-server-5.5.33 conflicts with mysql55-server-5...
Converting curl-7.33.0_2...
pkg: Unable to access file /usr/local/share/licenses/cur...
pkg: Unable to access file /usr/local/share/licenses/cur...
pkg: Unable to access file /usr/local/share/licenses/cur...
pkg: Unable to access file /usr/local/lib/libcurl.la: No...
pkg: lstat(/usr/local/share/licenses/curl-7.33.0_2/): No...
pkg: Unable to access file /usr/local/share/doc/curl/REA...
pkg: Unable to access file /usr/local/share/doc/curl/REA...
pkg: Unable to access file /usr/local/share/examples/cur...
pkg: Unable to access file /usr/local/share/examples/cur...
pkg: Unable to access file /usr/local/share/examples/cur...
pkg: Unable to access file /usr/local/share/examples/cur...
Installing curl-7.33.0_2...
Analysing shared libraries, this will take a while...
Checking all packages: 100%
portversion -vl'<'
: :
ruby-1.9.3.448,1 < needs updating (port has ...
と言うことのようなので、
先ずは、# portupgrade ruby
# /usr/sbin/freebsd-update install
Installing updates...rmdir: ///var/run/named: Directory ...
rmdir: ///var/named/var/run/named: Directory not empty
rmdir: ///var/named/var/run: 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/dev: Device busy
rmdir: ///var/named: Directory not empty
rmdir: ///usr/src/contrib/bind9: Directory not empty
done.
10.2-RELEASE FreeBSD 10.2-RELEASE #0
* MySQL55 が起動しない [#db4d232a]
/var/db/mysql/FQDN.err
150906 13:00:51 mysqld_safe Starting mysqld daemon with ...
Shared object "libstdc++.so.6" not found, required by "m...
150906 13:00:51 mysqld_safe mysqld from pid file /var/db...
http://blog.khmersite.net/2014/04/freebsd-10-shared-objec...
portupgrade -fR mysql55-server
で、関連ライブラリを再度インストールして起動できる。念の...
Shared object "libstdc++.so.6" not found, required by "li...
lang/gcc
*php5 を php55を指すようにする [#t8fd04d8]
# pkg set -o lang/php5:lang/php55
Change origin from lang/php5 to lang/php55 for all depen...
# portinstall lang/php5
https://www.freebsd.org/doc/ja/books/handbook/pkgng-intro...
*** daily security run output [#w2eb679a]
Warning: Variable $daily_status_security_logdir is depre...
Warning: Variable $daily_status_security_diff_flags is d...
Warning: Variable $daily_status_security_chksetuid_enabl...
/etc/periodic/security/100.chksetuid: security_status_ch...
/etc/periodic/security/100.chksetuid: security_status_ch...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: