• Re: list user-installed packages minus dependencies?

    From Andreas Kempe@21:1/5 to All on Fri Dec 29 12:50:30 2023
    Den 2023-12-29 skrev David Chmelik <dchmelik@gmail.com>:
    Can one get a 'pkg info' list of user-installed packages minus
    dependencies?

    To list all manually installed packages, you can run

    pkg query -e "%a=0" %o

    The %a variable is set to 0 for packages that were manually installed,
    -e excutes it as a filter and %o is the output forhatting. man pkg-query
    is your friend.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Eager@21:1/5 to David Chmelik on Fri Dec 29 13:06:53 2023
    On Fri, 29 Dec 2023 12:21:37 +0000, David Chmelik wrote:

    Can one get a 'pkg info' list of user-installed packages minus
    dependencies?

    Use 'pkg prime-origins'.

    This is a predefined alias for:

    pkg query -e '%a = 0' '%o'

    'pkg prime-list' is equivalent.


    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)