common
common copied to clipboard
Add version filtering for the pacman package manager from arch
Needs to remove the surrounding text, similar to when using apk:
# pacman -Qo /usr/bin/pacman
/usr/bin/pacman is owned by pacman 6.0.2-8
/ # apk info -W /sbin/apk
/sbin/apk is owned by apk-tools-2.14.0-r5
It should only return the version information, like with rpm and deb.