Kamis, 12 Mei 2016

[SOLVED] Ubuntu Server Error GPG

Contoh pesan Error GPG:
GPG error: http://security.ubuntu.com trusty-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32


Jika tidak diperbaiki (fix) error ini dapat menyebabkan proses apt-get gagal saat meng-install, upgrade, maupun dist-upgrade.

Perhatikan pesan error diatas yaitu NO_PUBKEY 40976EAF437D05B5 dan NO_PUBKEY 3B4FE6ACC0B21F32

Jalankan command berikut:
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
$ sudo apt-get update