From owner-freebsd-security@FreeBSD.ORG Wed Dec 2 19:58:41 2009 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3496106566B for ; Wed, 2 Dec 2009 19:58:40 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 67DBF8FC08 for ; Wed, 2 Dec 2009 19:58:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id D8D4E7BE33; Thu, 3 Dec 2009 08:41:03 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A3NsOPAZblNk; Thu, 3 Dec 2009 08:40:58 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 3 Dec 2009 08:40:58 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 2BF4A11475; Thu, 3 Dec 2009 08:40:58 +1300 (NZDT) Date: Thu, 3 Dec 2009 08:40:58 +1300 From: Andrew Thompson To: Eirik ?verby Message-ID: <20091202194057.GA94044@citylink.fud.org.nz> References: <20091202141116.GM4834@borusse.borussiapark> <4B16A237.9020903@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Mailman-Approved-At: Wed, 02 Dec 2009 20:51:27 +0000 Cc: freebsd-security@freebsd.org, Matthew Herzog Subject: Re: freebsd-update X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 19:58:42 -0000 On Wed, Dec 02, 2009 at 08:13:45PM +0100, Eirik ?verby wrote: > On Dec 2, 2009, at 6:21 PM, Matthew Herzog wrote: > > > On 12/02/2009 09:11 AM, Alex Huth wrote: > >> Hello! > >> > >> Is it no longer possible to update minor 6.x releases to 6.3 or 6.4 with the > >> script mentioned on the announcement off 6.3? > >> > >> http://www.freebsd.org/releases/6.3R/announce.html > >> > >> Using it i get the error: > >> > >> Looking up update.FreeBSD.org mirrors... 3 mirrors found. > >> Fetching public key from update2.FreeBSD.org... failed. > >> Fetching public key from update5.FreeBSD.org... failed. > >> Fetching public key from update4.FreeBSD.org... failed. > >> No mirrors remaining, giving up. > > > > It fails for me too. I tried to update from 7.2 (i386) to 8.0. > > I got the same error. I tried importing the public key manually and that failed too. > > > > Boo. > Your uname -a will say you're running -STABLE, not -RELEASE-something. This is a result of using source upgrades to anything but RELENG_6_X in the past. Which, in turn, is why freebsd-update fails. > > Move /usr/bin/uname out of the way, create a shell script like so: > > --- > #!/bin/sh > /usr/bin/uname.org $* | sed s/STABLE/RELEASE/g > --- > > and chmod 755 it. Then try again. I know, it's ugly, and it might get you into trouble. But it Worked For Me. > > Oh and I suppose this belongs on the -users or -stable list? For the sake of the archives, uname already supports overriding the info through environment variables. You set UNAME_x were 'x' is the uname flag you want to overwrite (see man page). % uname -r 9.0-CURRENT % export UNAME_r=7.2-RELEASE % uname -r 7.2-RELEASE Andrew