pavement

Portmanager

From FreeBSDwiki
Revision as of 19:12, 12 April 2006 by Map7 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Portmanager is like Portupgrade but better for quite a few reasons. One of which is when updating everything it handles the whole updating process much smoother.

Updating All Ports

CAUTION: Please read the /usr/ports/UPDATING before attempting this. At least check the ports that you really need will upgrade without a problem.

To upgrade enter:

# portmanager -u -l

This keeps a log in the /var/log/portmanager.log file.

When resuming enter:

# portmanager -u -l --resume

You may need to run it a few times. Refer to the log and search for any ports which did not fetch and you will have to go and download those and put them in /usr/ports/distfiles directory. Then you can resume. There might even be some ports that have errors when compiling, it maybe best to go and upgrade these manually.

Listing Ports which require updating

# portversion -v

External Links

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

Personal tools