Are pkg and portmaster equivalent? Is it better to use pkg or portmaster? To me they should be equivalent, and both should maintain the same version of software installed on the system, however I noticed inconsistencies.
I have been playing around with a test system (FreeBSD 11) and I've noticed that some software that was installed with pkg is marked to be upgraded by portmaster, and some software installed by portmaster is marked to be upgraded by pkg, even though they are the same version.
For example:
php71 was installed by pkg as version php71-7.1.12.
If I run portmaster-L, I see that it wants to upgrade php71-7.1.12 to php71-7.1.12_1
===>>> php71-7.1.12
===>>> New version available: php71-7.1.12_1
pkg upgrade does not show any new version of php71-7.1.12
$ sudo pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (22 candidates): 100%
Processing candidates (22 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
Why this strange behavior? Is there a way to fix this?
Thank you.
I have been playing around with a test system (FreeBSD 11) and I've noticed that some software that was installed with pkg is marked to be upgraded by portmaster, and some software installed by portmaster is marked to be upgraded by pkg, even though they are the same version.
For example:
php71 was installed by pkg as version php71-7.1.12.
If I run portmaster-L, I see that it wants to upgrade php71-7.1.12 to php71-7.1.12_1
===>>> php71-7.1.12
===>>> New version available: php71-7.1.12_1
pkg upgrade does not show any new version of php71-7.1.12
$ sudo pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (22 candidates): 100%
Processing candidates (22 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
Why this strange behavior? Is there a way to fix this?
Thank you.