Top > FreeBSD > cvsup

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

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 missing

x11/libX11 (libX11-1.1.2,1)   (X libraries missing)

と表示される件。

→ portupgrade -f xf86bigfontprot で解決したっぽい

ちなみに前回はこちら

http://d.hatena.ne.jp/karia/20070630/server

FreeBSD


Reload   New Lower page making Edit Freeze Diff Upload Copy Rename   Front page List of pages Search Recent changes Backup   Help   RSS of recent changes
Last-modified: Tue, 02 Dec 2014 07:00:39 HAST (1813d)