Differences
This shows you the differences between two versions of the page.
portmaster [2012/08/17 13:43] |
portmaster [2012/08/17 13:43] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== portmaster ====== | ||
+ | * [[FreeBSD]] | ||
+ | * [[FreeBSD Ports Upgrades]] | ||
+ | |||
+ | A tool for updating your ports. | ||
+ | |||
+ | [[http://www.freebsdonline.com/content/view/846/524/|Rebuild a port and all it's dependencies]] | ||
+ | |||
+ | ==== Howto ==== | ||
+ | |||
+ | == Batch upgrade all ports == | ||
+ | |||
+ | <code> | ||
+ | portmaster -G -a | ||
+ | </code> | ||
+ | |||
+ | == Check all ports dependecies == | ||
+ | |||
+ | In cases where the dependecies needs fixing, as in they are installed, but the ports database needs to know they are there, you can have portmaster upgrade the datbase: | ||
+ | |||
+ | <code> | ||
+ | portmaster -y --check-depends | ||
+ | </code> | ||
+ | |||
+ | == Check ports database == | ||
+ | |||
+ | This checks for any ports that the database says are installed, but are not. | ||
+ | |||
+ | <code> | ||
+ | portmaster -y --check-port-dbdir | ||
+ | </code> |