Package: apt
Version: 0.5.3
Severity: normal

I have the following in my /etc/hosts file:
209.10.41.242   http.us.debian.org

And nsswitch.conf says:
hosts:          files dns

Theoretically, this should make the /etc/hosts entry for http.us.debian.org
override DNS.  But this is obviously not the case:

[EMAIL PROTECTED]:~$ sudo apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  apt-move
12 packages upgraded, 0 newly installed, 0 to remove and 1  not upgraded.
Need to get 12.9MB of archives. After unpacking 65.5kB will be used.
Do you want to continue? [Y/n]
Err http://http.us.debian.org unstable/main sysvinit 2.82-1
  404 Not Found [IP: 192.25.206.10 80]
Err http://http.us.debian.org unstable/main less 358-8
  404 Not Found [IP: 192.25.206.10 80]

-- 
Adam McKenna  <[EMAIL PROTECTED]>  <[EMAIL PROTECTED]>

Reply via email to