CONTENTS
#contents
----
Lastmodified &lastmod;
----
*Duplicated origin: graphics/freeglut - freeglut-2.8.0 libglut-7.4.4 [#b0c86fe2]


2013-03-25 10:07:09

取り敢えず、ワサ~っとFreeBSD7.1Rから9.1RへUPしたあと、もう一度、判断保留していたアレを(^^ゞ
 root@mail:/root # pkgdb -F
 --->  Checking the package registry database
 Duplicated origin: graphics/freeglut - freeglut-2.8.0 libglut-7.4.4
これ。ググルと、以下の記事に・・・~
http://kog.seesaa.net/article/285545620.html
**FreeBSD ports libglut => freeglut [#bc758494]
/usr/ports/UPDATINGには、portmasterしか記載されていない。~
portupgradeで行う方法。 
 # env DISABLE_CONFLICTS=1 portupgrade -o graphics/freeglut -f libglut-7\*
 # portupgrade -rf freeglut


 root@mail:/root # pkgdb -F
 --->  Checking the package registry database
 root@mail:/root #
( ´▽`)ノ


http://airknights.fumimi.com/freebsd/inst/portupgrade.php
 root@mail:/root # portversion -c
 #
 #  xz
 #  needs updating (port has 5.0.4)
 #
 pkgs="$pkgs xz-5.0.3"
 
 
 if [ X"$pkgs" != X"" ]; then
   portupgrade "$@" $pkgs
 fi
 root@mail:/root #
 root@mail:/root #
 root@mail:/root # portupgrade xz-5.0.3
 ** Port marked as IGNORE: archivers/xz:
         is already in the base system
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
         - archivers/xz (marked as IGNORE)
 root@mail:/root #


----
*freebsd-update -r 9.1-RELEASE upgrade from 7.1R-p15 [#ycd6b983]
http://www.freebsd.org/doc/ja/books/handbook/updating-upgrading-freebsdupdate.html

2013-03-23 10:07:09

FreeBSD 7.1R-p15 から、9.1Rへfreebsd-update upgrade アップグレード~
バージョンアップに先立って全ライブラリのバックアップを取っておくことを強く推奨。~
また、/var/db/freebsd-updateにファイルが大量に書き込まれるので、/usrなどにln -s しておくと良いかも知れません。

今回は、/var/db → /usr/var/var/db へ、シンボリックリンクしました。

 mail# df
 Filesystem  1K-blocks    Used     Avail Capacity  Mounted on
 /dev/ad0s1a    507630  215442    251578    46%    /
 devfs               1       1         0   100%    /dev
 /dev/ad0s1e    507630      16    467004     0%    /tmp
 /dev/ad0s1f 150729078 9392978 129277774     7%    /usr
 /dev/ad0s1d   2012718 1022116    829586    55%    /var
 mail# 
 mail#
 mail# freebsd-update -r 9.1-RELEASE upgrade
 Looking up update.FreeBSD.org mirrors... 3 mirrors found.
 Fetching metadata signature for 7.1-RELEASE from update4.freebsd.org... done.
 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/base src/bin src/cddl src/contrib src/crypto src/etc
 src/games src/gnu src/include src/krb5 src/lib src/libexec src/release
 src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin
 src/usbin world/base world/catpages world/dict world/games world/info
 world/manpages world/proflibs
 
 The following components of FreeBSD do not seem to be installed:
 world/doc
 
 Does this look reasonable (y/n)?  y
 
 Fetching metadata signature for 9.1-RELEASE from update4.freebsd.org... done.
 Fetching metadata index... done.
 Fetching 1 metadata patches. done.
 Applying metadata patches... done.
 Fetching 1 metadata files... done.
 
 The update metadata is correctly signed, but   アップデートのメタデータが正しく署名されていますが、 
 failed an integrity check.                     整合性チェックに失敗しました。
 Cowardly refusing to proceed any further.      臆病はそれ以上進行することを拒否。 (googleの翻訳w)

と言われて、止まってしまいます。ググりますと、

http://viktorpetersson.com/2012/01/16/how-to-upgrade-freebsd-8-2-to-freebsd-9-0-with-virtio/

とのことにて、修正をば・・・
 mail# sed -i '' -e 's/=_/=%@_/' /usr/sbin/freebsd-update

して、

 mail# freebsd-update -r 9.1-RELEASE upgrade
 
 Looking up update.FreeBSD.org mirrors... 3 mirrors found.
 Fetching metadata signature for 7.2-RELEASE from update5.freebsd.org... done.
 Fetching metadata index... done.
 Inspecting system... done.
 
 The following components of FreeBSD seem to be installed:
 kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc
 src/games src/gnu src/include src/krb5 src/lib src/libexec src/release
 src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin
 src/usbin world/base world/catpages world/dict world/doc world/games
 world/info world/manpages world/proflibs
 
 The following components of FreeBSD do not seem to be installed:
 
 Does this look reasonable (y/n)? y
 
 Fetching metadata signature for 9.1-RELEASE from update5.freebsd.org... done.
 Fetching metadata index... done.
 Inspecting system... done.
 Fetching files from 7.2-RELEASE for merging... done.
 Preparing to download files... done.
 Fetching 8780 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....
 ....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290
 ....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440...
 .450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....60
 0....610....620....630....640....650....660....670....680....690....700....710....720....730....740....750..
 ..760....770....780....790....800....810....820....830....840....850....860....870....880....890....900....9
 10....920....930....940....950....960....970....980....990....1000....1010....1020....1030....1040....1050..
 ..1060....1070....1080....1090....1100....1110....1120....1130....1140....1150....1160....1170....1180....11
 90....1200....1210....1220....1230....1240....1250....1260....1270....1280....1290....1300....13
 :
 :
 ....8520....8530....8540....8550....8560....8570....8580....8590....8600....8610....8620....8630....8640....
 8650....8660....8670....8680....8690....8700....8710....8720....8730....8740....8750....8760....8770....8780
 done.
 Applying patches... done.


viで各種ファイル編集。


 mail# freebsd-update install
 Installing updates...rmdir: ///boot/kernel: Directory not empty
 
 Kernel updates have been installed.  Please reboot and run
 "/usr/sbin/freebsd-update install" again to finish installing updates.
 mail# reboot
FreeBSD 9.1-RELEASE (GENERIC) #0 r243826: Tue Dec  4 06:55:39 UTC 2012
 mail# freebsd-update install
 Installing updates...ln: ///root/.cshrc: Cross-device link
 ln: ///root/.profile: Cross-device link
 rmdir: ///usr/src/sys/dev/random: Directory not empty
 rmdir: ///usr/src/sys/dev: Directory not empty
 rmdir: ///usr/src/sys: Directory not empty
 rmdir: ///usr/src/contrib/gcc: Directory not empty
 rmdir: ///usr/src/contrib: Directory not empty
 
 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.
 mail#


''メジャーバージョンアップグレードを行った後では、 すべてのサードパーティ製のソフトウェアを再構築し、 再インストールする必要があります。 この作業が必要なのは、インストールされているソフトウェアが、 アップグレードの際に削除されたライブラリに依存している可能性があるためです。 ports-mgmt/portupgrade コマンドは、このプロセスを自動化します。 以下のコマンドで、このプロセスを開始します。''




 # portupgrade -f ruby
 # rm /var/db/pkg/pkgdb.db
 # portupgrade -f ruby18-bdb
 # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
 # portupgrade -af

''この作業の終了後、最後にもう一度 freebsd-update を実行すると、アップグレードのプロセスが完了します。 以下のコマンドですべてのアップグレードプロセスのやり残し作業が行われます。''

 # portupgrade -af
 Stale dependency: amavisd-new-2.6.4_1,1 --> p5-libwww-5.836 -- manually run 'pkgdb -F' to fix, or specify -O to force.


(ーー;) てか、これを解決するために、無謀とも思える7.1Rから9.1Rへアップグレードしたのでした。w


 # env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5 -f perl-5.8.\*
 # portupgrade -fr perl
http://www.yomaigoto.jp/archives/461

 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 421 packages found (-0 +1) . done]
 --->  Skipping 'www/p5-HTTP-Cookies' (p5-HTTP-Cookies-6.01) because a requisite package 'p5-HTTP-Message-6.06_1' (www/p5-HTTP-Message) failed (specify -k to force)
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! www/p5-WWW-RobotRules (p5-WWW-RobotRules-6.02)        (uninstall error)
        ! security/p5-Authen-NTLM (p5-Authen-NTLM-1.09) (uninstall error)
        ! www/p5-HTTP-Message (p5-HTTP-Message-6.06_1)  (uninstall error)
        * www/p5-HTTP-Daemon (p5-HTTP-Daemon-6.01)
        * www/p5-HTTP-Negotiate (p5-HTTP-Negotiate-6.01)
        * www/p5-HTTP-Cookies (p5-HTTP-Cookies-6.01)

 # portupgrade p5-IO-Socket-SSL-1.30
 Stale dependency: p5-IO-Socket-SSL-1.30 --> perl-5.8.9_7 -- manually run 'pkgdb -F' to fix, or specify -O to force.


http://uyota.asablo.jp/blog/2007/05/06/1487106

で、pkgdb -F をするわけだが、途中で、
 Shared object "libicui18n.so.38" not found, required by 
等というエラーで停まるのです。~
これは、icu のライブラリでして、通常はアップグレードなどでは、消されないけれど、消されてしまうバグで消えたったものらしい。~
というわけで、これら消えてしまったライブラリは、バックアップデータから拾ってくる。

エラーメッセージで手を焼いたのがコレ。
http://forums.freebsd.org/showthread.php?t=14910

 checking for XTST... configure: error: Package requirements (x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto) were not met:
 
 Package dependency requirement 'xext >= 1.0.99.4' could not be satisfied.
 Package 'xext' has version '1.0.5', required version is '>= 1.0.99.4'
と言うので、
 locate xext
とかするが、解らず。(?_?)~
これは、xext の意味するところが、libXext であるという罠(´д`)




で、やっと・・・ここへ

 # portupgrade -af
 ** Port marked as IGNORE: sysutils/libutempter:
         is now contained in the base system
 ** Port marked as IGNORE: archivers/xz:
         is already in the base system
 --->  Reinstalling 'gnome_subr-1.0' (sysutils/gnome_subr)
 --->  Building '/usr/ports/sysutils/gnome_subr'
 ===>  Cleaning for gnome_subr-1.0
 ===> Fetching all distfiles required by gnome_subr-1.0 for building
 ===>  Extracting for gnome_subr-1.0
 ===>  Patching for gnome_subr-1.0
 ===>  Configuring for gnome_subr-1.0
 --->  Backing up the old version
 --->  Uninstalling the old version
 --->  Deinstalling 'gnome_subr-1.0'
 pkg_delete: package 'gnome_subr-1.0' is required by these other packages
 and may not be deinstalled (but I'll delete it anyway):
 consolekit-0.3.0_8
 dbus-1.2.4.6





 # freebsd-update install
''GENERIC カーネルを一時的に読み込んでいたのであれば、 ここで、通常の方法を用いて新しいカスタムを構築し、インストールしてください。''~
''コンピュータを再起動し、新しい FreeBSD を立ち上げてください。 これでアップグレードのプロセスは完了です。''


----
*lang/perl5.8 and lang/perl5.10 have been restored [#l1c1eb51]
http://www.yomaigoto.jp/archives/461
 mail# portupgrade php5-5.4.6
 Stale dependency: php5-5.4.6 --> perl-5.8.9_7 -- manually run 'pkgdb -F' to fix, or specify -O to force.

 mail# pkgdb -Ff
 mail# env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5 -f perl-5.8.\*
 mail# portupgrade -fr perl 

 k222# env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.8.\*
 k222# portupgrade -fr perl 

 if they are not present then MIME::Lite will attempt to do its best
 but its strongly recommend that you install them.
 
 These modules are:
         MIME::Types
 I can add these modules to the prereq list which will cause the files to be
 automatically installed if they aren't already present
 Add prereqs? [Yes]
 Checking if your kit is complete...
 Looks good
 W


 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 688 packages found (-0 +1) . done]
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! www/p5-HTTP-Date (p5-HTTP-Date-6.02)  (unknown build error)
        - security/p5-GSSAPI (p5-GSSAPI-0.26)
        ! www/p5-LWP-MediaTypes (p5-LWP-MediaTypes-6.02)        (unknown build error)
        * security/p5-Authen-SASL (p5-Authen-SASL-2.13)
        ! databases/namazu2 (namazu2-2.0.18_1)  (configure error)
        ! japanese/p5-MeCab (ja-p5-MeCab-0.97)  (new compiler error)
        * japanese/namazu2 (ja-namazu2-2.0.16_3)
        ! devel/gobject-introspection (gobject-introspection-0.10.8_2)  (unknown build error)
        * multimedia/gstreamer (gstreamer-0.10.36)
        ! textproc/p5-XML-SAX (p5-XML-SAX-0.96) (unknown build error)
        * textproc/p5-XML-SAX-Expat (p5-XML-SAX-Expat-0.40)
        * textproc/p5-XML-Simple (p5-XML-Simple-2.18)
        * sysutils/p5-File-Listing (p5-File-Listing-6.04)
        * textproc/p5-XML-Filter-BufferText (p5-XML-Filter-BufferText-1.01)
        * textproc/p5-XML-SAX-Writer (p5-XML-SAX-Writer-0.52)
        ! security/p5-Crypt-SSLeay (p5-Crypt-SSLeay-0.57)       (install error)
        * textproc/p5-XML-LibXML (p5-XML-LibXML-1.70,1)
        * textproc/p5-XML-LibXSLT (p5-XML-LibXSLT-1.70)
        * textproc/p5-XML-Filter-XSLT (p5-XML-Filter-XSLT-0.03)
        * www/p5-HTTP-Message (p5-HTTP-Message-6.03_1)
        * www/p5-HTTP-Daemon (p5-HTTP-Daemon-6.01)
        * www/p5-HTTP-Negotiate (p5-HTTP-Negotiate-6.01)
        * www/p5-HTTP-Cookies (p5-HTTP-Cookies-6.01)
        ! www/p5-libwww (p5-libwww-5.836)       (unknown build error)
        * textproc/p5-XML-DOM (p5-XML-DOM-1.44)
        * net/avahi-app (avahi-app-0.6.29_3)
        * textproc/p5-XML-XSLT (p5-XML-XSLT-0.48)
        * sysutils/polkit (polkit-0.99)
        * sysutils/consolekit (consolekit-0.4.3)
        * sysutils/hal (hal-0.5.14_20)
        * multimedia/gstreamer-plugins (gstreamer-plugins-0.10.36_1,3)
        * multimedia/gstreamer-plugins-good (gstreamer-plugins-good-0.10.31,3)
        - net/pecl-yaz (pecl-yaz-1.0.14_1)
        - converters/pecl-fribidi (pecl-fribidi-1.0_1)
        - sysutils/pecl-fileinfo (pecl-fileinfo-1.0.4)
        ! devel/pear (pear-1.7.2)       (install error)
        * x11-toolkits/pango (pango-1.28.4_1)
        * net/p5-Net (p5-Net-1.22,1)
        * net/pear-Net_Socket (pear-Net_Socket-1.0.9)
        * net/pear-Net_URL (pear-Net_URL-1.0.15)
        * net/p5-SOAP-Lite (p5-SOAP-Lite-0.710.10)
        * devel/p5-JIRA-Client (p5-JIRA-Client-0.24_1)
        * mail/p5-Mail-SpamAssassin (p5-Mail-SpamAssassin-3.2.5_1)
        * security/amavisd-new (amavisd-new-2.8.0,1)
        * graphics/gtk-update-icon-cache (gtk-update-icon-cache-2.24.6_1)
        * textproc/p5-XML-Twig (p5-XML-Twig-3.32)
        * x11-toolkits/gtk20 (gtk-2.24.6_2)
        * devel/dconf (dconf-0.5.1_4)
        ! devel/git (git-1.7.1.1_1)     (unknown build error)
        * devel/gconf2 (gconf2-2.32.0_3)
        * audio/pulseaudio (pulseaudio-0.9.23_2)
        * www/pear-HTTP_Request (pear-HTTP_Request-1.4.4)
        * devel/p5-SVN-Hooks (p5-SVN-Hooks-0.25)
        * devel/gnome-vfs (gnome-vfs-2.24.4_1)
        * x11-toolkits/wxgtk26-common (wxgtk2-common-2.6.4_6)
        * x11-toolkits/wxgtk26-unicode (wxgtk2-unicode-2.6.4_6)
        * devel/libnotify (libnotify-0.7.3_2)
        * devel/p5-Net-DBus (p5-Net-DBus-0.33.6)
        * sysutils/system-tools-backends (system-tools-backends-2.10.1_1)
 

----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS