On Friday 28 April 2006 18:48, Bernard wrote:
> Thank you for the reply, however I do not have the knowledge to even
> open VI, where is it??
By suggesting that you use the vi editor,
I suspect the he is uttering a list-joke (tm) at your expense.

For a terminal editor, nano would be far less difficult for you to use.
In effect it's Linux's notepad.

Actually you would find one of the GUI ones much better choice with which 
to start out. The modern editors: kate, kwrite, gedit or indeed even 
xemacs are in many ways much better. ( It's recognised that cantankerous 
old codgers who started out with vi over thirty years ago, won't change so 
let's not start a flame-fest )

Needless to say you can start vi by typing the 2 letters v and then i 
followed by pressing the return key while in a terminal.
Now immediately press the colon character followed by the F-1 key.
Read the lesson to learn how to use the vi and vim editors.

 
> Then where do i find the thing i should be editing?
sudo vi +44 /etc/apt/sources.list

> This is a very steep learning curve that i am not sure i can
> follow!!!!!!!!
Buy or borrow a book about Linux and read it. There are literally hundreds 
of them on the market and in the public library. 'Linux in a Nutshell' is 
one of the better ones. I noticed a copy in the Linwood Library yesterday. 
It's an 'American Tome' type of book but it's pretty good none the less.
There are also dozens of 'Linux Newbie' we sites out there. Just key the 
words 'Linux Newbie' into Google and take your pick. 

If you have difficulties with the written word, I'm sure that somebody on 
the list would be kind enough to install Text-to-Speech software for you.
The computer will then be able to read the documentation to you.

Perhaps you should consider a little personal tuition?

> Thanks for the help anyway
>
> On Fri, 2006-04-28 at 17:50 +1200, Andrew Errington wrote:
> > On Fri, 28 Apr 2006 17:38, Bernard wrote:
> > > I have installed the repostries as per previous emails.
> > >
> > > All was working fine until i installed the extra ones I now get this
> > > error message
> > >
> > > E: Malformed line 44 in source list /etc/apt/sources.list (dist)
> > > E: The list of sources could not be read.
> > > Go to the repository dialog to correct the problem.
> > >
> > >
> > >
> > > which is followed by
> > >
> > > E: Malformed line 44 in source list /etc/apt/sources.list (dist)
> > > E: Unable to lock the list directory
> > >
> > >
> > >
> > > I also think the cd address is not right as that came up with an
> > > error message...............my head is going in a twirl here.
> >
> > Hmm.  Could be something wrong with line 44 in /etc/apt/sources.list
> >
> > Have you looked at the file?
> >
> > Open it up in your favourite editor[1] and take a look.  The format of
> > that line will be very similar to the others, and it might be easy for
> > you to spot why it is different and then fix it.  For example, it
> > could be that the line has been split, so you need to join it to the
> > previous one.
> >
> > It is likely that you cannot save the file unless you are root, or
> > unless you have used the sudo command to invoke your editor.
> >
> > HTH,
> >
> > Andy
> > --
> > [1] Your favourite editor is 'vi', but feel free to play around with
> > some of the others.

-- 
CS

Reply via email to