Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2015 18:56:49 +0100
From:      Roman Naumann <>
Subject:   Re: Questions from a Linux refugee
Message-ID:  <20150106175649.GB973@bulldozer.local>
In-Reply-To: <>
References:  <20150106115503.4870ab2e@jive> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, Jan 06, 2015 at 04:32:02PM +0100, Polytropon wrote:
> it's probably not that wrong to perform a command construct
> like "make missing | pkg install" to get the dependencies
> via pkg where possible, and then use compiling from source
> where neccessary.

I usually go with "make missing | pkg install -Ay" which also marks
packages as automatically installed, so that "pkg autoremove" can
clean them if their reverse dependency is no longer needed.

> After I had it, the next update deleted it along with other
> packages. How to deal with the upgrades?

If it's just one or a few packages, you can lock them with
"pkg lock <packagename>". This might prevent upgrades, though,
see "pkg help lock" for details.
If you cannot upgrade any more, just use "pkg unlock <packagename>",
upgrade, reinstall the package and lock it again after that.

Best regards,

Want to link to this message? Use this URL: <>