Keeping a package unchanged

The recent tmux package update reminds me to mention ‘pkg lock’.  When you update packages, pkg will update everything.  If there’s a package you don’t want changed, the pkg lock(8) command will keep it at the current version.  There can be some other packages held back because of dependencies, but that’s OK.  Don’t forget to pkg unlock when no longer needed…

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.