I was trying to remember which package contained paccache
, so I ran yay -F paccache
and got this:
$ yay -F paccache
community/pacman-contrib 1.4.0-4 [installed: 1.5.0-1]
usr/bin/paccache
Confused at the version difference, I ran yay -Ss pacman-contrib
and got this:
$ yay -Ss pacman-contrib
community/pacman-contrib 1.5.0-1 (38.5 KiB 107.5 KiB) (Installed)
Contributed scripts and tools for pacman systems
When I first ran yay -F
, it complained about the database not being up-to-date and suggested running yay -Fy
. Running this same command, the database updated and now yay -F
shows the updated info.
The question is: why is there a need to update the pacman database with (2) separate commands to get the right package info?