pmm --names-only for pacman mistake package for repository
something gone squint with pmm and artix?
Code:
"pmm search -n st" Code:
"error: repository "st" was not found." fetching an arch to test ~ yup, same output mistaking the package for a repository. looking in https://github.com/bedrocklinux/bedr...anagers/pacman i see Code:
user_interfaces["pacman", "search-for-package-by-name"] = "" Code:
"" ~~~ maybe i should have left it there. ~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing the Code:
implementations["pacman", "search-for-package-by-name"] = "strat -r ${stratum} pacman -Sl ${items} | cut -d' ' -f2 | grep ${items}" Code:
strat -r aurtix pacman -Sl st | cut -d' ' -f2 | grep st Code:
error: repository "st" was not found. Code:
-Sl (my pacman-fu still no good, but...a stab in the dark...) i tried Code:
strat -r aurtix pacman -Ql st | cut -d' ' -f2 | grep st Code:
error: package 'st' was not found Code:
strat -r aurtix pacman -Ss st | cut -d' ' -f2 | grep st Code:
man pacman Code:
strat -r aurtix pacman -Qs st | cut -d' ' -f2 | grep st Code:
strat -r aurtix pacman -Qs xz Code:
local/xz 5.2.5-1 Code:
strat -r aurtix pacman -Qs xz | cut -d' ' -f2 | grep xz well, i'm headspun stumped. time for a break from trying fathom this, and restore cognitive capacity with some R&R. :) gimmie a day, n i'll get this yet. :) [edit: notions of regex and sed swirling around my mind] [edit: strat -r aurtix pacman -Ss xz's output looks more right ~ ok ok, now i go r&r and get breakfast] |
I can reproduce the issue. Looks like a simple typo. Will have a fix in the next beta which should follow through to the following stable release.
|
Here's the fix: https://github.com/bedrocklinux/bedr...e9542b617e2c39
Fix is released in 0.7.18beta4: https://github.com/bedrocklinux/bedr...ag/0.7.18beta4 Absent some big surprise it should be included in the stable branch in 0.7.18. |
thanks.
ah, ok, so, presumably, user_interfaces["pacman", "search-for-package-by-name"] = "" & user_interfaces["yay", "search-for-package-by-name"] = "" dont need anything in that "". because pacman/yay dont have that. |
Correct
|
All times are GMT -5. The time now is 07:58 AM. |