Since we have people posting to various lists for the correct format for an /etc/apt/sources.list file, here's one including the non-free repositories (which are not part of Debian proper but provided for the convenience of Debian users). Hope this helps somebody sometime.
#
deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
deb http://ftp.uk.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze-updates main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
and, of course, it wrapped in the browser. There's a single space between squeeze and main and between main and contrib and between contrib and non-free for example. There are six lines in total - three pairs.
Wednesday, 1 June 2011
Subscribe to:
Post Comments (Atom)
If everything else fails, maybe the manpage can help!
ReplyDeleteman sources.list
Oh, and be prepared that it could even be translated to your native tongue… unfortunately so far only en, ja, pt, es, pl, fr or de - but you can help increase the list. :)
Some notes:
ReplyDeleteFor the most part you can replace the .uk. in the URLs with your country code in order to get a closer mirror.
You only need the deb-src lines if you are going to be pulling in source packages. I only enable these lines when I'm actually trying to get a source package in order to speed up updates. Normally I leave them commented out (# character at the beginning of the line)