Install sun-java6-jdk di ubuntu 10.4 error terus

Aplikasi-aplikasi diubuntu: • Aplikasi Grafis •
Aplikasi Internet •
Aplikasi Office •
Aplikasi Sound & Video •
Aplikasi Programming
User avatar
dechan
Posts: 13
Joined: 21 Feb 2012, 13:00

Install sun-java6-jdk di ubuntu 10.4 error terus

Postby dechan » 21 Feb 2012, 13:19

kenapa yh install sun-java6-jdk ,,
jawabannya ini mulu,,

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

mohon pencerahannya
User avatar
abu_unaisah
Posts: 1621
Joined: 24 Nov 2011, 14:07

Re: Install sun-java6-jdk di ubuntu 10.4 error terus

Postby abu_unaisah » 21 Feb 2012, 13:39

sudo rm /var/lib/dpkg/lock
sudo apt-get update && sudo apt-get upgrade
User avatar
pupil
Posts: 458
Joined: 08 Jan 2012, 06:24
Location: /home/pupil
Contact:

Re: Install sun-java6-jdk di ubuntu 10.4 error terus

Postby pupil » 21 Feb 2012, 14:03

[quote=dechan]kenapa yh install sun-java6-jdk ,,
jawabannya ini mulu,,

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

mohon pencerahannya



Error seperti ini biasanya terjadi ketika kita menginstall aplikasi dari terminal, tetapi synaptic package manager atau Ubuntu software center atau aplikasi management package lain masih terbuka. Solusinya ya, kalau mau install dari terminal, tutuplah lebih dulu aplikasi package manager yang lain.