Re: 請問5.4 cvsup到6.0的問題 - BBS
By Queena
at 2005-11-17T05:51
at 2005-11-17T05:51
Table of Contents
※ 引述《[email protected] (我只是小小新手唷)》之銘言:
可以參考這裡
http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/
不過有些地方要稍微注意
像他中間幾步已經裝上6.0kernel(此時local ports還都是5.4compiled的)
如果有run rtc.sh 記得先拿掉(不然開機會有可能boot panic)
最後 我是在13步後 自己又重新 make world, make kernel,
(要確定你的cvsup 是tag=RELENG_6_0 !!!!)
最後在 portupgrade ...
: 跨 Release 的話,(比如 4.10 -> 4.11, 5.3 -> 5.4 之類)
: 通常是要先 make buildwolrd
: 編譯時,從 6.0 起暫不建議指令參數加上 -jN
: (比如 -j4...會死更快而已 :p)
: 詳情還是建議直接看 /usr/src/UPDATING 解釋比較清楚
: To upgrade in-place from 5.x-stable or higher to 6.x-stable
: -----------------------------------------------------------
: <make sure you have good level 0 dumps>
: make buildworld [9]
: make kernel KERNCONF=YOUR_KERNEL_HERE [8]
: [1]
: <reboot in single user> [3]
: mergemaster -p [5]
: make installworld
: mergemaster -i [4]
: <reboot>
: (略,其實很有很多要注意的細節)
: 另外我之前遇到的 setlocale(3) 問題...解法在下面這找到,順便野人獻曝一下
: http://www.freebsd.org/releases/6.0R/errata.html
: (2005/11/5) Changes of on-disk format of /usr/share/locale/*/LC_* files in
: 6.0-RELEASE prevent third-party software which uses setlocale(3) for its
: localization from working after a 5.x system upgraded. The software includes
: ones installed into the 5.x system by using FreeBSD Ports Collection and so
: on. To solve this problem, perform one of the following:
: * Install misc/compat5x package into the upgraded 6.0 system. This
: package installs a library lib/compat/libc.so.5 which makes the
: software complied in a 5.x system use the old locale files to keep
: compatibility.
: Note that you need to remove /lib/libc.so.5 after upgrading.
: This package is available only for Tier-1 platforms.
: * Recompile the software on the 6.0 system.
: 簡單講,
: 裝 /usr/ports/misc/compat5x 這樣會使原先已安裝的 i18n 程式採用相容 5.x 模式
: 記得重開機後,進 single user mode 把舊的 /lib/libc.so.5 拿掉或備份
: 最後,為確保沒有漏失,最好是重新 build/install 相關 i18n 程式 :p
: 比如: portupgrade -Rrf gettext intltool....
--
PLUR
--
可以參考這裡
http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/
不過有些地方要稍微注意
像他中間幾步已經裝上6.0kernel(此時local ports還都是5.4compiled的)
如果有run rtc.sh 記得先拿掉(不然開機會有可能boot panic)
最後 我是在13步後 自己又重新 make world, make kernel,
(要確定你的cvsup 是tag=RELENG_6_0 !!!!)
最後在 portupgrade ...
: 跨 Release 的話,(比如 4.10 -> 4.11, 5.3 -> 5.4 之類)
: 通常是要先 make buildwolrd
: 編譯時,從 6.0 起暫不建議指令參數加上 -jN
: (比如 -j4...會死更快而已 :p)
: 詳情還是建議直接看 /usr/src/UPDATING 解釋比較清楚
: To upgrade in-place from 5.x-stable or higher to 6.x-stable
: -----------------------------------------------------------
: <make sure you have good level 0 dumps>
: make buildworld [9]
: make kernel KERNCONF=YOUR_KERNEL_HERE [8]
: [1]
: <reboot in single user> [3]
: mergemaster -p [5]
: make installworld
: mergemaster -i [4]
: <reboot>
: (略,其實很有很多要注意的細節)
: 另外我之前遇到的 setlocale(3) 問題...解法在下面這找到,順便野人獻曝一下
: http://www.freebsd.org/releases/6.0R/errata.html
: (2005/11/5) Changes of on-disk format of /usr/share/locale/*/LC_* files in
: 6.0-RELEASE prevent third-party software which uses setlocale(3) for its
: localization from working after a 5.x system upgraded. The software includes
: ones installed into the 5.x system by using FreeBSD Ports Collection and so
: on. To solve this problem, perform one of the following:
: * Install misc/compat5x package into the upgraded 6.0 system. This
: package installs a library lib/compat/libc.so.5 which makes the
: software complied in a 5.x system use the old locale files to keep
: compatibility.
: Note that you need to remove /lib/libc.so.5 after upgrading.
: This package is available only for Tier-1 platforms.
: * Recompile the software on the 6.0 system.
: 簡單講,
: 裝 /usr/ports/misc/compat5x 這樣會使原先已安裝的 i18n 程式採用相容 5.x 模式
: 記得重開機後,進 single user mode 把舊的 /lib/libc.so.5 拿掉或備份
: 最後,為確保沒有漏失,最好是重新 build/install 相關 i18n 程式 :p
: 比如: portupgrade -Rrf gettext intltool....
--
PLUR
--
Tags:
BBS
All Comments
Related Posts
PHP 安裝遇到問題
By Connor
at 2005-11-17T01:10
at 2005-11-17T01:10
請問big5con的注音輸入要如何選字
By Regina
at 2005-11-15T10:52
at 2005-11-15T10:52
請問big5con的注音輸入要如何選字
By Eden
at 2005-11-15T00:59
at 2005-11-15T00:59
FreeBSD 安裝上的小建議....
By Freda
at 2005-11-14T23:05
at 2005-11-14T23:05
Re: portupgrade安裝失敗
By Skylar DavisLinda
at 2005-11-14T17:24
at 2005-11-14T17:24