Re: a few dumb questions about apt sources.list file contents....
On Tue, Jan 30, 2007 at 12:01:45AM +0000, Michael Fothergill wrote:
> Dear Debianists,
>
> Here is my apt sources.list file;
>
> localhost:/etc/apt# more sources.list
> #
> # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64
> Binary-1 (20061110)]/ etch contrib main
>
Try using the following, which uses the above line as a template
(plus the optional addition of non-free, which does not form part of
Debian - remove the [] in the line below if non-free is required):
deb http://ftp.uk.debian.org/debian/ etch main contrib [non-free]
deb-src http://ftp.uk.debian.org/debian/ etch main contrib [non-free]
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
>
> What does the main contrib part do?
Specifies the main archive and the contrib archive.
>
> Do I need the source files?
>
That's up to you: you'll need corresponding deb-src lines as inserted
above.
> Could I add something like
>
> deb /ftp.uk.debian.org/debian/ testing main contrib
>
> to the file and it would work?
>
See above for the sort of syntax: updates from the security update site
are useful so have been included above.
HTH,
Andy Cater
>
> MIchael Fothergill
Reply to: