From owner-freebsd-stable@FreeBSD.ORG Mon Dec 27 22:51:03 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63DC21065670 for ; Mon, 27 Dec 2010 22:51:03 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 409498FC13 for ; Mon, 27 Dec 2010 22:51:03 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id E3835CA570A; Mon, 27 Dec 2010 14:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received:received; s=ee; t= 1293490262; x=1295304662; bh=Mfii4srox6S17boec0Z9bafjbqE9oaq7uNr kapU6uRk=; b=CeTUFCRhDtYBv22QXXbH4FQzTGFk8DqWaJ7388lr/zTd113A0jo YmweB/gWft7D7gTPvfPKi3RuWlJHrLKEVYwaCaIbRfpi76PNMrMjSpGwr5F+YgCf 0aPTG9NbuHxahii3izc9FIBfZkDMb41VNuQrCVHL+dmlQ75lcign86G4= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18Qeo5J0pEmc; Mon, 27 Dec 2010 14:51:02 -0800 (PST) Received: from experts-exchange.com (unknown [192.168.103.122]) by mail.experts-exchange.com (Postfix) with SMTP id 7819ECA5706; Mon, 27 Dec 2010 14:51:02 -0800 (PST) Received: (nullmailer pid 92329 invoked by uid 1001); Mon, 27 Dec 2010 22:47:53 -0000 Date: Mon, 27 Dec 2010 14:47:53 -0800 From: Jason Helfman To: Clifton Royston Message-ID: <20101227224752.GC1505@eggman.experts-exchange.com> References: <20101227224426.GA11955@lava.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20101227224426.GA11955@lava.net> X-Operating-System: FreeBSD 8.1-RELEASE X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: Accidentally aborted upgrade via freebsd-update - how to recover? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2010 22:51:03 -0000 On Mon, Dec 27, 2010 at 12:44:26PM -1000, Clifton Royston thus spake: > OK, so I'm a late adopter - up til now I've always upgraded FreeBSD >machines from source or picking the update from a CD, but I decided to >try freebsd-update to finally get my home machine from 6.4 to 7.1 (and >thence hopefully to 8.1). > > Everything went well up through the merge steps, until I noticed a >merge I had forgotten to resolve in /etc/hosts.allow, so at the >"Does this look reasonable (y/n)?" prompt I answered 'n', thinking that >would put me back into the editor. > > Instead it dumped me to the command line and aborted the update >completely. > > How can I continue from here without downloading and applying 29000+ >patches all over again, not to mention having to manually resolve the >updated $FreeBSD lines in a ton of config files? (Or worse, having it >try to apply patches which have already been applied?) > > I just tried typing "sudo freebsd-update install" and >"sudo freebsd-update install -r 7.1-RELEASE" but that gives me: I've never run this command for a specific release. > > "No updates are available to install." What happens if you run "freebsd-update install" ? If you haven't installed anything, there is nothing to rollback. A feature that is part of freebsd-update. > > Is there some way to resume where I left off? I'm not aware of any method to do this, other than to remove everything under /var/db/freebsd-update and start from the beginning. > -- Clifton > >-- > Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net > President - I and I Computing * http://www.iandicomputing.com/ > Custom programming, network design, systems and network consulting services >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html