You are not logged in.
On my system, if I run the command 'pacman -Ss calc', the first entry listed is the perl package. However, the pattern 'calc' appears in neither the package name nor description, which (if I have read the man page correctly) are the only two fields that are searched.
$ pacman -Ss calc | head -2
core/perl 5.42.0-1 [installed]
A highly capable, feature-rich programming language
$ pacman -Ss calc | head -2 | grep calc
$Is this a bug or am I missing something?
Last edited by esotechnica (2025-10-26 01:05:29)
Offline
Pacman's debug flag can help shed light on the logic behind things like this:
$ pacman -Ss calc --debug
[...]
debug: searching for target 'calc'
debug: search target 'calc' matched 'perl-math-bigint-fastcalc' on package 'perl'
[...]See also: https://gitlab.archlinux.org/archlinux/ … =heads#L78
Last edited by WorMzy (2025-10-25 09:28:55)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Ha, it was right under my nose all the time. I did see a list of 'Provides' entries after doing a pacman -Qi perl, but didn't really understand what 'Provides' actually means. I just thought it was a list of executable programs it installed. After doing some more research, I understand what's going on now. Thanks, WorMzy!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online