From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 13:30:04 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10FB516A4B3 for ; Wed, 8 Oct 2003 13:30:04 -0700 (PDT) Received: from mailgate.sri.com (mailgate.SRI.COM [128.18.243.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 141A943FA3 for ; Wed, 8 Oct 2003 13:30:03 -0700 (PDT) (envelope-from hogsett@csl.sri.com) Received: (qmail 2009 invoked from network); 8 Oct 2003 20:29:57 -0000 Received: from localhost (HELO mailgate.SRI.COM) (127.0.0.1) by mailgate.sri.com with SMTP; 8 Oct 2003 20:29:57 -0000 Received: from quarter.csl.sri.com ([130.107.1.30]) by mailgate.SRI.COM (SAVSMTP 3.1.0.29) with SMTP id M2003100813295730421 ; Wed, 08 Oct 2003 13:29:57 -0700 Received: from beast.csl.sri.com (beast.csl.sri.com [130.107.2.57]) by quarter.csl.sri.com (8.12.9/8.12.9) with ESMTP id h98KTvBk031628; Wed, 8 Oct 2003 13:29:57 -0700 Message-Id: <200310082029.h98KTvBk031628@quarter.csl.sri.com> To: Oliver Wilson In-Reply-To: Message from Oliver Wilson of "Wed, 08 Oct 2003 16:26:11 BST." <3F842C93.632C5FD5@cam.org> Mime-Version: 1.0 (generated by tm-edit 8.8 (Time Passed Me By)) Content-Type: text/plain; charset=US-ASCII Date: Wed, 08 Oct 2003 13:29:57 -0700 From: Mike Hogsett cc: freebsd-questions@freebsd.org Subject: Re: Broken /usr/lib on FreeBSD 4.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 20:30:04 -0000 > I inadvertently broke the /usr/lib on my FreeBSD 4.7 box. Here's how > this happened. > How can I fix this? > > Any tips or advice will be greatly appreciated Yikes! I feel your pain. I have never done this, but it may be possible to grab all of the files from : ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.7-RELEASE/bin and restore your /usr/lib from there. If you examine the install.sh file at the above URL you will see that the bin.* files are are a split(1)'d tar file. You should be able to extract what you need from them. If this does succeed I would recommend cvsup'ing to your release of choice (RELENG_4_{7,8}) and rebuilding the world. I wish you the best of luck. - Mike P.S. Please dont hold me responsible if the above doesn't work. It was my first thought and I have never tried this before.