Apt

Error

No public key available

  • Description: When running apt-get update , the process stops with the error message There is no public key available for the following key IDS: \<random-key-number>.
  • Solution: Import the missing key:
gpg --recv-keys <random-key-number>
gpg --export <random-key-number> | apt-key add -
apt-get update
...