From owner-freebsd-questions@FreeBSD.ORG Wed Sep 29 15:35:00 2010 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 8109F1065670 for ; Wed, 29 Sep 2010 15:35:00 +0000 (UTC) (envelope-from bsemene@cyanide-studio.com) Received: from relay.cyanide-studio.com (relay.cyanide-studio.com [91.121.7.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0E48C8FC0C for ; Wed, 29 Sep 2010 15:35:00 +0000 (UTC) Received: from mail.cyanide-studio.com (LAubervilliers-153-52-12-153.w217-128.abo.wanadoo.fr [217.128.107.153]) by relay.cyanide-studio.com (Postfix) with ESMTP id 2CD0B965B27 for ; Wed, 29 Sep 2010 15:34:59 +0000 (UTC) Received: from localhost (unknown [10.1.8.14]) by mail.cyanide-studio.com (Postfix) with ESMTP id D881717BF473 for ; Wed, 29 Sep 2010 17:34:58 +0200 (CEST) Received: from mail.cyanide-studio.com ([10.1.8.3]) by localhost (mailguard.cyanide-studio.com [10.1.8.14]) (amavisd-maia, port 10024) with ESMTP id 66147-09 for ; Wed, 29 Sep 2010 17:34:58 +0200 (CEST) Received: from [10.1.8.123] (unknown [10.1.8.123]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bsemene@cyanide-studio.com) by mail.cyanide-studio.com (Postfix) with ESMTP id ABEF917BF439 for ; Wed, 29 Sep 2010 17:34:58 +0200 (CEST) Message-ID: <4CA35CA2.9030809@cyanide-studio.com> Date: Wed, 29 Sep 2010 17:34:58 +0200 From: Bastien Semene User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <4CA34105.7050008@cyanide-studio.com> <20100929150835.GA59311@Jason-Helfmans-MacBook-Pro.local> In-Reply-To: <20100929150835.GA59311@Jason-Helfmans-MacBook-Pro.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Freebsd-update]cannot open files/.gz: No such file or directory 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: Wed, 29 Sep 2010 15:35:00 -0000 Le 29/09/2010 17:08, Jason a écrit : > On Wed, Sep 29, 2010 at 04:23:32PM +0200, Fernando Apesteguía thus spake: >> On Wed, Sep 29, 2010 at 3:37 PM, Bastien Semene >> wrote: >>> Hi, >>> >>> I'm trying to upgrade a system from 8.0-RELEASE to 8.1-RELEASE, but >>> I have >>> the following (non critical) errors : >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> This line appears hundred of times. >>> After that, freebsd-update claims that many files are non existent >>> in the >>> new version and ask to delete them : >>> >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> Attempting to automatically merge changes in files... done. >>> >>> The following file will be removed, as it no longer exists in >>> FreeBSD 8.1-RELEASE: /boot/device.hints >>> Does this look reasonable (y/n)? n >>> >>> I have updated other systems without any difficulty (from the same >>> 8.0 patch >>> level to 8.1). >>> >>> I tried to delete /var/db/freebsd-update folder, but it changes >>> nothing. >>> Same error. >>> I found older posts with people searching in the code which function >>> did the >>> error, but because everything was fine with the same context on other >>> systems I think freebsd-update is mislead (it seems to miss the name >>> of the >>> file) at some point. >>> >>> Does anyone have some hints or direction to follow ? >> >> I reported this a while ago and try to get in touch with Colin >> Percival with no luck. I finally could afford a fresh install. >> >>> >>> Thanks, >>> >>> -- >>> Bastien Semene >>> Administrateur Réseau& Système >>> >>> Cyanide Studio - FRANCE >>> > > What is the exact command line you are running that gets this error? I'm exactly using : freebsd-update -r 8.1-RELEASE upgrade I'm sticking the manual, but using a custom kernel. At this stage this should change nothing. # uname -a [root@backup] FreeBSD backup.cyanide-studio.com 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #3: Mon Dec 7 14:44:37 CET 2009 root@backup.cyanide-studio.com:/usr/obj/usr/src/sys/GEOMKERNEL amd64 I installed the 8.0-RELEASE from CDs, as you can see I updated to patchlevel 1 without trouble. The only difference from other systems may be these geom drivers. Here is the complete command output, I said yes to the first question to show you how bad the question is : Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 8.0-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. WARNING: This system is running a "geomkernel" kernel, which is not a kernel configuration distributed as part of FreeBSD 8.0-RELEASE. This kernel will not be updated: you MUST update the kernel manually before running "/usr/sbin/freebsd-update install". The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin world/base world/catpages world/dict world/doc world/info world/lib32 world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: world/games Fetching metadata signature for 8.1-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 8.0-RELEASE for merging... done. Preparing to download files... done. Attempting to automatically merge changes in files... done. /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or director [...CUT...] The following file will be removed, as it no longer exists in FreeBSD 8.1-RELEASE: /boot/device.hints Does this look reasonable (y/n)? y The following file will be removed, as it no longer exists in FreeBSD 8.1-RELEASE: /etc/amd.map Does this look reasonable (y/n)? n -- Bastien Semene Administrateur Réseau& Système Cyanide Studio - FRANCE