From owner-freebsd-questions@FreeBSD.ORG Mon Mar 14 23:27:40 2005 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 41CC416A4CE for ; Mon, 14 Mar 2005 23:27:40 +0000 (GMT) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0937F43D31 for ; Mon, 14 Mar 2005 23:27:40 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([4.27.46.32])0.04 <0IDD007E77U0PIC1@vms046.mailsrvcs.net> for freebsd-questions@freebsd.org; Mon, 14 Mar 2005 17:27:37 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id 17AD82CE75B; Mon, 14 Mar 2005 15:27:35 -0800 (PST) Date: Mon, 14 Mar 2005 15:27:34 -0800 From: "Michael C. Shultz" In-reply-to: To: freebsd-questions@freebsd.org Message-id: <200503141527.35204.ringworm01@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit Content-disposition: inline References: User-Agent: KMail/1.7.2 Subject: Re: If I have portmanager, do I need portupgrade? 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: Mon, 14 Mar 2005 23:27:40 -0000 On Monday 14 March 2005 03:16 pm, Lee Harr wrote: > > > I keep hearing great things about portmanager, but I have > > > not been able to run it... when I try, I get: > > > > > > > > > # portmanager -s > > > ----------------------------------------------------------------- > > >---- --- PMGRrStatus 0.2.9_3 info: Creating inital data bases > > > ----------------------------------------------------------------- > > >---- --- PMGRrVerifyContentsFile 0.2.9_3 error: could not open > > > /var/db/pkg/mailman-2.1.5_2/+CONTENTS > > > system message: No such file or directory > > > Assertion failed: (0), function PMGRrVerifyContentsFile, file > > > PMGRrVerifyContentsFile.c,line 75. > > > Abort (core dumped) > > > > > > > > > What am I doing wrong? > > > >Does /var/db/pkg/mailman-2.1.5_2 exist on your system? If so > >does /var/db/pkg/mailman-2.1.5_2/+CONTENTS exist? > > Ah... > > # ls -ld /var/db/pkg/mail* > drwxr-xr-x 2 root wheel 512 Feb 15 21:43 > /var/db/pkg/mailman-2.1.5_2 # ls -l /var/db/pkg/mailman-2.1.5_2 > total 0 > # pkg_info | grep mail > pkg_info: the package info for package 'mailman-2.1.5_2' is corrupt > > > I re-installed mailman and now portmanager is working. > > Still... seems like it should not dump core on the > corrupt package info. > > Thanks for your help. Your welcome. I'll take your suggestion and make a more informative message. Using pkg_info was a great idea, I'll use that for producing the message. :) -Mike