Re: pkg search dependency tree

2018-01-14 Thread Sergey Akhmatov
I got off-list reply on how to achieve this with locally installed packages, by using `pkg prime-origins', which is apparently an alias to the command you suggested. It will solve my problem, as I have no more than 20 servers using this repo, I just need to run the command on all of them and

Re: pkg search dependency tree

2018-01-14 Thread Marko Cupać
On Fri, 12 Jan 2018 15:38:20 + matt...@freebsd.org wrote: > On 12/01/2018 11:09, Marko Cupać wrote: > > > > Is there a way to get dependency tree from pkg search? > > > > Thank you in advance, > > > > This is usually done by: > > pkg query -e '%a == 0' %o > > which gives you the

Re: pkg search dependency tree

2018-01-12 Thread matthew
On 12/01/2018 11:09, Marko Cupać wrote: Hi, I have accidentally deleted my poudriere package lists. I still have all packages in my repos. I know I can get list of all packages in my repo in appropriate format with `pkg search -o -x . | awk -F ' ' '{ print $1 }' | sort', but this way I'm

pkg search dependency tree

2018-01-12 Thread Marko Cupać
Hi, I have accidentally deleted my poudriere package lists. I still have all packages in my repos. I know I can get list of all packages in my repo in appropriate format with `pkg search -o -x . | awk -F ' ' '{ print $1 }' | sort', but this way I'm listing also ports which are installed only as