Most likely apt-get was not able to clean up everything, as you
restarted the machine. Look for the lock file: /var/lib/dpkg/lock
and remove it, if it is there (But make really sure, that there is no
dpkg running somewhere).

Then it should work again.

Am 03.05.2011 12:29, schrieb Colline Waiswa:
> Thomas,
> Thats the 1st thought that came to mind so i checked but the Synaptic
> package manger isn't running or any other apps that should be accessing
> dpkg. I even restarted the machine and run apt-get 1st for good measure
> 
> Colline
> 
> --- On *Tue, 5/3/11, Kizito Thomas /<[email protected]>/* wrote:
> 
> 
>     From: Kizito Thomas <[email protected]>
>     Subject: Re: [LUG] apt-get issues
>     To: "Uganda Linux User Group" <[email protected]>
>     Date: Tuesday, May 3, 2011, 10:18 AM
> 
>     Colline,
>     >From your own Error report, I realise that there are two or more
>     applications accessing dpkg,
>     My thinking is that you have synaptic package manager open and running
>     apt-get
>     Make sure there is no open package manager open and then start working
>     on the license problem.
> 
>     
> ................................................................................................................................................
>     Seat of Wisdom .............Pray for us
>     Cause of our Joy ...........Pray for us
>     ..................................................
>     Kizito Thomas
>     +256-712-929564
>     +256-782-062708
> 
>     On Tue, 2011-05-03 at 03:00 -0700, Colline Waiswa wrote:
>     > 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]
>     </mc/[email protected]>> wrote:
>     >         
>     >         From: Stephen S. Musoke <[email protected]
>     </mc/[email protected]>>
>     >         Subject: Re: [LUG] apt-get issues
>     >         To: "'Uganda Linux User Group'" <[email protected]
>     </mc/[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]
>     </mc/[email protected]>]
>     >         Sent: Tuesday, May 03, 2011 12:21 PM
>     >         To: [email protected] </mc/[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] </mc/[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] </mc/[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] </mc/[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.


-- 
Janosch Maier <[email protected]> -- http://phynformatik.de
This E-Mais is signed via GnuPG <http://gnupg.org/>. My public key:
0xEB21B1DE

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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