From owner-freebsd-questions@FreeBSD.ORG Wed Apr 22 11:44:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD196106564A for ; Wed, 22 Apr 2009 11:44:20 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [83.235.67.32]) by mx1.freebsd.org (Postfix) with ESMTP id 4AA188FC1D for ; Wed, 22 Apr 2009 11:44:19 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-4489043.home.otenet.gr [94.71.75.91]) by rosebud.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n3MBiHRV032753; Wed, 22 Apr 2009 14:44:18 +0300 Message-ID: <49EF0311.4010809@otenet.gr> Date: Wed, 22 Apr 2009 14:44:17 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Andy Smith References: <20090422105555.14566qcf7y0xsuck@horde.ukgrid.net> In-Reply-To: <20090422105555.14566qcf7y0xsuck@horde.ukgrid.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update on FreeBSD 6.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2009 11:44:21 -0000 Andy Smith wrote: > Hi, > > when running "freebsd-update fetch" on FreeBSD 6.x I get the error: > > Fetching public key... > fetch: http://update.freebsd.org/i386/6.1/pub.key: No address record > Error fetching updates > I've seen the "No address record" in the past in few of my machines. The update.freebsd.org address is a pool of addresses actually and AFAIR there were some problems with DNS for some people. I don't recall the exact cause, but you will get over it by specifying a specific server in freebsd-update.conf, like update1.freebsd.org This may not be your only problem though. > > I've previously had a search around and compared the config file with > that present by default on FreeBSD 7.x (which works without any > hacking etc) but I never did work out what is wrong or what should be > in a good config file. For one thing the directory its looking in for > the pub.key seems to be hardcoded as "/i386/6.1/" or at least that > path is not present in my conf file, perhaps its possible to add an > additional line to the conf file to modify this... Can anyone point me > in the right direction? A quick visit to http://update.freebsd.org does not show this directory - although this maybe intentional. I suggest you try the server change and if you connect but still fail to get the key, then go on and hack the script. I don't have a 6.1 machine around, but freebsd-update is just a sh script and you should be able to find what's going on. There is nothing hardcoded in it, at least in the version distributed with 7.x. In fact I would try running the 7.x version on this system.