[help] Tidak Bisa Update Ubuntu 12.04

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
zado
Posts: 27
Joined: 16 May 2011, 05:32
Location: indonesia

[help] Tidak Bisa Update Ubuntu 12.04

Postby zado » 13 Mar 2013, 05:01

Saya baru insatll ubuntu 12.04 dan masalahnya ubuntu saya tidak bisa di update lewat terminal/update managger.

saya coba lewat terminal dengan: sudo apt-get update
replynya errornya: 403 Two Host Req Hdr [IP: 91.189.92.191 80]

saya coba lewat update managger: Failed to download repository information-Check your Internet connection.
W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 403 Two Host Req Hdr [IP: 91.189.92.202 80]

btw apa sih artinaya
403 Two Host Req Hdr

tolong di bantu ya :ubuntu:
User avatar
nif
Posts: 2817
Joined: 31 Mar 2011, 07:48

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby nif » 13 Mar 2013, 13:43

zado wrote:... W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 403 Two Host Req Hdr [IP: 91.189.92.202 80] ...


kok aneh sekali ya? :confused:
kalo http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources memang gak ada.
Harusnya yang diminta apt-get adalah
http://archive.ubuntu.com/ubuntu/dists/ ... ources.bz2 atau
http://archive.ubuntu.com/ubuntu/dists/ ... Sources.gz

coba om zado buka terminal, ketikkan perintah;
sudo apt-get --print-uris -y update | grep Sources | cut -f1 "-d "
lalu copy jawabannya ke sini.

cmiiw
User avatar
Huscle
Posts: 12
Joined: 08 Oct 2010, 19:19
Location: Denpasar, Bali
Contact:

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby Huscle » 13 Mar 2013, 20:47

Halo agan zado, salam kenal ane ari dari Bali..
ane pernah ngalamin kayak gtu gan, kalo boleh tau inet nya agan pake wifi ato wired ya?

dulu solusi ane ngatasin hal ini dengan ngubah dns wifi ato koneksi wired ane gan, jadi dns google..

Nah setelah itu langsung mau kayak biasanya...

Semoga bisa membantu gan..
User avatar
xnome
Posts: 7
Joined: 13 Mar 2013, 22:43

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby xnome » 13 Mar 2013, 22:46

nif wrote:
zado wrote:... W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 403 Two Host Req Hdr [IP: 91.189.92.202 80] ...


kok aneh sekali ya? :confused:
kalo http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources memang gak ada.
Harusnya yang diminta apt-get adalah
http://archive.ubuntu.com/ubuntu/dists/ ... ources.bz2 atau
http://archive.ubuntu.com/ubuntu/dists/ ... Sources.gz

coba om zado buka terminal, ketikkan perintah;
sudo apt-get --print-uris -y update | grep Sources | cut -f1 "-d "
lalu copy jawabannya ke sini.

cmiiw


Saya mengalami hal yg sama dan sudah menjalankan perintah di atas hasilnya :

