pkg lock does not work

Now, I am actually trying to prevent pkg from clobbering an installed port. But it should work the same way, no?

But...
Code:
# pkg lock (package)
lock this package? [Y/n] Y
package locked.
# pkg upgrade
[it clobbers my installed port]
Am I missing something?

Similarly...
Code:
# portmaster -P foo
[it starts installing ports for dependencies when there are packages available]
 
What version of FreeBSD are you running on? To ensure that the FreeBSD Ports Collection registers new software with pkgng, and not the traditional packages format, FreeBSD versions earlier than 10.X require this line in /etc/make.conf:

Code:
WITH_PKGNG= yes


Also, what is the output of the following command?
pkg lock -l
 
Back
Top