Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2020 03:02:14 +0000
From:      Graham Perrin <>
To:        FreeBSD questions <>
Subject:   pkg-query(8) variables and %R for repository
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
pkg query -e '%a = 0' '%o %R' | grep poudriere | grep -v FreeBSD| sort

– has the required result, a sorted list of non-automatic packages from 
my poudriere repository.

I'd like a simpler list – just the origins – however this finds nothing:

pkg query %o '%R = poudriere'

What's the logic for %R being a pattern for a query, but _not_ a 
variable for an evaluation?

Is there scope for an enhancement to pkg-query?

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