From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 18:41:30 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 D3527106566B for ; Mon, 15 Mar 2010 18:41:30 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id B92B28FC20 for ; Mon, 15 Mar 2010 18:41:30 +0000 (UTC) Received: by pxi38 with SMTP id 38so1121942pxi.27 for ; Mon, 15 Mar 2010 11:41:30 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.142.6.31 with SMTP id 31mr447152wff.79.1268676977743; Mon, 15 Mar 2010 11:16:17 -0700 (PDT) Date: Mon, 15 Mar 2010 14:16:17 -0400 X-Google-Sender-Auth: 434fa819a1959fc7 Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Recovering base system files after failed installworld 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: Mon, 15 Mar 2010 18:41:30 -0000 Hi, I tried upgrading from 6.2 STABLE to 7.3 RELEASE, and everything went very smooth until I rebooted the new kernel. Make installworld failed complaining that cc1 was not executable. After a lot of tests, I came to the conclusion that the new 7.3 kernel had some sort of problem with my gvinum partitions, since executables were mysteriously becoming corrupt and the miraculously fixed after reboot. So I reverted to the old kernel and the system booted without any problems. I reverted with csup to 6.2 STABLE sources, but now I realize that some binaries of the base system were modified by the failed installworld. For example, it seems that libc.a is not compatible with the compiler as I now get: /usr/lib/libc.a: could not read symbols: Malformed archive Now, the question I have is: is there any way to revert all system binaries to 6.2 STABLE without a previous backup? Can a utility like freebsd-update help me restore these binaries? Thanks in advance, Alejandro Imass