cvsupリンク集
エラーportversion -v [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFOQ →http://blog.portwrite.jp/2006/07/portupgrade.html rm /var/db/pkg/pkgdb.db /usr/ports/INDEX*.db で解決とのこと。 openldapエラーが出たので以下の方法で対処。 http://x.haun.org/diary/200607_2.html#d20060717_08 Computer/FreeBSD?xorg※Software Design 2007年7月号 P198より 2007年5月20日より、ports上のX.Orgは6.9から7.2になったためアップデートには特殊な手順が必要。また、portupgradeではなくportupgrade-develを使用した方が良い。手順は以下。# portupgrade -f -o ports-mgmt/portupgrade-devel portupgrade
その上で、
# export XORG_UPGRADE=yes # portupgrade -Rf libXftを実行した上でアップデートする。 # sh /usr/ports/Tools/scripts/mergebase.sh
This script will attempt to backup /usr/X11R6 into
/usr/tmp/mergebase/oldx11base.20070627.202740.tar and then move the
contents onto /usr/local. It will then replace /usr/X11R6
with a symbolic link, pointing to /usr/local. After that,
the script will attempt to change some settings in /etc
that by default point to both /usr/X11R6 and /usr/local
to remove references to /usr/X11R6; specifically, the files
that could get altered are /etc/periodic.conf
/etc/manpath.config /etc/rc.conf.
Be advised that this script expects default environment,
notably it assumes that you have not changed $X11BASE and
$LOCALBASE variables from their default values and that
/usr/X11R6 is regular directory and not separate mount.
If these assumptions are not correct, either edit this script
to change $X11BASE $LOCALBASE and/or $BACKUPDIR values or
do the merge by hand (perhaps using this script as a rough guide).
Enter 'yes' to continue, anything else will exit script:
CONFLICTING FILESと表示された場合はそのファイルの名前をとりあえず変更しておいて再度チャレンジする。で、完了後にチャレンジ。
# portupgrade -rRcC xorg-libraries-6.9.0
→やっぱり失敗。portupgrade -f(以下略)でもだめ。
→x11/xextentionsをインストールしたら通った!
X libraries missingx11/libX11 (libX11-1.1.2,1) (X libraries missing)
と表示される件。
→ portupgrade -f xf86bigfontprot で解決したっぽい
ちなみに前回はこちら
http://d.hatena.ne.jp/karia/20070630/server
FreeBSD
|