Questions from a Linux refugee

brian brian at brianwhalen.net
Wed Jan 7 17:16:05 UTC 2015


On 1/7/2015 8:53 AM, Warren Block wrote:
> On Wed, 7 Jan 2015, Ben Woods wrote:
>
>>>>> "make missing | pkg install" to get the dependencies
>>>>
>>>> This command doesn't work for me with pkgng 1.4.4 (I don't think the
>> pipe
>>>> to pkg works):
>>>>
>>>> # make missing | pkg install
>>>> Usage: pkg install [-AfInFMqRUy] [-r reponame] [-Cgix] <pkg-name> ...
>>>> For more information see 'pkg help install'.
>>>
>>> The command is pseudo-code, I should have mentioned
>>> this explicitely. :-)
>>
>>
>> Well it can actually work if you use xargs:
>> # make missing | xargs pkg install
>
> Or backticks, probably:
> # pkg install `make missing`
I use this for pkg updates.

portsnap fetch update && pkg upgrade && pkg version -vIL=

The last one tells m which are still out of date, because a pkg hasnt 
been built yet. I can then either leave it and wait, or use portupgrade 
pkgname to finish it up, depending.

Brian
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list