5 January 2015

Solution for this error is to update trust database. package-1.1.0.9128.tar.gz ...
ERROR: One or more files did not pass the validity check!
FAILED (unknown public key 1234567890).
ERROR: One or more PGP signatures could not be verified!
ERROR: Makepkg was unable to build package.

Source code viewer
  1. # Add a single key, and yaourt can update your packages.
  2. gpg --recv-keys <keyid>
  3.  
  4. # Or trust all keys always. Only use this after all other attempts fail.
  5. nano ~/.gnupg/gpg.conf
  6. # Add line "trust-model always" to the end of the file.
  7.  
  8. # Or use flags to skip the validity check on installing a package / updating packages.
  9. yay -S --mflags --skipinteg [package-name]
  10. yay -Syua --mflags --skipinteg
Programming Language: Bash