Sometimes when I run `pkg upgrade` I'll see X number of packages that will be upgraded, but Y number of packages that will be reinstalled.
Why is that? Why does pkg sometimes reinstall (actually removes package and then installs new package) instead of upgrade?
It's causing me problems because I have an ansible playbook that runs `pkg upgrade` and then reads json from EVENT_PIPE to monitor which
service needs restart. It only monitors INFO_UPGRADE_FINISHED now, so if the package is reinstalled, my playbook doesn't pick it up. I guess
I'll have to monitor INFO_INSTALL_FINISHED as well and treat that the same way, but I'm curious why pkg sometimes reinstalls.
Why is that? Why does pkg sometimes reinstall (actually removes package and then installs new package) instead of upgrade?
It's causing me problems because I have an ansible playbook that runs `pkg upgrade` and then reads json from EVENT_PIPE to monitor which
service needs restart. It only monitors INFO_UPGRADE_FINISHED now, so if the package is reinstalled, my playbook doesn't pick it up. I guess
I'll have to monitor INFO_INSTALL_FINISHED as well and treat that the same way, but I'm curious why pkg sometimes reinstalls.