[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sources.list



Do you have a file called sources.list~ in /etc/apt?  If so, that's a 
backup your editor made for you before you broke sources.list.  In that 
case, you could cp sources.list~ sources.list <enter.> and wipe out your 
mistake.  If not, you're using the wrong editor.  I recommend emacs or 
xemacs for future use if you used the wrong editor if for no other 
reason than insurance.

On Tue, 22 Mar 2011, Alan Hutchinson wrote:

> Hi there I was wondering you could enlighten me regarding the
> "APT/SOURCES.LIST", I inadvertently messed them up, and when I go to do an
> upgrade I get about 400 packages or so, it all started ,when I was tinkering
> with my apt sources.list,and had not a clue what I was doing, I added a new
> line for squeeze packages update ,which line should I comment out ,of my apt
> sources.list ?
>   #
> # deb cdrom:[Debian GNU/Linux 5.0.7 _Lenny_ - Official i386 CD Binary-1
> 20101127-16:55]/ lenny main
> 
> deb cdrom:[Debian GNU/Linux 5.0.7 _Lenny_ - Official i386 CD Binary-1
> 20101127-16:55]/ lenny main
> 
> deb http://ftp3.nrc.ca/debian/ lenny main
> deb-src http://ftp3.nrc.ca/debian/ lenny main
> 
> deb http://security.debian.org/ lenny/updates main
> deb-src http://security.debian.org/ lenny/updates main
> 
> deb http://volatile.debian.org/debian-volatile lenny/volatile main
> deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
> 
> 
> 
> 
> 
> deb http://http.us.debian.org/debian stable main contrib non-free
> deb-src http://http.us.debian.org/debian stable main contrib non-free
> deb http://security.debian.org stable/updates main contrib non-free
> "sources.list.save" 22L, 828C
> 
> 
> 
> On Mon, Mar 14, 2011 at 5:12 PM, Freeman <hewho7@gmail.com> wrote:
> 
> > On Mon, Mar 14, 2011 at 04:59:11PM -0700, evenso wrote:
> > > On Mon, Mar 14, 2011 at 07:25:43PM -0400, Chris Brennan wrote:
> > > > While I am not new to Linux/*BSD, I am new to the Debian way of things.
> > What
> > > > is the proper way of modifying /etc/apt/sources.list. As it stands, I
> > am
> > > > running with the basic sources.list and am curious as to what gets
> > added
> > > > where to sources.list?
> > > >
> > >
> >
> > P.S. If you're looking for fun and danger with your sources.list:
> >
> > https://sites.google.com/site/mydebiansourceslist/
> >
> > --
> > Regards,
> > Freeman
> >
> > "Microsoft is not the answer. Microsoft is the question. NO (or Linux) is
> > the
> > answer." --Somebody
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> > Archive: 20110315001231.GA11967@Europa.office">http://lists.debian.org/20110315001231.GA11967@Europa.office
> >
> >
> 
> 
> 



Reply to: