From owner-freebsd-questions@FreeBSD.ORG Tue May 5 15:37:32 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 37EFC106564A for ; Tue, 5 May 2009 15:37:32 +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 10E878FC0A for ; Tue, 5 May 2009 15:37:31 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [69.69.69.183] ([69.70.93.206]) by VL-MO-MR005.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KJ600KESGOOHNN0@VL-MO-MR005.ip.videotron.ca> for freebsd-questions@freebsd.org; Tue, 05 May 2009 11:36:24 -0400 (EDT) Message-id: <4A005D46.5010809@optiksecurite.com> Date: Tue, 05 May 2009 11:37:42 -0400 From: Martin Turgeon User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) To: "freebsd-questions@freebsd.org" Subject: 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 15:37:32 -0000 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 I understand that the jails are sharing the kernel and that freebsd-update must be verifying the version of the kernel. So I tried to just fetch install the update in the jail. freebsd-update -b /usr/jail/mysql/ fetch install Looking up update.FreeBSD.org mirrors... 6 mirrors found. Fetching metadata signature for 7.2-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 7.2-RELEASE-p0. No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. I already used the -b option to update my jails with security updates, but never to a new release. What am I doing wrong? Thanks everyone for sharing! Martin