Questions from a Linux refugee
roman.naumann at fu-berlin.de
Tue Jan 6 20:03:49 UTC 2015
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.
More information about the freebsd-questions