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

Bug#109931: marked as done ((apt) resolver: ignores /etc/hosts)



Your message dated Mon, 11 Jul 2005 14:43:19 -0400 (EDT)
with message-id <Pine.BSO.4.58.0507111434560.19039@grex.cyberspace.org>
and subject line too old and merged
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Aug 2001 20:40:58 +0000
>From adam@sunfish.linuxis.net Fri Aug 24 15:40:58 2001
Return-path: <adam@sunfish.linuxis.net>
Received: from sunfish.linuxis.net [64.71.162.66] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 15aNlC-0002FJ-00; Fri, 24 Aug 2001 15:40:58 -0500
Received: (qmail 26794 invoked by uid 1000); 24 Aug 2001 20:36:03 -0000
Date: Fri, 24 Aug 2001 13:36:03 -0700
From: Adam McKenna <adam@debian.org>
To: submit@bugs.debian.org
Subject: apt: apt ignores /etc/hosts file when deciding which mirror to use.
Message-ID: <20010824133603.B12788@flounder.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.19i
Mail-Copies-To: never
Delivered-To: submit@bugs.debian.org

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:

adam@maguro:~$ 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  <adam@debian.org>  <adam@flounder.net>

---------------------------------------
Received: (at 109931-done) by bugs.debian.org; 11 Jul 2005 18:40:29 +0000
>From dajo@cyberspace.org Mon Jul 11 11:40:29 2005
Return-path: <dajo@cyberspace.org>
Received: from grex.cyberspace.org [216.86.77.194] (exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Ds3Cf-0004Ww-00; Mon, 11 Jul 2005 11:40:29 -0700
Received: from dajo (helo=localhost)
	by grex.cyberspace.org with local-esmtp (Exim 4.42)
	id 1Ds3FP-0000YK-6i; Mon, 11 Jul 2005 14:43:19 -0400
Date: Mon, 11 Jul 2005 14:43:19 -0400 (EDT)
From: Daniel Jonan <dajo@grex.cyberspace.org>
To: 26306-done@bugs.debian.org, 6798-done@bugs.debian.org, 
    159781-done@bugs.debian.org, 109931-done@bugs.debian.org
cc: 76251-done@bugs.debian.org, 89323-done@bugs.debian.org, 
    11147-done@bugs.debian.org
Subject: too old and merged
Message-ID: <Pine.BSO.4.58.0507111434560.19039@grex.cyberspace.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Daniel Jonan <dajo@cyberspace.org>
Delivered-To: 109931-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

closing



Reply to: