7
submitted 2 years ago by 0x0@programming.dev to c/archlinux@lemmy.ml

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.

all 7 comments
sorted by: hot top new old
[-] progandy@feddit.org 8 points 2 years ago

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.

[-] IceFoxX@lemm.ee 3 points 2 years ago* (last edited 2 years ago)

paclist core
paclist extra
paclist multilib
etc.

[-] exu@feditown.com 1 points 2 years ago

Does MSYS2 use mingw32 or local as repo name? Maybe you could edit the pacman.conf to change the name

[-] 0x0@programming.dev 4 points 2 years ago

It has quite a few repos: mingw32, mingw63, ucrt64, clang32, clang64, msys...

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

Arch Linux

9937 readers
1 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS