From owner-freebsd-security@FreeBSD.ORG Wed Dec 2 19:48:30 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 648411065672 for ; Wed, 2 Dec 2009 19:48:30 +0000 (UTC) (envelope-from ltning@anduin.net) Received: from mail.anduin.net (mail.anduin.net [213.225.74.249]) by mx1.freebsd.org (Postfix) with ESMTP id 23C6D8FC15 for ; Wed, 2 Dec 2009 19:48:29 +0000 (UTC) Received: from [212.62.248.148] (helo=[192.168.2.157]) by mail.anduin.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NFvBc-000LtW-Nh; Wed, 02 Dec 2009 20:48:28 +0100 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: =?iso-8859-1?Q?Eirik_=D8verby?= In-Reply-To: <20091202194057.GA94044@citylink.fud.org.nz> Date: Wed, 2 Dec 2009 20:48:28 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <1AC0EF6B-B145-4A80-920D-7326A95B51D5@anduin.net> References: <20091202141116.GM4834@borusse.borussiapark> <4B16A237.9020903@gmail.com> <20091202194057.GA94044@citylink.fud.org.nz> To: Andrew Thompson X-Mailer: Apple Mail (2.1077) 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:48:30 -0000 On Dec 2, 2009, at 8:40 PM, Andrew Thompson wrote: > On Wed, Dec 02, 2009 at 08:13:45PM +0100, Eirik ?verby wrote: >> On Dec 2, 2009, at 6:21 PM, Matthew Herzog wrote: >>=20 >>> On 12/02/2009 09:11 AM, Alex Huth wrote: >>>> Hello! >>>>=20 >>>> 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? >>>>=20 >>>> http://www.freebsd.org/releases/6.3R/announce.html >>>>=20 >>>> Using it i get the error: >>>>=20 >>>> 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. >>>=20 >>> 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. >>>=20 >>> 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. >>=20 >> Move /usr/bin/uname out of the way, create a shell script like so: >>=20 >> --- >> #!/bin/sh >> /usr/bin/uname.org $* | sed s/STABLE/RELEASE/g >> --- >>=20 >> and chmod 755 it. Then try again. I know, it's ugly, and it might get = you into trouble. But it Worked For Me. >>=20 >> Oh and I suppose this belongs on the -users or -stable list? >=20 > 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). Ok. Duh. Me needs to RTFM more often. Thanks, and sorry. ;) > % uname -r =20 > 9.0-CURRENT > % export UNAME_r=3D7.2-RELEASE > % uname -r > 7.2-RELEASE >=20 >=20 > Andrew >=20