pkg_version一直出現錯誤 - BBS
By Anonymous
at 2008-07-24T21:49
at 2008-07-24T21:49
Table of Contents
※ 引述《[email protected] (有若無,實若虛)》之銘言:
: ※ 引述《[email protected] (屠牛特攻隊)》之銘言:
: > 嘗試過下面的步驟修復
: > 1. cd /usr/ports && make fetchindex
: > 2. portsdb -uU
: > 3. rm -f /var/db/pkg/pkgdb.db
: > 4. pkgdb -Fu
: > 5. cd /usr/src ; make buildworld; make kernel; make installworld; reboot
: ..好眼熟 @_@"
哈哈
就是c大您之前po的方法
跟我自己用的差不多
只是那時我沒試過make world修復
只是後來用make world還是無效 Or2
: > 重新make world之後
: > 使用pkg_version -v|grep '<'還是有下面這些錯誤訊息
: > pkg_version: read_plist: unknown command '@commc5f319ec3e5c3d18ad3ce9d879e'
: > (package tools out of date?)
: 把 uname -a 跟 ident /usr/ports/UPDATING 及 ident `which pkg_info` 貼一下
: FreeBSD pkg_info 儲存格式曾經有變更過
uname -a
FreeBSD daemon.home 7.0-STABLE FreeBSD 7.0-STABLE #12: Fri Jul 18 03:35:25
CST 2008 [email protected]:/usr/obj/usr/src/sys/K-1 i386
ident /usr/ports/UPDATING
/usr/ports/UPDATING:
$FreeBSD: ports/UPDATING,v 1.680 2008/07/23 15:06:23 danfe Exp $
ident `which pkg_info`
/usr/sbin/pkg_info:
$FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7 2005/05/19 07:31:06 dfr Exp $
$FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19 07:31:06 dfr Exp $
$FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.20.1 2007/12/06 13:43:43 kib Exp $
$FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.15 2005/10/07 22:13:17 bde Exp $
$FreeBSD: src/usr.sbin/pkg_install/info/main.c,v 1.50.2.3 2008/06/10 09:55:25 flz Exp $
$FreeBSD: src/usr.sbin/pkg_install/info/perform.c,v 1.54.2.1 2008/04/23 10:40:54 flz Exp $
$FreeBSD: src/usr.sbin/pkg_install/info/show.c,v 1.41 2007/02/07 19:44:44 pav Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/url.c,v 1.9.2.1 2008/06/17 10:47:24 flz Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/pkgwrap.c,v 1.1 2002/09/09 19:43:30 sobomax Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/match.c,v 1.20.2.2 2008/06/03 14:58:51 flz Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/pen.c,v 1.42 2004/07/28 16:03:13 stefanf Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/global.c,v 1.11 2006/06/12 22:39:32 obrien Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/plist.c,v 1.52 2007/03/28 05:33:52 njl Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/msg.c,v 1.16 2002/04/01 09:39:07 obrien Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/version.c,v 1.5 2004/06/29 18:52:12 eik Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/exec.c,v 1.11 2007/03/28 05:33:52 njl Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/str.c,v 1.15 2003/05/26 17:12:22 lioux Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/file.c,v 1.68.18.1 2008/06/17 10:47:24 flz Exp $
--
: ※ 引述《[email protected] (屠牛特攻隊)》之銘言:
: > 嘗試過下面的步驟修復
: > 1. cd /usr/ports && make fetchindex
: > 2. portsdb -uU
: > 3. rm -f /var/db/pkg/pkgdb.db
: > 4. pkgdb -Fu
: > 5. cd /usr/src ; make buildworld; make kernel; make installworld; reboot
: ..好眼熟 @_@"
哈哈
就是c大您之前po的方法
跟我自己用的差不多
只是那時我沒試過make world修復
只是後來用make world還是無效 Or2
: > 重新make world之後
: > 使用pkg_version -v|grep '<'還是有下面這些錯誤訊息
: > pkg_version: read_plist: unknown command '@commc5f319ec3e5c3d18ad3ce9d879e'
: > (package tools out of date?)
: 把 uname -a 跟 ident /usr/ports/UPDATING 及 ident `which pkg_info` 貼一下
: FreeBSD pkg_info 儲存格式曾經有變更過
uname -a
FreeBSD daemon.home 7.0-STABLE FreeBSD 7.0-STABLE #12: Fri Jul 18 03:35:25
CST 2008 [email protected]:/usr/obj/usr/src/sys/K-1 i386
ident /usr/ports/UPDATING
/usr/ports/UPDATING:
$FreeBSD: ports/UPDATING,v 1.680 2008/07/23 15:06:23 danfe Exp $
ident `which pkg_info`
/usr/sbin/pkg_info:
$FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7 2005/05/19 07:31:06 dfr Exp $
$FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19 07:31:06 dfr Exp $
$FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.20.1 2007/12/06 13:43:43 kib Exp $
$FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.15 2005/10/07 22:13:17 bde Exp $
$FreeBSD: src/usr.sbin/pkg_install/info/main.c,v 1.50.2.3 2008/06/10 09:55:25 flz Exp $
$FreeBSD: src/usr.sbin/pkg_install/info/perform.c,v 1.54.2.1 2008/04/23 10:40:54 flz Exp $
$FreeBSD: src/usr.sbin/pkg_install/info/show.c,v 1.41 2007/02/07 19:44:44 pav Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/url.c,v 1.9.2.1 2008/06/17 10:47:24 flz Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/pkgwrap.c,v 1.1 2002/09/09 19:43:30 sobomax Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/match.c,v 1.20.2.2 2008/06/03 14:58:51 flz Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/pen.c,v 1.42 2004/07/28 16:03:13 stefanf Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/global.c,v 1.11 2006/06/12 22:39:32 obrien Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/plist.c,v 1.52 2007/03/28 05:33:52 njl Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/msg.c,v 1.16 2002/04/01 09:39:07 obrien Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/version.c,v 1.5 2004/06/29 18:52:12 eik Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/exec.c,v 1.11 2007/03/28 05:33:52 njl Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/str.c,v 1.15 2003/05/26 17:12:22 lioux Exp $
$FreeBSD: src/usr.sbin/pkg_install/lib/file.c,v 1.68.18.1 2008/06/17 10:47:24 flz Exp $
--
Tags:
BBS
All Comments
Related Posts
關於移機是否要重灌?
By Andy
at 2008-07-24T19:24
at 2008-07-24T19:24
FreeBSD + PPPOE
By Mary
at 2008-07-24T19:13
at 2008-07-24T19:13
請問FreeBSD的NCQ
By Kumar
at 2008-07-24T18:34
at 2008-07-24T18:34
關於移機是否要重灌?
By George
at 2008-07-24T16:52
at 2008-07-24T16:52
關於移機是否要重灌?
By Blanche
at 2008-07-24T15:58
at 2008-07-24T15:58