Update Ports Collection
That is to say update /usr/ports
# vi /etc/portsnap.conf
Change SERVERNAME=portsnap.FreeBSD.org
to:
SERVERNAME=portsnap.hshh.org
First time:
# portsnap fetch
# portsnap extract
or
# portsnap fetch extract
After first time:
# portsnap fetch
# portsnap update
or
# portsnap fetch update
Update Ports
# portsdb -Uu
# portversion -l "<"
# portupgrade -arRF
# pkgdb -Ffu #Repair,don't stop when run this
#pkg_which file #look up the package's version
Clean up the temporary
work directories and distfiles
# portsclean -C
# portsclean -D
# portsclean -DD
阅读(1479) | 评论(0) | 转发(0) |