'http://extras.ubuntu.com/ubuntu/dists/precise/main/source/Sources.bz2'
:(
User avatar
zado
Posts: 27
Joined: 16 May 2011, 05:32
Location: indonesia

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby zado » 14 Mar 2013, 07:30

Belum Berhasil Update?

Bro nif, ini hasil terminalnya
Tampilkan
'http://extras.ubuntu.com/ubuntu/dists/precise/main/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise/main/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise/restricted/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-backports/main/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-backports/universe/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-security/main/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-security/restricted/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-security/universe/source/Sources.bz2'
'http://archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/source/Sources.bz2'

dan Untuk Bro,Huscle:
Saya Sudah Menggunakan DNS google dan disini Saya memakai koneksi Internet dari modem GSM/USB,
Terimakasih Bro,Sta atas Info:HTTP Status Messagesnya
User avatar
nif
Posts: 2817
Joined: 31 Mar 2011, 07:48

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby nif » 14 Mar 2013, 08:20

@xnome & zado :
oke, keluaran dari apt-get --print-uris di atas adalah Sources.bz2 (bukan Sources aja).
Memang seharusnya seperti itu :smile:
Jadi kesimpulan sementara saya ; apt-get normal.

sekarang, coba kita download salah satu Sources.bz2 secara manual.
Silahkan om xnome & om zado buka lagi terminal, lalu ketikkan seperti ini ;

Code: Select all

wget http://extras.ubuntu.com/ubuntu/dists/precise/main/source/Sources.bz2

apakah file Sources.bz2 itu berhasil di-download?
User avatar
xnome
Posts: 7
Joined: 13 Mar 2013, 22:43

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby xnome » 14 Mar 2013, 09:55

Bisa di download bro.
ini penampakan dari terminal

wget http://extras.ubuntu.com/ubuntu/dists/p ... ources.bz2
--2013-03-14 09:50:37-- http://extras.ubuntu.com/ubuntu/dists/p ... ources.bz2
Resolving extras.ubuntu.com (extras.ubuntu.com)... 91.189.88.33, 2001:67c:1360:8001::10
Connecting to extras.ubuntu.com (extras.ubuntu.com)|91.189.88.33|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8130 (7.9K) [application/x-bzip2]
Saving to: `Sources.bz2'

100%[======================================>] 8,130 29.0K/s in 0.3s

2013-03-14 09:50:37 (29.0 KB/s) - `Sources.bz2' saved [8130/8130]
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby q_p » 14 Mar 2013, 14:34

Hebat, ikutan nyimak mas :)
User avatar
nif
Posts: 2817
Joined: 31 Mar 2011, 07:48

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby nif » 14 Mar 2013, 20:04

berarti kalo dirunut lagi;
link download yang dibuat apt-get masih normal, dan download manual pake wget pun bisa... berarti kemungkinan kesalahan di setting internet yang dipake apt :confused:

ganti2 dns seperti saran om Huscle belum bisa ya?
coba nanti saya cari2 dulu, dan semoga ada warga lain yang bisa membantu :smile:
User avatar
cr0nn1x
Posts: 1
Joined: 14 Mar 2013, 22:09
Location: Jakarta

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby cr0nn1x » 14 Mar 2013, 22:39

saya juga pernah bermasalah seperti ini saat koneksi via modem. Jalan normal setelah tunnel koneksi lewat vpn ke opis :D

kesimpulan sementara juga, mungkin ada masalah pada koneksi upstream internet
User avatar
offline
Posts: 2672
Joined: 17 Feb 2010, 21:03
Location: Kebumen

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby offline » 14 Mar 2013, 23:12

dah coba ganti alamat repositorinya?
User avatar
Huscle
Posts: 12
Joined: 08 Oct 2010, 19:19
Location: Denpasar, Bali
Contact:

Re: [help] Tidak Bisa Update Ubuntu 12.04

Postby Huscle » 15 Mar 2013, 08:09

oya agan zado, sebelumnya pernah make linux/ubuntu versi lainnya?
kalo pernah, pernah muncul masalah sama kayak gini gag gan?

Waktu dikasus ane, ane make wifi dari 2 gadget android ane, ke2 nya GSM dan berbeda provider, awal nya ke2 nya ane pake update dan install app via apt-get gamau, tapi browsing n download dari browser mau.

trus yg ane ganti dns nya di gadget ane bukan di laptop ane gan,akhirnya apt-get berjalan lancar seperti biasa lagi.

cba di test pake modem cdma kayak sm**t gan..
hehehehehe....
User avatar
xnome
Posts: 7
Joined: 13 Mar 2013, 22:43

Re: [Solved] Tidak Bisa Update Ubuntu 12.04

Postby xnome » 15 Mar 2013, 19:45

Setelah mencari info dari segala arah hasilnya nihil...

Kesalahan ternyata bukan dari Internet Provider atau pun settingan IP/DNS

buat agan zado yg senasib dengan saya kemaren ini neh solusinya:

Buka Nautilus sebagai root dari terminal, GKSU nautilus

segera mengarah ke /var/lib/apt/lists
hapus semua file yg ada di dalam folder tersebut

jalankan kembali apt-get update

Selesai, selamat mencoba
User avatar
nif
Posts: 2817
Joined: 31 Mar 2011, 07:48

Re: [Solved] Tidak Bisa Update Ubuntu 12.04

Postby nif » 17 Mar 2013, 20:37

