LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 08-26-2020, 12:32 PM   #1
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 218

Rep: Reputation: 65
Red face pmm --names-only for pacman mistake package for repository


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 st
gives 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 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
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 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]

Last edited by Siljrath; 08-26-2020 at 12:39 PM. Reason: 1: regex and sed notions. 2: Ss on xz looks more right
 
Old 08-26-2020, 04:18 PM   #2
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 141

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 08-29-2020, 11:07 AM   #3
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 141

Rep: Reputation: Disabled
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.
 
Old 09-02-2020, 11:58 AM   #4
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 218

Original Poster
Rep: Reputation: 65
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.
 
Old 09-02-2020, 08:10 PM   #5
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 141

Rep: Reputation: Disabled
Correct
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
LXer: Deb-pacman : A Pacman-style Frontend For APT Package Manager LXer Syndicated Linux News 1 12-09-2019 05:21 PM
LXer: Big mistake, Google. Big mistake: Chrome OS to be 'folded into Android' LXer Syndicated Linux News 0 10-29-2015 11:33 PM
Why do we need pacman-key if pacman checks md5? Mr. Alex Arch 5 03-09-2012 05:05 PM
Anyone else 'pacman -Sy' instead of simply 'pacman -S'-ing packages? Kenny_Strawn Arch 15 03-23-2011 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration