If the file is missing create one and tell apt where to search for the source files. Something like: # touch /etc/apt/sources.list # vi /etc/apt/sources.list Editing the file include the following lines: # See sources.list(5) for more information, especially # Remember that you can only use http, ftp or file URIs # CDROMs are managed through the apt-cdrom tool. deb http://http.us.debian.org/debian stable main contrib non-free deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free deb http://security.debian.org stable/updates main contrib non-free # Uncomment if you want the apt-get source function to work #deb-src http://http.us.debian.org/debian stable main contrib non-free #deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
Should work ;) Vitor Silva. Fone: +55 (11) 8010-4477 Mobile: +44 (0)77 02356245 Email: vsi...@live.co.uk > Date: Wed, 27 Oct 2010 10:31:47 +0100 > From: j...@geek-alchemist.com > To: peterboro@mailman.lug.org.uk > Subject: Re: [Peterboro] package manager > > On 27/10/10 10:02, Richard Forth wrote: > > rich...@richard-laptop:~$ cat /etc/apt/sources.list > > cat: /etc/apt/sources.list: No such file or directory > > > > Probably means you have lost your sources.list file, synaptic (and apt) > > will need this to function. > > > > On 26 October 2010 20:40, richard rjsad <rjs...@hotmail.com > > <mailto:rjs...@hotmail.com>> wrote: > > > > rich...@richard-laptop:~$ cat /etc/apt/sources.list > > cat: /etc/apt/sources.list: No such file or directory > > > > > > > > > > _______________________________________________ > > Peterboro mailing list > > Peterboro@mailman.lug.org.uk > > https://mailman.lug.org.uk/mailman/listinfo/peterboro > > Reply with the output of the following commands:- > > ls -lash /etc/apt/ > > and > > cat /etc/apt/sour<press 'tab' to complete> > > n.b. Tab completing a good way to ensure a file exists, and remove > spelling ambiguities. > > Jon > > _______________________________________________ > Peterboro mailing list > Peterboro@mailman.lug.org.uk > https://mailman.lug.org.uk/mailman/listinfo/peterboro
_______________________________________________ Peterboro mailing list Peterboro@mailman.lug.org.uk https://mailman.lug.org.uk/mailman/listinfo/peterboro