Re: dselect and resolving
On Mon, Feb 11, 2002 at 08:43:25PM -0200, Michel Loos wrote:
> Em Seg, 2002-02-11 ?s 13:50, John Cichy escreveu:
> > Hello all,
> >
> > It seems the dselect ignores the host file when updating it's lists. I have a
> > debian mirror in my DMZ and have added an entry in my hosts file to use an
> > internal address to access the mirror, but it seems that dselect is ignoring
> > that entry and trying the public address instead. Does anyone know how to
> > make dselect look at the hosts file, my host.conf has the entry :
> >
> > order hosts,bind
> >
> > so I would think that it would resolve to the address in the host file.
> >
>
> Did you add your mirror in the /etc/apt/sources.list ?
> If you did, apt-get update (or dselect -> update) should check your
> mirror.
For "dselect", "apt-get update" is not enough. You need to make sure to
run "dselect update". That what previous post by a debian developer, as
I remember.
> Usually they still will connect to the public server for download since
> probably your mirror is not as uptodate as the public server
Osamu
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~
+ Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D +
+ My debian quick-reference, http://qref.sourceforge.net/quick/ +
Reply to: