Yes i know but then i can't update packages installed with pkg. I mean something like lock for portmaster. Or something like equivalent of RedHat yum update --exclude package but for portmaster
portmaster -a -x libreoffice
The portmaster utility is a tool for updating your ports. It does not use an external database to track what you have installed. Rather it uses the existing ports infrastructure, including what is located in /var/db/pkg.
You could find out why and fix the actual cause, instead of trying to work around the bad symptoms.I have a few packages which can't be installed via ports. Im looking for some solutions to exclude those packages during ports upgrade with portmaster -a.