Install sun-java6-jdk di ubuntu 10.4 error terus

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

Install sun-java6-jdk di ubuntu 10.4 error terus

Post by 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

Post by 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:

Post by pupil » 21 Feb 2012, 14:03

dechan wrote: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.


User avatar
santenkelapa
Posts: 182
Joined: 29 Jan 2012, 03:47
Location: pondok labu
Contact:

Post by santenkelapa » 22 Feb 2012, 13:24

ehmm
pertama2

kill semua apt-get yang jalan

$sudo ps aux | grep apt-get

kill semua pid nya
baru dah install sun-java6-sdk nya

:D


User avatar
james_elly
Posts: 19
Joined: 27 Feb 2012, 23:38
Location: Indonesia , Yogyakarta , Gunungkidul

Post by james_elly » 28 Feb 2012, 12:17

Saya malah lebih senang install dari source nya langsung lalu setting path nya di /etc/profile. Soalnya kalau install dari binary .deb nya rada2 kurang afdol. Kemudian install Netbeans.


Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests