Solved PKG update overwrote a Port

Hi Folks,

I performed a pkg update/upgrade and pkg downloaded and reinstalled the nvidia-driver binary against the version I installed from ports with this option:

Code:
ACPI_PM        : on

How can I prevent that pkg overwrites software installed from the ports collection?

Thanks,

tgl
 
Last edited:
Ports just build packages, and there's nothing in the package telling pkg(8) this package was built locally, so, in short: you can't.

What you can do is "lock" individual installed packages, so pkg doesn't attempt to upgrade them, see pkg-lock(8).
 
Since you can use PKG to delete ports I automatically assumed that PKG also tracks a software when it comes from a ports and always automatically use the ports as origin rather than the repository.

Long-story-short it was a film that I made in my mind... 😜
 
Back
Top