I had the error
LICENSE ... FAILED
==> ERROR: One or more files did not pass the validity check!
so I changed the hash in the
~/.cache/yay/package/PKGBUILD file after using
Then I tried
yay -S package again but I got the same error.
Are there any files I need to delete or something else I can do to install the package?
I could install the package with
sudo pacman -U package.pkg.tar.xz but I would like to know if I can do the same with yay.
Try this for a one-time installation:
yay --editmenu --editor=nano -S <package-name>
P.S. you can always enable the edit menu or set your preferred editor as the default in the yay config file:
no need for yay or edit - as the following will generate checksums, sync dependencies and install after successful build
updpkgsums && makepkg --install --syncdeps
@linux-aarhus, I think you meant:
updpkgsums && makepkg --install --syncdeps --clean
because when you provide
--geninteg flag, everything else is ignored.
makepkg --geninteg just shows the new checksums, but
updpkgsums updates the
I also like to add
--clean flag to remove the make dependencies immediately.
If you update the hashes like this, you could
SKIP them all: They are there for validating that you receive the exact same content as the maintainer intended. If you update the sums like this, you lose this security feature.