Err archive.ubuntu.com quantal InRelease Err
archive.ubuntu.com quantal-updates InRelease Err
archive.ubuntu.com quantal-backports InRelease Err
archive.ubuntu.com quantal-security InRelease Err
archive.ubuntu.com quantal Release.gpg Reading package lists... Done W: Failed to fetch archive.ubuntu.com/ubuntu/dists/quantal/InRelease W: Failed to fetch
archive.ubuntu.com/ubuntu/dists/quantal-updates/InRelease W: Failed to fetch
archive.ubuntu.com/ubuntu/dists/quantal-backports/InRelease W: Failed to fetch
archive.ubuntu.com/ubuntu/dists/quantal-security/InRelease W: Failed to fetch
archive.ubuntu.com/ubuntu/dists/quantal/Release.gpg Unable to connect to
archive.ubuntu.com:http: [IP: 91.189.92.177 80] W: Failed to fetch
archive.ubuntu.com/ubuntu/dists/quantal-updates/Release.gpg Unable to connect to
archive.ubuntu.com:http: [IP: 91.189.92.177 80] W: Failed to fetch
archive.ubuntu.com/ubuntu/dists/quantal-backports/Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.92.177 80] W: Failed to fetch
archive.ubuntu.com/ubuntu/dists/quantal-security/Release.gpg Unable to connect to
archive.ubuntu.com:http: [IP: 91.189.92.177 80] W: Some index files failed to download. They have been ignored, or old ones used instead.
Solusinya adalah :
1. Buka terminal ubuntu anda (ctrl+alt+T). lalu masuk ke root (sudo su)
2. Lakuakan perintah ini satu persatu secara berurutan, cd /var/lib/apt/lists/ rm -fr * cd /etc/apt/sources.list.d/ rm -fr * cd /etc/apt sudo cp sources.list sources.list.old sudo cp sources.list sources.list.tmp sed 's/ubuntuarchive.hnsdc.com/us.archive.ubuntu.com/' sources.list.tmp | sudo tee sources.list sudo rm sources.list.tmp* apt-get clean apt-get update
Ketika anda mebuka terminal dan menjalankan update $ sudo apt-get update atau menginstal aplikasi $ sudo apt-get install xxx muncul seperti berikut :
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
atau
E: Could not get lock /var/lib/dpkg/lock - open (11: Sumber daya sementara tidak tersedia)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Solusinya :
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
atau
E: Could not get lock /var/lib/dpkg/lock - open (11: Sumber daya sementara tidak tersedia)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Solusinya :
Ini berarti sebelumnya ada proses update atau instal
aplikasi yang belum selesai atau dihentikan paksa, bisa jadi karena
menutup terminal saat meng-update repositori atau membuka manajer paket
pada saat bersamaan.
Ada beberapa paket manajer di ubuntu Synaptic, Ubuntu software
center, apt-get(terminal), dll. Semua paket manajer tersebut tidak bisa
digunakan bersamaan, untuk menginstal/menghapus aplikasi gunakan salah
satu aplikasi saja. Untuk mengatasi error seperti diatas tutup semua
paket manajer yang terbuka lalu buka satu paket manajer saja bila masih
terjadi eror ikuti perintah ini, buka terminal ketik:
Untuk mencegah hal ini terjadi lagi, jangan keluar terminal saat masih melakukan update atau masih dalam konfigurasi pemasangan aplikasi dan buka satu manajer paket saja.
Untuk kode galat seperti dibawah ini biasanya setelah mengutak-atik sourcelist.
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4C1CBE14852541CB
Cara mengatasinya dengan perintah
$ sudo rm /var/lib/apt/lists/lockatau jika ingin hapus lewat antarmuka bisa menggunakan perintah ini
$ sudo rm /var/lib/dpkg/lock
$ sudo nautilusBuka direktori /var/lib/apt/lists dan /var/lib/dpkg/ hapus file lock yang ada di folder lists kemudian kembali terminal lakukan pembaruan repositori lagi
$ sudo apt-get update
Untuk mencegah hal ini terjadi lagi, jangan keluar terminal saat masih melakukan update atau masih dalam konfigurasi pemasangan aplikasi dan buka satu manajer paket saja.
Untuk kode galat seperti dibawah ini biasanya setelah mengutak-atik sourcelist.
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4C1CBE14852541CB
Cara mengatasinya dengan perintah
sudo apt-key adv --keyserver keyserver.ubuntu.com--recv-keys 4C1CBE14852541CB
Jengalami ubuntu software center tidak bisa instal and remove:
Solusinya:
masuk ke Aplikasi menu-system tools-as=administration-synaptik package
mnager manager synaptik package manager buka. Ini sebenarnya merupakan
pendahulu ubuntu softwere center, pada menu edit buka kemudian pilih fix
broken system setelah itu seluar dan selesai
Tidak ada komentar:
Posting Komentar