From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 16:31:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 184B6B57 for ; Thu, 18 Oct 2012 16:31:42 +0000 (UTC) (envelope-from jtrigg@spamcop.net) Received: from argent.heraldsnet.net (argent.heraldsnet.net [69.60.117.17]) by mx1.freebsd.org (Postfix) with ESMTP id E17C18FC0C for ; Thu, 18 Oct 2012 16:31:41 +0000 (UTC) Received: by argent.heraldsnet.net (Postfix, from userid 11001) id 0C9EEB822; Thu, 18 Oct 2012 12:31:35 -0400 (EDT) Date: Thu, 18 Oct 2012 12:31:34 -0400 From: Jim Trigg To: Timothy Snowberger Subject: Re: Problem upgrading Message-ID: <20121018163134.GA28941@spamcop.net> References: <20121017142733.GJ75370@spamcop.net> <507F1FA2.7000008@tabletoptelephone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <507F1FA2.7000008@tabletoptelephone.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 16:31:42 -0000 On Wed, Oct 17, 2012 at 02:14:10PM -0700, Timothy Snowberger wrote: > On 10/17/2012 7:27 AM, Jim Trigg wrote: > > Any suggestions on how to fix this? > > > > --- > > argent(1) /usr/ports/ports-mgmt/portmaster# freebsd-update -r 9.0-RELEASE upgrade > > Does this look reasonable (y/n)? y > > ... > > Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... done. > > Fetching metadata index... done. > > Fetching 1 metadata patches. done. > > Applying metadata patches... done. > > Fetching 1 metadata files... done. > > > > The update metadata is correctly signed, but > > failed an integrity check. > > Cowardly refusing to proceed any further. > > sed -i '' -e 's/=_/=%@_/' /usr/sbin/freebsd-update > > See http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064321.html > > "First, a minor change must be made to the freebsd-update code in order > for it to accept file names appearing in FreeBSD 9.0 which contain the '%' > and '@' characters; without this change, freebsd-update will error out > with the message "The update metadata is correctly signed, but failed an > integrity check". " This fixed it. Thanks, Jim