Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 15:27:34 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: If I have portmanager, do I need portupgrade?
Message-ID:  <200503141527.35204.ringworm01@gmail.com>
In-Reply-To: <BAY2-F5B5D73201F347AC23137BB1560@phx.gbl>
References:  <BAY2-F5B5D73201F347AC23137BB1560@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503141527.35204.ringworm01>