Following on from my thread regarding updating the entire system:
https://forums.freebsd.org/threads/...nel-world-and-applications.65105/#post-381259
Updating applications
I read that no method exists to distinguish packages and ports after install; to update installed applications from either method is done by one method, not both, of the following:
Update using binary packages.
Always use the static version after a major upgrade.
OR,
Configure, compile and install from ports.
How do I update 'pkg-static' or ensure its the correct version? Or does it not matter?
I don’t mind using the binary packages but presumably if build configuration is required, the application will have to be installed via ports. If this is the case then I presume one strategy, if a low percentage of applications require build configuration, would be to update all using pkg-static and then reinstall the select few using ports.
Is the above enough to update all applications?
Aside: it seems portmaster -afG could be used to install applications without configuration GUI displaying.
https://forums.freebsd.org/threads/...nel-world-and-applications.65105/#post-381259
Updating applications
I read that no method exists to distinguish packages and ports after install; to update installed applications from either method is done by one method, not both, of the following:
Update using binary packages.
Always use the static version after a major upgrade.
Code:
# pkg-static upgrade -f
OR,
Configure, compile and install from ports.
Code:
# portmaster -af
How do I update 'pkg-static' or ensure its the correct version? Or does it not matter?
I don’t mind using the binary packages but presumably if build configuration is required, the application will have to be installed via ports. If this is the case then I presume one strategy, if a low percentage of applications require build configuration, would be to update all using pkg-static and then reinstall the select few using ports.
Is the above enough to update all applications?
Aside: it seems portmaster -afG could be used to install applications without configuration GUI displaying.