From owner-freebsd-questions@FreeBSD.ORG Tue May 5 17:50: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 12F98106564A for ; Tue, 5 May 2009 17:50:20 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id DD3688FC19 for ; Tue, 5 May 2009 17:50:19 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [69.69.69.183] ([69.70.93.206]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KJ6004E7MVV6BA1@VL-MH-MR001.ip.videotron.ca> for freebsd-questions@freebsd.org; Tue, 05 May 2009 13:50:19 -0400 (EDT) Message-id: <4A007C66.3010408@optiksecurite.com> Date: Tue, 05 May 2009 13:50:30 -0400 From: Martin Turgeon User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) To: Mel Flynn References: <4A005D46.5010809@optiksecurite.com> <200905051826.09616.mel.flynn+fbsd.questions@mailing.thruhere.net> In-reply-to: <200905051826.09616.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading jails to 7.2-RELEASE with freebsd-update 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: Tue, 05 May 2009 17:50:20 -0000 Mel Flynn a écrit : > On Tuesday 05 May 2009 17:37:42 Martin Turgeon wrote: >> Hi everyone, >> >> It's the first time I'm using freebsd-update to upgrade my system to a >> new release. I just upgraded the base system from 7.1-RELEASE to >> 7.2-RELEASE and everything went fine. I now wanted to upgrade my jails >> to the new release but freebsd-update is telling me that's already >> updated... >> >> freebsd-update -b /usr/jail/mysql/ upgrade -r 7.2-RELEASE >> freebsd-update: Cannot upgrade from 7.2-RELEASE to itself > > Should be able to trick it using: > env UNAME_r=7.1-RELEASE-p5 freebsd-update -b /path/to/jail > > (based on a quick source scan, untested). Thanks for your answer, it worked great! But, I'm still wondering why this is necessary? I didn't have to do this last time. Thanks for the info, Martin