You are not logged in.

#1 2019-12-22 06:28:41

tlat
Member
Registered: 2019-11-25
Posts: 9

[SOLVED] Show repository in `yay -Q` output

How can I get `yay -Q` to prefix the repository name before the package name?

yaourt had this functionality with `yaourt -Q --color | sort`:

$ yaourt -Q --color | sort

core/acl 2.2.53-2
core/archlinux-keyring 20191219-1
core/argon2 20190702-2
core/attr 2.4.48-2
core/audit 2.8.5-6
core/autoconf 2.69-6 (base-devel)
core/automake 1.16.1-2 (base-devel)
core/base 2-2
core/bash 5.0.011-2
core/binutils 2.33.1-2 (base-devel)
core/bison 3.5-1 (base-devel)
core/bzip2 1.0.8-3
...

Last edited by tlat (2019-12-30 06:07:34)

Offline

#2 2019-12-22 07:37:56

archimboldo
Member
Registered: 2016-03-07
Posts: 161

Re: [SOLVED] Show repository in `yay -Q` output

There's is no need for any pacman wrapper to achieve it. Paclist command followed by repo name does it wink


Rules for problems.
Everyone has problems. Animals have problems. And buildings. And cats, and trees.
Problems are your friends. Treat them well.

Offline

#3 2019-12-22 10:06:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,306
Website

Re: [SOLVED] Show repository in `yay -Q` output

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2019-12-30 06:07:17

tlat
Member
Registered: 2019-11-25
Posts: 9

Re: [SOLVED] Show repository in `yay -Q` output

yay -Sl --color=always | ag '\d+m ?\[.nstalled\]' | sort'

gets close enough.

$ yay -Sl --color=always | ag '\d+m ?\[.nstalled\]' | sort

core acl 2.2.53-2 [installed]
core archlinux-keyring 20191219-1 [installed]
core argon2 20190702-2 [installed]
...
aur ccat unknown-version [Installed]
aur yay unknown-version [Installed]
...

Offline

Board footer

Powered by FluxBB