Thanks all,
Problem solved, I see I still got lots of basics to learn
Colline
--- On Tue, 5/3/11, Reinier Battenberg <[email protected]>
wrote:
From: Reinier Battenberg <[email protected]>
Subject: Re: [LUG] apt-get issues
To: "Uganda Linux User Group" <[email protected]>
Date: Tuesday, May 3, 2011, 11:33 AM
#yiv262778379 p, #yiv262778379 li {white-space:pre-wrap;}
Hi,
forget your mouse, you are in a terminal (i reckon)
press tab until the buttons lights up, then press enter.
--
rgds,
Reinier Battenberg
Director
Mountbatten Ltd.
+256 758 801 749
www.mountbatten.net
On Tuesday 03 May 2011 14:23:15 Colline Waiswa wrote:
> Reinier,
> I still get a problem during the installation of jdk. It brings up the
> licence part within the terminal. Scrolling down to the bottom reveals an
> OK button but its not clickable (text only).
>
> Colline
>
> --- On Tue, 5/3/11, Reinier Battenberg <[email protected]>
> wrote:
>
> From: Reinier Battenberg <[email protected]>
> Subject: Re: [LUG] apt-get issues
> To: [email protected], "Uganda Linux User Group" <[email protected]>
> Date: Tuesday, May 3, 2011, 10:33 AM
>
>
>
> #yiv990875179 p, #yiv990875179 li {white-space:pre-wrap;}
>
> Hi,
>
> Whenever apt(itude) runs, it first checks if there is a small lock file. if
> the file exists, it presumes apt is already running and dies (as it is on
> colline's machine), if it doesnt exist it creates the lock file and then
> does it works. When apt exists normally, it deletes the lock file again.
>
> Not if you switch off your machine the harsh way.
>
> To fix this, you need to delete the lock file
>
> sudo rm /var/lib/dpkg/lock
>
> after this you can install the jdk.
>
> The trick with the jdk is that you have to scroll down down down untill you
> see the OK button. That is why you got stuck in the first place.
> (scrolling down goes much faster with the pagedown button, btw)
>
> good luck!
>
> > 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]> 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.
> >
> > _______________________________________________
> > 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.
>
> -----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.
-----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.