If I have portmanager, do I need portupgrade?

Lee Harr missive at hotmail.com
Mon Mar 14 15:16:21 PST 2005


> > 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.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the freebsd-questions mailing list