Questions from a Linux refugee

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Jan 8 01:08:25 UTC 2015


On 01/07/15 12:51, 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'.

Try:

# make missing | xargs pkg install

pkg(8) doesn't read package names etc. from stdin in general -- the one
exception is pkg-annotate(8).  So use xargs to turn that pipeline into a
command line.

	Cheers,

	Matthew









-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150107/1854efcd/attachment.sig>


More information about the freebsd-questions mailing list