something gone squint with pmm and artix?
Code:
"pmm search -n st"
# (and --names-only)
ends on:
Code:
"error: repository "st" was not found."
for artix.
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"] = ""
and wonder if that
should contain something. ... but what? my pacman-fu no good.
~~~ 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}"
as
Code:
strat -r aurtix pacman -Sl st | cut -d' ' -f2 | grep st
gives the same
Code:
error: repository "st" was not found.
so maybe it's the
at fault.
(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
and it at least said package instead of repository:
Code:
error: package 'st' was not found
(my pacman-fu still no good, but...a stab in the dark...) i've also tried
Code:
strat -r aurtix pacman -Ss st | cut -d' ' -f2 | grep st
which did at least return 5 results for "post1"... leaving me wondering if the Ql was right... ... and a little more poking at
and i wonder if...
Code:
strat -r aurtix pacman -Qs st | cut -d' ' -f2 | grep st
might be the ticket, returning nothing.... i should get a better package to test this with than st (just happened to be what i was looking for when getting into testing this).
Code:
strat -r aurtix pacman -Qs xz
gives
Code:
local/xz 5.2.5-1
Library and command line tools for XZ and LZMA compressed files
and so
Code:
strat -r aurtix pacman -Qs xz | cut -d' ' -f2 | grep xz
gives... nothing. oh. [edit: (my cut-fu no good too?)]
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]