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

Re: How does an apt-cacher user select his debian mirror?

stappers@stappers.nl (Geert Stappers) writes:

> On Sun, May 21, 2006 at 10:30:54PM +0200, Goswin von Brederlow wrote:
>> andreas.koenig.gmwojprw@franz.ak.mind.de (Andreas J. Koenig) writes:
>> > Today I tried out the current debian installer "testing-i386-netinst"
>> > (daily build) on my tiny network where I have a server running
>> > apt-cacher. This means that the address is not one of the official
>> > mirrors.
>> >
>> > I could not figure out what I have to enter to use that apt-cacher
>> > box. There was the option "enter manually" but I didn't see any help
>> > that helps me figure out what I should type in. After several tries I
>> > gave up and used the official German mirror.
>> >
>> > What should I enter?
>> >
>> You should look at the apt-cacher manual.
> It will something like this:
> # in preseed syntax
> d-i     mirror/country          string enter information manually
> d-i     mirror/http/hostname    string mir:9999
> d-i     mirror/http/directory   string /debian

apt-cacher needs to know what mirror to use and that is encoded into
the directory. So unless you configured something else for apt-cache
it should look like this

d-i     mirror/http/directory   string apt-cacher/ftp.de.debian.org/debian

> d-i     mirror/suite            string testing
> d-i     mirror/http/proxy       string
> Where 'mir' is the server that runs the apt proxy and '9999' the port it
> listens.  Leave mirror/http/proxy empty
> Cheers
> Geert Stappers


Reply to: