I am trying to find a command that will do a semi-automated (batch) upgrade of installed Ports. What I would like the command to do is:
Also, will "-c" cancel out "--batch" or vice-versa?
In the past I have run two commands which seemed to do the trick, but perhaps unnecessary:
Note: I intentionally omitted some of the otherwise recommended switches, such as "-b", for brevity.
Any input on whether I am doing this right or if there is a better way? Thank you.
And one more question about ports-mgmt/portupgrade: My interpretation of the "-r" and "-R" switches will force rebuilding of dependents and dependencies of the current Port respectively. Am I correct in this?
- Check configurations for all Ports to be upgraded. If not configured run
make configfor user input. - Upgrade all configured Ports without any user input.
portupgrade -ac --batch. But, I'm not sure if the "-c" switch checks configurations and asks for user input on non-configured Ports before doing the upgrade, or if it asks the user to configure once it reaches an unconfigured Port during the actual upgrade.Also, will "-c" cancel out "--batch" or vice-versa?
In the past I have run two commands which seemed to do the trick, but perhaps unnecessary:
Code:
# portupgrade -an
...
# portupgrade -a
Any input on whether I am doing this right or if there is a better way? Thank you.
And one more question about ports-mgmt/portupgrade: My interpretation of the "-r" and "-R" switches will force rebuilding of dependents and dependencies of the current Port respectively. Am I correct in this?