Minggu, 26 Juli 2015

Keyring installed Error Ubuntu Server

Mandailing Natal - Keyring installed Error Ubuntu Server – terjadinya masalah Keyring installed Error Ubuntu Server berawal ketika saya salah hapus isi file pada ubuntu server, pada awalnya saya ingin menghapus cache proxy namun salah directory dan lenyap sudah isi /etc/apt/. Yang menimbulkan pesan Keyring installed Error Ubuntu Server saat menjalankan perintah apt-get update.



Error Keyring installed Error Ubuntu Server bisa di lihat seperti di bawah ini.

Hit http://gb.archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com oneiric-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com oneiric-backports/universe Translation-en
Fetched 792 B in 41s (18 B/s)
Reading package lists... Done
W: GPG error: http://security.ubuntu.com oneiric-security Release: No keyring installed in /etc/apt/trusted.gpg.d/.
W: GPG error: http://gb.archive.ubuntu.com oneiric Release: No keyring installed in /etc/apt/trusted.gpg.d/.
W: GPG error: http://gb.archive.ubuntu.com oneiric-updates Release: No keyring installed in /etc/apt/trusted.gpg.d/.
W: GPG error: http://gb.archive.ubuntu.com oneiric-backports Release: No keyring installed in /etc/apt/trusted.gpg.d/.

Berikut cara mengatasi Keyring installed Error Ubuntu Server
Ketikkan perintah dibawah ini pada consol ubuntu

gpg --keyserver pgpkeys.mit.edu --recv-key 40976EAF437D05B5

Hasil eksekusi perintah di atas seperti di bawah ini

root@Proxy:/etc/apt# gpg --keyserver pgpkeys.mit.edu --recv-key 40976EAF437D05B5
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 437D05B5 from hkp server pgpkeys.mit.edu
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 437D05B5: public key "Ubuntu Archive Automatic Signing Key " imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1


Lalu ketikkan perintah
 
gpg -a --export 40976EAF437D05B5 | apt-key add -

Hasilnya seperti di bawah ini

root@Proxy:/etc/apt# gpg -a --export 40976EAF437D05B5 | apt-key add -
OK