wew, solusinya tidak saya duga. kok bisa ya file2 avail yang lama yang jadi masalah? :confused:

btw, bagus deh udah solved. makasih sharing-nya om xnome :smile:
User avatar
jalanterang
Posts: 75
Joined: 11 Jul 2012, 13:56
Location: Depok

Re: Tidak Bisa Update Ubuntu 12.04

Postby jalanterang » 25 Mar 2013, 12:03

Maaf mau tanya.. Setelah dua kali berhasil menggunakan cara ini, pagi ini koq saya tidak berhasil menghapus isi "/var/lib/apt/lists" ya? Isi folder tidak bisa dihapus, tidak ada reaksi ketika saya tekan tombol "Del" dan opsi untuk remove to rubbish bin tidak bisa dipilih.
Ini terjadi ketika, lagi-lagi, ada error saat akan update lewat update manager. Kali ini broken package. Karena tidak tahu harus bagaimana, inet tadi bermasalah, saya buka Synaptic PM dan pilih opsi fix broken package. Kemudian apt-get autoclean dan autoremove lewat terminal. Setelah itu proses update berjalan. Tapi isi dari "/var/lib/apt/lists" tetap tidak bisa dihapus.
Mohon bimbingannya.
User avatar
nif
Posts: 2817
Joined: 31 Mar 2011, 07:48

Re: Tidak Bisa Update Ubuntu 12.04

Postby nif » 25 Mar 2013, 13:50

coba pake ini om jalanterang;
sudo apt-get --list-cleanup update
jawabannya seperti apa?
User avatar
jalanterang
Posts: 75
Joined: 11 Jul 2012, 13:56
Location: Depok

Re: Tidak Bisa Update Ubuntu 12.04

Postby jalanterang » 25 Mar 2013, 15:45

