From owner-freebsd-stable@FreeBSD.ORG Fri Feb 13 17:48:56 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 70DF1106564A for ; Fri, 13 Feb 2009 17:48:56 +0000 (UTC) (envelope-from ross.penner@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 2E2498FC1C for ; Fri, 13 Feb 2009 17:48:55 +0000 (UTC) (envelope-from ross.penner@gmail.com) Received: by gxk24 with SMTP id 24so1085501gxk.19 for ; Fri, 13 Feb 2009 09:48:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HHogHMrLJqXa6XW8LTTBvQ67hPfk5f6qIkH0Lh1R5A0=; b=J70uXklYXb8sVSP400jxW8asWnGaIRvtOy2YkyATj0ZzK4sHCYLcFkls16ExmRX64w ZtunDsFVXOeinDLSLLDlx7N9hz7v0UvNBntCg8aVNUIKrmmrmQxeT53JpG4JEmQOxScL 12O/V6/nu2hASwYNfrauHLq0QF/AcK+vLIQjk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qix+XeQisZZmO9QwyprMoCTBDVReVNEFo7RuKx0fBW1zSoIWl3roJYukCBpck54MST DIplgKqWsYmck7jCeQfMVeSxREZirfVHh6wKpvuFVhTAlss72YoCpgxSHAGbAvIc6EmZ u0jcKvrvhKaarO1cWsxlCLFxeJZRQoJEAJ4S4= MIME-Version: 1.0 Received: by 10.90.53.5 with SMTP id b5mr1022676aga.91.1234547335537; Fri, 13 Feb 2009 09:48:55 -0800 (PST) In-Reply-To: <53a1e0710902122229l606bb2c9pcc71ea38fafa1193@mail.gmail.com> References: <53a1e0710902122229l606bb2c9pcc71ea38fafa1193@mail.gmail.com> Date: Fri, 13 Feb 2009 09:48:55 -0800 Message-ID: From: Ross Penner To: hu.henry9@gmail.com 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 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 17:48:56 -0000 On Thu, Feb 12, 2009 at 10:29 PM, Henry Hu wrote: >> 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 Worked for me too! Thanks a lot, I never would have thought to have tried that.