If I have portmanager, do I need portupgrade?

Michael C. Shultz ringworm01 at gmail.com
Mon Mar 14 15:27:40 PST 2005


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



More information about the freebsd-questions mailing list