Steven,
I'm running it as root but it still gives the same error

Colline

--- On Tue, 5/3/11, Stephen S. Musoke <[email protected]> wrote:

From: Stephen S. Musoke <[email protected]>
Subject: Re: [LUG] apt-get issues
To: "'Uganda Linux User Group'" <[email protected]>
Date: Tuesday, May 3, 2011, 9:49 AM

Colline,  You need to use sudo before the command so that you can run it as 
root  Stephen   From: Colline Waiswa [mailto:[email protected]] 
Sent: Tuesday, May 03, 2011 12:21 PM
To: [email protected]
Subject: [LUG] apt-get issues  Hi all,
I'm new to Linux, started off with Ubuntu. I tried to install the sun java jdk 
using sudo apt-get install sun-java6-jdk. It went on well till the point where 
it brought up the licence agreement within the terminal. It stalled here as 
failed to select OK to continue. pressing enter or Y was to no avail. So i 
restarted  the machine but when I try to use apt-get or the ubuntu software to 
install java jdk or any other software it gives the following error:

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?

I've tried to do an update n upgrade but it still comes back to the same error. 
How do I get rid of this error?

Colline  
-----Inline Attachment Follows-----

_______________________________________________
The Uganda Linux User Group: http://linux.or.ug

Send messages to this mailing list by addressing e-mails to: [email protected]
Mailing list archives: http://www.mail-archive.com/[email protected]/
Mailing list settings: http://kym.net/mailman/listinfo/lug
To unsubscribe: http://kym.net/mailman/options/lug

The Uganda LUG mailing list is generously hosted by INFOCOM: 
http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The mailing list host is not responsible for them in any 
way.
_______________________________________________
The Uganda Linux User Group: http://linux.or.ug

Send messages to this mailing list by addressing e-mails to: [email protected]
Mailing list archives: http://www.mail-archive.com/[email protected]/
Mailing list settings: http://kym.net/mailman/listinfo/lug
To unsubscribe: http://kym.net/mailman/options/lug

The Uganda LUG mailing list is generously hosted by INFOCOM: 
http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The mailing list host is not responsible for them in any 
way.

Reply via email to