軟體升級的問題 - BBS
By Leila
at 2007-07-28T15:16
at 2007-07-28T15:16
Table of Contents
※ 引述《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
--
: ※ 引述《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
--
Tags:
BBS
All Comments
Related Posts
有關網卡的問題
By Leila
at 2007-07-28T12:38
at 2007-07-28T12:38
軟體升級的問題
By Margaret
at 2007-07-28T08:52
at 2007-07-28T08:52
軟體升級的問題
By Sandy
at 2007-07-28T08:33
at 2007-07-28T08:33
有關網卡的問題
By Isabella
at 2007-07-28T08:18
at 2007-07-28T08:18
有關網卡的問題
By Frederic
at 2007-07-28T08:07
at 2007-07-28T08:07