From owner-freebsd-stable@FreeBSD.ORG Fri Feb 13 06:51:15 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82F1A106566B for ; Fri, 13 Feb 2009 06:51:15 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-gx0-f224.google.com (mail-gx0-f224.google.com [209.85.217.224]) by mx1.freebsd.org (Postfix) with ESMTP id 3EF1A8FC0A for ; Fri, 13 Feb 2009 06:51:14 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by gxk24 with SMTP id 24so583145gxk.19 for ; Thu, 12 Feb 2009 22:51:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=0s/3KGPZALtbhar8nah37t5Tj1WOWgDdUF0+gV+fZFc=; b=wOzIS8z1gikam0hrdqTsXeBxDuNZ71C7yV8/ieYEk2OD92z4c7fPKPUrRGCtPM2aIS waAJOiY/Vr3NZ0ZNF57VJk0ro929uU3nJd7up5xrZ8lZjEO91fQf1w808GMBs4YsBc9c YNjWsDg3f+c3t5BlY/1O8PhfFZUJbi1qlXJOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; b=Zba1nzcRI2WOBAAnH3hmTXylpx4CbrArOvsj61nh+9c36q4MzPpIsSZd7QoWBm/1iQ 8rExotK2FaWsqx9YuqjlVBtYjc6/vPgBsKQ0uE+GjRhPjLJr0Jo+dS5CG/OAVxHjLpEG /sfXh6kZrRjaZDdhQ6INoWsta2I4mzHk7FzrM= MIME-Version: 1.0 Received: by 10.142.77.7 with SMTP id z7mr804204wfa.230.1234506586190; Thu, 12 Feb 2009 22:29:46 -0800 (PST) Date: Fri, 13 Feb 2009 14:29:46 +0800 Message-ID: <53a1e0710902122229l606bb2c9pcc71ea38fafa1193@mail.gmail.com> From: Henry Hu To: Ross Penner Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: pkg_delete segfaulting after upgrading to 7.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hu.henry9@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 06:51:15 -0000 > rosbox# pkg_delete -f gpgme-1.1.5_1 > pkg_delete: package 'gpgme-1.1.5_1' is required by these other packages > and may not be deinstalled (but I'll delete it anyway): > seahorse-2.24.1_1 > Segmentation fault (core dumped) I've had similar problem, and found the problem is in the +CONTENTS in the corresponding folder under /var/db/pkg/ . It's caused by an empty @pkgdep line here. I don't know what went wrong when the +CONTENTS file was created. But delete all these empty @pkgdep lines solved my problem. Cheers, Henry