Hi,
I googled around trying to find some documentation on maintaining FreeBSD systems that have a lot of ports and a lot of packages installed and didn't find anything. It was my understanding that a
would always take care of all your ports and reinstall any outdated packages, and make it so that you never had a broken system? Is this actually true? (just to be sure before I bring them all up to date).
The thing that made me question this was something on a wiki that said that the -a option, to portupgrade, is not recommended. Does portupgrade really solve all dependency problems, i.e the build will fail if you try to install two different versions of the same port? With a lot of ports isn't a portupgrade of all of them a bad idea?
I know you're supposed to read /usr/ports/UPDATING. You're supposed to work out the right order of the portupgrade commands to run by reading this file right? Also what about packages? Will the dependency tracking of binary packages and the dependency tracking in the ports system work together? If you are not supposed to have two different versions of the same port installed what about two different versions of the same software, one installed from packages and one installed as a port? That doesn't matter right? Or does it just mean that the last one installed was installed over the old one? I mean installing a newer version of a binary package will just install automatically the latest version of the package and install it over the old one? But this will mean that if you want to install some larger packages from packages a:
is NOT a good idea? If not how are you supposed to maintain systems with many packages installed, some from the ports system and some as packages?
Any advice would be great. Thank you for any replies
I googled around trying to find some documentation on maintaining FreeBSD systems that have a lot of ports and a lot of packages installed and didn't find anything. It was my understanding that a
Code:
#portupgrade -ai
The thing that made me question this was something on a wiki that said that the -a option, to portupgrade, is not recommended. Does portupgrade really solve all dependency problems, i.e the build will fail if you try to install two different versions of the same port? With a lot of ports isn't a portupgrade of all of them a bad idea?
I know you're supposed to read /usr/ports/UPDATING. You're supposed to work out the right order of the portupgrade commands to run by reading this file right? Also what about packages? Will the dependency tracking of binary packages and the dependency tracking in the ports system work together? If you are not supposed to have two different versions of the same port installed what about two different versions of the same software, one installed from packages and one installed as a port? That doesn't matter right? Or does it just mean that the last one installed was installed over the old one? I mean installing a newer version of a binary package will just install automatically the latest version of the package and install it over the old one? But this will mean that if you want to install some larger packages from packages a:
Code:
#portupgrage -ai
Any advice would be great. Thank you for any replies