Article 57CB8 pmm --names-only for pacman mistake package for repository

pmm --names-only for pacman mistake package for repository

by
Siljrath
from LinuxQuestions.org on (#57CB8)
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 Code:"" 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 stgives the same
Code:error: repository "st" was not found.so maybe it's the Code:-Sl 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 stand 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 stwhich did at least return 5 results for "post1"... leaving me wondering if the Ql was right... ... and a little more poking at Code:man pacman 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 xzgives Code:local/xz 5.2.5-1
Library and command line tools for XZ and LZMA compressed filesand 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]latest?d=yIl2AUoC8zA latest?i=SMEw7wQcMGw:qxvoEAF3e_M:F7zBnMy latest?i=SMEw7wQcMGw:qxvoEAF3e_M:V_sGLiP latest?d=qj6IDK7rITs latest?i=SMEw7wQcMGw:qxvoEAF3e_M:gIN9vFwSMEw7wQcMGw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments