edit source list /etc/apt/sources.list
David McGlone
d.mcglone at att.net
Thu Dec 4 03:06:05 UTC 2008
On Wednesday 03 December 2008 9:48:54 pm uriah heep wrote:
> On Wed, Dec 3, 2008 at 7:48 AM, David McGlone <d.mcglone at att.net> wrote:
> > On Tuesday 02 December 2008 11:31:10 pm uriah heep wrote:
> > > On Tue, Dec 2, 2008 at 10:22 PM, <lindsay.mathieson at gmail.com> wrote:
> > > > Showing us the error would help a lot.
> > > >
> > > >
> > > >
> > > > --
> > > > Lindsay Mathieson
> > > > http://album.mathieson.org.nz/
> > > >
> > > >
> > > > --- Original message ---
> > > > Subject: edit source list /etc/apt/sources.list
> > > > From: uriah heep <stan10x10 at gmail.com>
> > > > To: kubuntu-users at lists.ubuntu.com
> > > > Date: 03/12/2008 2:29 AM
> > > >
> > > > Some how I got an error on a line in sources.list which is causing
> > > > apt and synaptic not to work. I need to to know how to remove the
> > > > error.
> >
> > I
> >
> > > > am quite new at this and quite ignorant.
> > > >
> > > > --
> > > > kubuntu-users mailing list
> > > > kubuntu-users at lists.ubuntu.com
> > > > Modify settings or unsubscribe at:
> > > > https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
> > > >
> > > > Here it is
> > >
> > > E: Type 'wget' is not known on line 37 in source list
> >
> > /etc/apt/sources.list
> >
> > > E: The list of sources could not be read.
> > > Go to the repository dialog to correct the problem.
> > > E: _cache->open() failed, please report.
> > >
> > > From the little I know it seems I need to delete the error line but i
> > > do not know how to edit the file.
> >
> > At first don't delete it, just comment it out by putting a " # " in front
> > of
> > the line that you think needs deleting. If everything works Ok then
> > delete it.
> >
> > by looking at sources list, you should be able to figure out the line
> > format
> > and distinguish what belongs and what doesn't
> > --
> > David M.
> > http://www.dmcentral.net
> >
> > When I try to edit I get the message I do not have permission to save
You need to open the file as root. open konsole and type sudo kate
/etc/apt/sources.list
Edit & Save.
--
David M.
http://www.dmcentral.net
More information about the kubuntu-users
mailing list