That’s the only way I noticed too - very un-Archlike of us not to mentally ‘execute’ the command before running it! (waggles finger (no, not that one)- you should never…)
There was a missing \ before the *… and then it was fixed (after I tried it and it didn’t work). No idea how it got there (or left there) but that’s the story.
I still have no idea what it is, or what it does, but I know it works! (and no, I don’t plan to archwiki it today, thanks.
I copied and pasted it after using it from the Arch site which worked but i know sometimes this copy and paste messes things up. I didn’t notice anything when i pasted it?
Globbing …what is globbing? I just thought the * is for all files? I’m going to check my other computer and see if the \ was there because i used it and it worked before i posted it? So i copied and pasted it from the Arch site not my terminal? Strange it would be missing?
Globbing is how a shell handles expansion and matching of patterns containing wildcard characters. man 7 glob should give a pretty good overview of that.
In pacman escaping the wildcards seems to be necessary in order to prevent the expansion be done by the shell (?). I haven’t been able to make it (pacman) to use wildcards anywhere, but while using the –overwrite option. And regex seems to be working only in search I am still looking for a good documentation on that though…
You need to somehow escape the * to keep it from being interpreted by the shell. Otherwise it tries to expand /usr/lib*/p11-kit-trust.so before calling pacman. I suppose if you only had one file matching that expression it might work either way but I have never tested that.
There quite a few ways to stop the * from being interpreted. One way is to escape it with a \ as is shown above. Another way would be to surround the whole thing in quotes.
I just posted it as it was on the Arch site last night late and i did the update on my kde system and it had 82 updates and was no problem. I’m going to go back and look and see what the command was exactly that i used because i really don’t know if it was same?
I’m also confused…
I tried using alias, none of the versions worked.
example syu --overwrite /usr/lib\*/p11-kit-trust.so
and syu --overwrite /usr/lib*/p11-kit-trust.so
zsh and bash failed too.
Then i copied and pasted from archwiki, just added sudo and worked.
Maybe there is some format to the text you pasted up there…