作者starlition (waiting...)
看板FreeBSD
标题Re: [问题] 软体升级的问题
时间Sat Jul 28 15:16:20 2007
※ 引述《vu0 (idler)》之铭言:
: ※ 引述《PHP5 (Powered by Zend Engine2)》之铭言:
: : 你是新手吧?
: : 建议把官网的handbook 看过一遍
: : (1)(2)
: : 移除: 简单来讲 make deinstall, pkg_delete 效果是一样的
: : 安装: make安装,自己从source code make 完安装, pkg_add 是安装别人make好的
: : 是的, 必须先除旧有的版本
: : (3) portupgrade: pkg_delete,make install一次完成
: 有个新问题,我下portupgrade没办法更新软体!
: 出现的内容,其中出现下面这几个讯息
: cd: can't cd to /usr/ports/sysutils/portupgrade
: [missing key: categories]
: missing key: categories:Cannot read the portsdb!
: 请问是什麽问题??
/usr/ports/UPDATING:
20070102:
AFFECTS: users of sysutils/portupgrade
AUTHOR:
[email protected]
If you have a problem with upgrading the tools from version 2.2.1 and less, re
move the package with pkg_delete portupgrade* command and reinstall it from scr
atch. Remove /usr/ports/INDEX*.db and run portsdb -u.
# pkg_delete portupgrade*
# rm /usr/ports/INDEX*.db
# cd /usr/ports/sysutils/portupgrade
# make install clean
# portsdb -u
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 219.80.34.169