Skip to main content
Topic: It's not in the repo? (Read 333 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

It's not in the repo?

A quick search didn't turn anything up on this specifically (the general issue... not just for this specific package)...

Code: [Select]
$ pacman -F shnsplit
community/shntool 3.0.10-6
    usr/bin/shnsplit

But...

Code: [Select]
pacman -Ss shntool
$

In other words... nothing.

Code: [Select]
$ 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?

Re: It's not in the repo?

Reply #1
I guess your pacman files database is outdated. You need to update it with
Code: [Select]
sudo pacman -Fy

And yes, shntool now is indeed in AUR.
Code: [Select]
paru shntool
1 aur/shntool 3.0.10-7 [+12 ~0.13]
    A multi-purpose WAVE data processing and reporting utility

Re: It's not in the repo?

Reply #2
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:

Code: [Select]
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:

Code: [Select]
       -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.

 

Re: It's not in the repo?

Reply #3
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:

Code: [Select]
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.  ??

Re: It's not in the repo?

Reply #4
I didn't know that after building the AUR package, pacman could be used to install things.
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
Quote
This is kind of unrelated (and not so important), so i'll ask here...
Usually (i thought) it knows the package is already installed, and doesn't (need to) do anything.  ??
If you name a package(s) pacman -S will always reinstall if the package is currently installed.