I have a server running 11.3-p7 that has been upgraded over time since about 2009. When I originally built it, I chose not to use packages and I have been regretting that decision for years due to how much time it takes to handle updates. As I did not initially intend for it to be a server, I also remember installing a bunch of ports for fun and play and I am certain there is a lot of cruft laying about that I can remove.
So, I have a couple of questions and can really use your help. Please keep in mind that this is a production server:
1) According to pkg autoremove, there are 307 packages that can be removed, freeing up 7GB of space. According to pkg info there are 754 packages total installed. I know I did a lot of stupid stuff in the beginning, but 307 seems very high. In your experience, how reliable is pkg autoremove? Part of my concern is that some of the packages included in the list are commonly used programs such as zip, unzip, zsh, tmux, and spamassassin to name a few that I use regularly. I guess my issue is that I don't completely understand why it is generating this list in this manner as I explicitly installed zsh, tmux, and spamassassin.
2) I want to switch over to using packages instead of building ports with portmaster every time there is an update that I need to install. I don't remember ever setting any custom options when installing ports, but it has been a long time so I may have. From my research, it seems like the two best options would be to upgrade from 11.3 to 12.1 with the risk of old customization being broken or to make my own build server to build my own packages. Are there any other options that I am missing? At this time, I would prefer to avoid making a build server as I don't have a very suitable machine for it, but I will work something out if that is the only option.
Thanks!
So, I have a couple of questions and can really use your help. Please keep in mind that this is a production server:
1) According to pkg autoremove, there are 307 packages that can be removed, freeing up 7GB of space. According to pkg info there are 754 packages total installed. I know I did a lot of stupid stuff in the beginning, but 307 seems very high. In your experience, how reliable is pkg autoremove? Part of my concern is that some of the packages included in the list are commonly used programs such as zip, unzip, zsh, tmux, and spamassassin to name a few that I use regularly. I guess my issue is that I don't completely understand why it is generating this list in this manner as I explicitly installed zsh, tmux, and spamassassin.
2) I want to switch over to using packages instead of building ports with portmaster every time there is an update that I need to install. I don't remember ever setting any custom options when installing ports, but it has been a long time so I may have. From my research, it seems like the two best options would be to upgrade from 11.3 to 12.1 with the risk of old customization being broken or to make my own build server to build my own packages. Are there any other options that I am missing? At this time, I would prefer to avoid making a build server as I don't have a very suitable machine for it, but I will work something out if that is the only option.
Thanks!