Something wicked happened resolving

Assalamu’alaaikum, pernah mengalami error seperti ini

'Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)'

saat kita akan menginstall applikasi atau akan meng-update sistem di ubuntu, seperti dibawah ini?

root@ubuntu:~# apt-get update

Muncul error berikut:

Err http://id.archive.ubuntu.com raring Release.gpg
Something wicked happened resolving 'id.archive.ubuntu.com:http' (-11 - System error)
Err http://id.archive.ubuntu.com raring-updates Release.gpg
Something wicked happened resolving 'id.archive.ubuntu.com:http' (-11 - System error)
Err http://id.archive.ubuntu.com raring-backports Release.gpg
Something wicked happened resolving 'id.archive.ubuntu.com:http' (-11 - System error)
Err http://security.ubuntu.com raring-security Release.gpg
Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)r)

Berikut cara yang kami lakukan untuk memperbaikinya:
untuk memperbaikinya kita harus menambahkan dua nameserver dari google di file resolv.conf yaitu:

nameserver 8.8.8.8
nameserver 8.8.4.4

gunakan aplikasi editor seperti nano, vi atau vim. lihat perintah dibawah ini (disini kami menggunakan editor nano:

root@ubuntu:~# nano /etc/resolv.conf

Kemudian masukkan nameserver diatas.

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND — YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8
nameserver 8.8.4.4

(untuk keluar program editor nano, tekan ctrl+x kemudian tekan ‘y’ jika menyetujui untuk disimpan, kemudian ENTER)
Kemudian lakukan update kembali

root@ubuntu:~# apt-get update

berikut hasilnya..

Get:1 http://security.ubuntu.com raring-security Release.gpg [933 B]
Get:2 http://id.archive.ubuntu.com raring Release.gpg [933 B]
Get:3 http://security.ubuntu.com raring-security Release [40.8 kB]
Get:4 http://id.archive.ubuntu.com raring-updates Release.gpg [933 B]
Get:5 http://id.archive.ubuntu.com raring-backports Release.gpg [933 B]
Get:6 http://id.archive.ubuntu.com raring Release [40.8 kB]
Get:7 http://security.ubuntu.com raring-security/main Sources [29.3 kB]
Get:8 http://id.archive.ubuntu.com raring-updates Release [40.8 kB]
Get:9 http://security.ubuntu.com raring-security/restricted Sources [14 B]
Get:10 http://id.archive.ubuntu.com raring-backports Release [40.8 kB]
Get:11 http://security.ubuntu.com raring-security/universe Sources [6,506 B]
Get:12 http://security.ubuntu.com raring-security/multiverse Sources [690 B]
Get:13 http://id.archive.ubuntu.com raring/main Sources [963 kB]
Get:14 http://security.ubuntu.com raring-security/main amd64 Packages [79.3 kB]
Get:15 http://security.ubuntu.com raring-security/restricted amd64 Packages [14 B]
Get:16 http://security.ubuntu.com raring-security/universe amd64 Packages [22.5 kB]
Get:17 http://security.ubuntu.com raring-security/multiverse amd64 Packages [1,143 B]
Get:18 http://security.ubuntu.com raring-security/main i386 Packages [78.6 kB]
Get:19 http://id.archive.ubuntu.com raring/restricted Sources [5,987 B]
Get:20 http://id.archive.ubuntu.com raring/universe Sources [5,838 kB]
Get:21 http://security.ubuntu.com raring-security/restricted i386 Packages [14 B]
Get:22 http://security.ubuntu.com raring-security/universe i386 Packages [23.1 kB]
Get:23 http://security.ubuntu.com raring-security/multiverse i386 Packages [1,403 B]
Get:24 http://security.ubuntu.com raring-security/main Translation-en [41.2 kB]
Hit http://security.ubuntu.com raring-security/multiverse Translation-en
Hit http://security.ubuntu.com raring-security/restricted Translation-en
Hit http://security.ubuntu.com raring-security/universe Translation-en
Ign http://security.ubuntu.com raring-security/main Translation-en_US
Ign http://security.ubuntu.com raring-security/multiverse Translation-en_US
Ign http://security.ubuntu.com raring-security/restricted Translation-en_US
Ign http://security.ubuntu.com raring-security/universe Translation-en_US
Get:25 http://id.archive.ubuntu.com raring/multiverse Sources [171 kB]
Get:26 http://id.archive.ubuntu.com raring/main amd64 Packages [1,170 kB]
Get:27 http://id.archive.ubuntu.com raring/restricted amd64 Packages [9,636 B]
Get:28 http://id.archive.ubuntu.com raring/universe amd64 Packages [5,396 kB]
Get:29 http://id.archive.ubuntu.com raring/multiverse amd64 Packages [130 kB]
Get:30 http://id.archive.ubuntu.com raring/main i386 Packages [1,168 kB]
Get:31 http://id.archive.ubuntu.com raring/restricted i386 Packages [9,623 B]
Get:32 http://id.archive.ubuntu.com raring/universe i386 Packages [5,405 kB]
Get:33 http://id.archive.ubuntu.com raring/multiverse i386 Packages [131 kB]
Get:34 http://id.archive.ubuntu.com raring/main Translation-en [673 kB]
Get:35 http://id.archive.ubuntu.com raring/multiverse Translation-en [98.4 kB]
Get:36 http://us.archive.ubuntu.com raring/restricted Translation-en [2,767 B]
Get:37 http://id.archive.ubuntu.com raring/universe Translation-en [3,736 kB]
Get:38 http://id.archive.ubuntu.com raring-updates/main Sources [46.1 kB]
Get:39 http://id.archive.ubuntu.com raring-updates/restricted Sources [14 B]
Get:40 http://id.archive.ubuntu.com raring-updates/universe Sources [60.9 kB]
Get:41 http://id.archive.ubuntu.com raring-updates/multiverse Sources [690 B]
Get:42 http://id.archive.ubuntu.com raring-updates/main amd64 Packages [118 kB]
Get:43 http://id.archive.ubuntu.com raring-updates/restricted amd64 Packages [14 B]
Get:44 http://id.archive.ubuntu.com raring-updates/universe amd64 Packages [109 kB]
Get:45 http://id.archive.ubuntu.com raring-updates/multiverse amd64 Packages [1,143 B]
Get:46 http://id.archive.ubuntu.com raring-updates/main i386 Packages [117 kB]
Get:47 http://id.archive.ubuntu.com raring-updates/restricted i386 Packages [14 B]
Get:48 http://id.archive.ubuntu.com raring-updates/universe i386 Packages [110 kB]
Get:49 http://id.archive.ubuntu.com raring-updates/multiverse i386 Packages [1,403 B]
Get:50 http://id.archive.ubuntu.com raring-updates/main Translation-en [57.8 kB]
Get:51 http://id.archive.ubuntu.com raring-updates/multiverse Translation-en [587 B]
Get:52 http://id.archive.ubuntu.com raring-updates/restricted Translation-en [14 B]
Get:53 http://id.archive.ubuntu.com raring-updates/universe Translation-en [59.7 kB]
Get:54 http://id.archive.ubuntu.com raring-backports/main Sources [14 B]
Get:55 http://id.archive.ubuntu.com raring-backports/restricted Sources [14 B]
Get:56 http://id.archive.ubuntu.com raring-backports/universe Sources [4,365 B]
Get:57 http://id.archive.ubuntu.com raring-backports/multiverse Sources [1,403 B]
Get:58 http://id.archive.ubuntu.com raring-backports/main amd64 Packages [14 B]
Get:59 http://id.archive.ubuntu.com raring-backports/restricted amd64 Packages [14 B]
Get:60 http://id.archive.ubuntu.com raring-backports/universe amd64 Packages [5,801 B]
Get:61 http://id.archive.ubuntu.com raring-backports/multiverse amd64 Packages [1,357 B]
Get:62 http://id.archive.ubuntu.com raring-backports/main i386 Packages [14 B]
Get:63 http://id.archive.ubuntu.com raring-backports/restricted i386 Packages [14 B]
Get:64 http://id.archive.ubuntu.com raring-backports/universe i386 Packages [5,801 B]
Get:65 http://id.archive.ubuntu.com raring-backports/multiverse i386 Packages [1,345 B]
Get:66 http://id.archive.ubuntu.com raring-backports/main Translation-en [14 B]
Get:67 http://id.archive.ubuntu.com raring-backports/multiverse Translation-en [1,040 B]
Get:68 http://id.archive.ubuntu.com raring-backports/restricted Translation-en [14 B]
Get:69 http://id.archive.ubuntu.com raring-backports/universe Translation-en [4,639 B]

Fetched 26.1 MB in 2min 31s (172 kB/s)
Reading package lists... Done
root@ubuntu:~#

Terlihat Error pun hilang. Itu saja bagaimana kita memperbaiki error

Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)'

(34)

0 comments on “Something wicked happened resolvingAdd yours →

Leave a Reply

Your email address will not be published. Required fields are marked *