Search notes:

apt-key

apt-key is a deprecated APT key management utility. Key rings should be managed in trusted.gpg.d instead.

GPG error: … The following signatures couldn't be verified because the public key is not available: NO_PUBKEY …

$ sudo add-apt-repository ppa:oibaf/graphics-drivers
This previous command created /etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-plucky.list.
Later:
$ sudo apt update && sudo apt upgrade -y
…
Err:4 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu plucky InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93F4D583494746C8 NO_PUBKEY 957D2708A03A4626
…
W: GPG error: http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu plucky InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93F4D583494746C8 NO_PUBKEY 957D2708A03A4626
E: The repository 'http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu plucky InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv  957D2708A03A4626
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.gU74HbpAfd/gpg.1.sh --keyserver keyserver.ubuntu.com --recv 957D2708A03A4626
gpg: key 957D2708A03A4626: public key "Launchpad PPA for Fabio Pedretti" imported
gpg: Total number processed: 1
gpg:               imported: 1

See also

/etc/apt/trusted.gpg

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/pa...', 1759408911, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/package-managers/APT/commands/apt-key(63): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78