Hasilnya seperti ini:
ibu@ibu-G31M-ES2L-130102:~$ sudo apt-get --list-cleanup update
[sudo] password for ibu:
Hit http://kambing.ui.ac.id precise Release.gpg
Hit http://kambing.ui.ac.id precise-updates Release.gpg
Hit http://kambing.ui.ac.id precise-security Release.gpg
Hit http://kambing.ui.ac.id precise Release
Hit http://download.bitdefender.com bitdefender Release.gpg
Hit http://kambing.ui.ac.id precise-updates Release
Hit http://kambing.ui.ac.id precise-security Release
Hit http://download.bitdefender.com bitdefender Release
Hit http://kambing.ui.ac.id precise/main i386 Packages
Hit http://kambing.ui.ac.id precise/restricted i386 Packages
Hit http://archive.canonical.com precise Release.gpg
Get:1 http://extras.ubuntu.com precise Release.gpg [72 B]
Hit http://kambing.ui.ac.id precise/universe i386 Packages
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://kambing.ui.ac.id precise/multiverse i386 Packages
Hit http://download.bitdefender.com bitdefender/non-free i386 Packages
Hit http://kambing.ui.ac.id precise/main TranslationIndex
Hit http://kambing.ui.ac.id precise/multiverse TranslationIndex
Hit http://kambing.ui.ac.id precise/restricted TranslationIndex
Hit http://kambing.ui.ac.id precise/universe TranslationIndex
Hit http://kambing.ui.ac.id precise-updates/main i386 Packages
Hit http://kambing.ui.ac.id precise-updates/restricted i386 Packages
Hit http://extras.ubuntu.com precise Release
Hit http://kambing.ui.ac.id precise-updates/universe i386 Packages
Hit http://kambing.ui.ac.id precise-updates/multiverse i386 Packages
Hit http://kambing.ui.ac.id precise-updates/main TranslationIndex
Hit http://kambing.ui.ac.id precise-updates/multiverse TranslationIndex
Hit http://kambing.ui.ac.id precise-updates/restricted TranslationIndex
Hit http://kambing.ui.ac.id precise-updates/universe TranslationIndex
Hit http://kambing.ui.ac.id precise-security/main i386 Packages
Hit http://kambing.ui.ac.id precise-security/restricted i386 Packages
Hit http://kambing.ui.ac.id precise-security/universe i386 Packages
Hit http://kambing.ui.ac.id precise-security/multiverse i386 Packages
Hit http://kambing.ui.ac.id precise-security/main TranslationIndex
Ign http://download.bitdefender.com bitdefender/non-free TranslationIndex
Hit http://kambing.ui.ac.id precise-security/multiverse TranslationIndex
Hit http://kambing.ui.ac.id precise-security/restricted TranslationIndex
Hit http://kambing.ui.ac.id precise-security/universe TranslationIndex
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://kambing.ui.ac.id precise/main Translation-en
Get:2 http://kambing.ui.ac.id precise/main Translation-en_GB [96.4 kB]
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://kambing.ui.ac.id precise/multiverse Translation-en
Get:3 http://kambing.ui.ac.id precise/multiverse Translation-en_GB [79.8 kB]
Hit http://kambing.ui.ac.id precise/restricted Translation-en
Get:4 http://kambing.ui.ac.id precise/restricted Translation-en_GB [2,406 B]
Hit http://kambing.ui.ac.id precise/universe Translation-en
Get:5 http://kambing.ui.ac.id precise/universe Translation-en_GB [5,492 B]
Hit http://kambing.ui.ac.id precise-updates/main Translation-en
Get:6 http://kambing.ui.ac.id precise-updates/main Translation-en_GB [96.4 kB]
Hit http://kambing.ui.ac.id precise-updates/multiverse Translation-en
Get:7 http://kambing.ui.ac.id precise-updates/multiverse Translation-en_GB [79.8 kB]
Hit http://kambing.ui.ac.id precise-updates/restricted Translation-en
Get:8 http://kambing.ui.ac.id precise-updates/restricted Translation-en_GB [2,406 B]
Hit http://kambing.ui.ac.id precise-updates/universe Translation-en
Get:9 http://kambing.ui.ac.id precise-updates/universe Translation-en_GB [5,492 B]
Hit http://kambing.ui.ac.id precise-security/main Translation-en
Hit http://kambing.ui.ac.id precise-security/multiverse Translation-en
Hit http://kambing.ui.ac.id precise-security/restricted Translation-en
Hit http://kambing.ui.ac.id precise-security/universe Translation-en
Hit http://archive.canonical.com precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://extras.ubuntu.com precise/main Translation-en_GB
Hit http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.canonical.com precise/partner Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release
Ign http://download.bitdefender.com bitdefender/non-free Translation-en_US
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Ign http://download.bitdefender.com bitdefender/non-free Translation-en
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Ign http://download.bitdefender.com bitdefender/non-free Translation-en_GB
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://ppa.launchpad.net precise/main TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://archive.canonical.com precise/partner Translation-en_GB
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://archive.canonical.com precise/partner Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Fetched 368 kB in 50s (7,312 B/s)
Reading package lists... Done

Tapi tetap belum bisa menghapus isi /var/lib/apt/list ya? Dan beberapa situs juga belum bisa saya akses.

Btw, jangan panggil oom dong.. Saya masih muda banget koq.. Hehehe.
User avatar
nif
Posts: 2817
Joined: 31 Mar 2011, 07:48

Re: Tidak Bisa Update Ubuntu 12.04

Postby nif » 25 Mar 2013, 17:45

Update sudah berjalan baik.
Dan sebenarnya opsi --list-cleanup di atas gunanya untuk membersihkan /var/lib/apt/lists juga :smile:

coba kalo pake sudo rm /var/lib/apt/lists/* jawabannya seperti apa?
User avatar
jalanterang
Posts: 75
Joined: 11 Jul 2012, 13:56
Location: Depok

Re: Tidak Bisa Update Ubuntu 12.04

Postby jalanterang » 25 Mar 2013, 17:54

Wah.. Terimakasih! Sudah bisa terhapus. Tapi ada folder "partial" yang tersisa, tidak apa2 kan?
rm: cannot remove `/var/lib/apt/lists/partial': Is a directory

Boleh tanya tidak, kenapa tiap ada error saat update saya jadi tidak bisa mengakses beberapa situs luar (askubuntu, edX.org, dll) ya? Baru setelah isi /var/lib/apt/lists dihapus akses kembali normal.

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: Bing [Bot] and 8 guests