Re: apt sources
On Mon, Feb 17, 2003 at 09:51:13PM -0500, alex wrote:
> I'm having a problem understanding the architecture of apt sources
> and have difficulty in getting packages with apt and dselect.
>
> According to the APT HOWTO, 2.1, The /etc/apt/sources.list file
> it says: (quote)
> "The entries in this file normally follows this format:"
>
> "deb-http://site.http.org/debian distribution section1 section2 section3"
>
> "deb-src http://site.http.org/debian distribution section1 section2
> section3"
>
> Question---isn't 'site.http' supposed to be 'http.site' ?
"site.http.org" is just an opaque string. Its contents aren't important.
(The document should probably use example.org, though.)
> ---------
> The following sources are copied directly from my
> /etc/apt/sources.list. It seems to me that there are errors
> such as / either missing or in the wrong place.
>
> Could someone comment on whether or not the sources are correctly
> structured as is or what the error is?
> -----
>
> deb http://http.us.debian.org/debian stable main/
> ^-- main/ or main?
Just "main".
> deb http://non-us.debian.org/debian-non-US stable/non-US main contrib
> non-free ^-- / or space?
"stable/non-US" is correct; that's identifying a directory under
http://non-us.debian.org/debian-non-US/dists/.
> deb-src http://non-us.debian.org/debian-non-US stable/non-US main
> contrib non-free ^-- / or space?
>
>
> deb http://non-us.debian.org/debian-non-US stable/non-US main contrib
> non-free ^-- / or space ?
>
>
> deb-src http://non-us.debian.org/debian-non-US stable/non-US main
> contrib non-free ^-- / or space?
All correct.
> # deb http://security.debian.org/ stable/updates main contrib non-free
> ^------^-------^------ ?????
Correct.
What errors are you getting from 'dselect update'?
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: