this post was submitted on 16 Jan 2025
7 points (100.0% liked)

Arch Linux

8136 readers
2 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
 

As the title says.
pacman -Q lists only name and version;
pacman -Qi does have a "Packager" field, but i think it's not the same thing;
pacman -Qs seems to be what i want (if local means "all installed packages atm") but it's all prefixed by local/ instead of repo name like mingw32/ which is what i want.

I'm using MSYS2 in windows.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 7 points 1 month ago (2 children)

pacman does not store the source repository of installed packages, that is why it does not have an option to show that information. You probably have to write some script to find possible repositories for each package.

Maybe the expac tool already has something, but I cannot check at the moment.

[โ€“] [email protected] 2 points 1 month ago* (last edited 1 month ago)

paclist core
paclist extra
paclist multilib
etc.