From owner-freebsd-ports@FreeBSD.ORG Fri Jun 1 19:17:23 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FFFF16A46D; Fri, 1 Jun 2007 19:17:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id D603F13C468; Fri, 1 Jun 2007 19:17:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l51JEFHt086388; Fri, 1 Jun 2007 13:14:15 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 01 Jun 2007 13:14:15 -0600 (MDT) Message-Id: <20070601.131415.74663752.imp@bsdimp.com> To: kris@obsecurity.org From: Warner Losh In-Reply-To: <20070601170514.GA54912@rot13.obsecurity.org> References: <20070601083345.GA48323@rot13.obsecurity.org> <10723ADA-FD53-45F8-BDFA-DBD98CBC212E@FreeBSD.org> <20070601170514.GA54912@rot13.obsecurity.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 01 Jun 2007 13:14:15 -0600 (MDT) Cc: ports@freebsd.org, ade@freebsd.org Subject: Re: Uggg! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 19:17:23 -0000 > Best solution is to back up /var/db/pkg if it is in danger of deletion > by a wanton admin :) The ONLY data corruption that I saw when my laptop died was *ALL* of the +CONTENTS files going away. It seems to have died during the updating of the meta-data for the dvdauthor port. Why all the files of unreleated packages would disapper is a mystery to me, unless mergemaster, or one of the pkg tools, deleted them all, and then wanted to rewrite them and I got screwed between these two steps. Wouldn't it be better of a +CONTENTS~ file were left in place during this process and have that be removed afterwards? Warner