A quick search didn't turn anything up on this specifically (the general issue... not just for this specific package)...
$ pacman -F shnsplit
community/shntool 3.0.10-6
usr/bin/shnsplit
But...
pacman -Ss shntool
$
In other words... nothing.
$ pacman -Syu shntool
:: Synchronizing package databases...
system is up to date
world is up to date
galaxy is up to date
extra is up to date
community is up to date
universe is up to date
error: target not found: shntool
I'm guessing that 'shntool' was moved out of community into AUR but my (quick) search didn't find any confirmation of this. I'm also guessing that the package showing up with 'pacman -F' is some sort of glitch, using outdated info... ?
Can anyone enlighten?
I guess your pacman files database is outdated. You need to update it with
sudo pacman -Fy
And yes, shntool now is indeed in AUR.
paru shntool
1 aur/shntool 3.0.10-7 [+12 ~0.13]
A multi-purpose WAVE data processing and reporting utility
I was never too clear on details of the "package database", but the given command (above), removed the obsolete result. Looking through the pacman man page, i see this:
EXAMPLES
pacman -Ss ne.hack
Search for regexp "ne.hack" in package database.
This puzzles me, as my "-Ss" search (before updating the "package database") returned nothing. I wonder if the above is an error. Also, the man page says:
-k, --check
Check the local package database is internally consistent. This...
Either of these, results in "error: invalid option..."
And thanks for mentioning "paru". I'm checking that out.
This is kind of unrelated (and not so important), so i'll ask here...
'paru' requires 'rust' to be installed (which is in the 'world' repository). So i installed it. I like to run the install command again, just in case i missed an error, or some dependency left something still to do. Every time i run:
pacman -Syu rust
it installs the rust package. *Every* time. I haven't seen this before. Usually (i thought) it knows the package is already installed, and doesn't (need to) do anything. ??
If you use makepkg to build the package the -i option will also install it. Or pacman with the -U option will install a local package but you need to supply the path unless you are in the directory with the package in which case just the packages filename is needed
If you name a package(s) pacman -S will always reinstall if the package is currently installed.