宮尾です。

> とりあえず、7.2マシンでbuildできましたので、連休中に再度installしてみま
す。

installしてみました。

7.2マシンの/usr/srcと/usr/objで、7.2-p3のソースコードで
make buildkernel, make buildworldを行いました。

5.5machineの/usr/srcと/usr/objに7.2マシンの/usr/src/と/usr/objを
それぞれマウントしました。

まず、5.5マシンの/usr/srcでinstallしようとしました。
5.5machine# make installworld
ERROR: Required audit group is missing, see /usr/src/UPDATING.
となりました。

mergemaster -p でエラーの原因になっているauditグループや_dhcp等
を追加しました。

5.5machine# mergemaster -p
  Use 'd' to delete the temporary ./etc/master.passwd
  Use 'i' to install the temporary ./etc/master.passwd
  Use 'm' to merge the temporary and installed versions
  Use 'v' to view the diff results again

  Default is to leave the temporary file to deal with by hand

How should I deal with this? [Leave it for later] m
                                                    >
_dhcp:*:65:65::0:0:dhcp programs:/var/empty:/usr/
     *** Merged version of ./etc/master.passwd installed successfully

  Use 'd' to delete the temporary ./etc/group
  Use 'i' to install the temporary ./etc/group
  Use 'm' to merge the temporary and installed versions
  Use 'v' to view the diff results again

  Default is to leave the temporary file to deal with by hand

How should I deal with this? [Leave it for later] m
                                                    >   ftp:*:14:

                                                    >   _dhcp:*:65:
                                                    >   audit:*:77:
    *** How should I deal with the merged file? [Leave it for later] i

     *** Merged version of ./etc/group installed successfully
*** Comparison complete

Do you wish to delete what is left of /var/tmp/temproot? [no]
 *** /var/tmp/temproot will remain

*** You installed a new master.passwd file, so make sure that you run
    '/usr/sbin/pwd_mkdb -p /etc/master.passwd'
     to rebuild your password files

    Would you like to run it now? y or n [n] y


つぎにmake installkernel, installworldを実行しました。

5.5machine# pwd
/usr/src
5.5machine# make installkernel
5.5machine# make installworld
.
略
.
===> etc (install)
===> etc/sendmail (install)
cd /usr/src/etc/../share/man; make makedb
makewhatis /usr/share/man
makewhatis /usr/share/openssl/man
rm -rf /tmp/install.lPPbQguF

今度は、うまくインストールできたので、
再度mergemasterを実行しました。

5.5machine# mergemaster -UPiF

*** Beginning comparison

   *** Checking /etc/rc.d for stale files

   *** The following files exist in /etc/rc.d but not in
       /var/tmp/temproot/etc/rc.d/:

 gbde_swap ike initdiskless nfslocking pccard pcvt ppp-user preseedrandom
rcconf.sh usbd vinum

       The presence of stale files in this directory can cause the
       dreaded unpredictable results, and therefore it is highly
       recommended that you delete them.

   *** Delete them now? [n] y

Do you wish to delete what is left of /var/tmp/temproot? [no]
 *** /var/tmp/temproot will remain
.
略
.
*** You installed a new aliases file, so make sure that you run
    '/usr/bin/newaliases' to rebuild your aliases database

    Would you like to run it now? y or n [n] y
    Running /usr/bin/newaliases

/etc/mail/aliases: 27 aliases, longest 10 bytes, 275 bytes total

*** You installed a login.conf file, so make sure that you run
    '/usr/bin/cap_mkdb /etc/login.conf'
     to rebuild your login.conf database

    Would you like to run it now? y or n [n] y
    Running /usr/bin/cap_mkdb /etc/login.conf

mergematerが完了してから、rebootしました。

/usr/srcでmake delete-oldをすると、残っている5.5の
古いファイルやライブラリが消えます。

消さない間は、5.5でコンパイルした、apacheやposgtresがそのまま動きます。
消すと、動かなくなるので、クリーンインストールが必要となります。

ということで、5.5から7.2へ移行できました。

アドバイスをしていただいた皆様、どうもありがとうございました。

--
宮尾安藝雄 博士(農学)
独立行政法人 農業生物資源研究所
基盤研究領域 ゲノムリソースセンター
〒305-8602 茨城県つくば市観音台2-1-2
mailto:mi...@affrc.go.jp
居場所 http://tos.nias.affrc.go.jp/cgi-bin/renraku.cgi?id=miyao

メールによる返信