Portmanager gives me an error message

Eduardo Cerejo ejcerejo at optonline.net
Fri Jan 23 15:07:04 PST 2009


On Fri, 23 Jan 2009 06:28:19 -0500
Jerry <gesbbb at yahoo.com> wrote:

> On Thu, 22 Jan 2009 20:00:26 -0500
> Eduardo Cerejo <ejcerejo at optonline.net> wrote:
> 
> >I'm trying to upgrade any port with portmanager because portupgrade
> >keeps failing all the time.  No matter what port I try to upgrade I
> >get this error:
> >
> >sudo portmanager x11/xterm -l -u
> >Password:
> >MGrStrlen error: NULL marker not found in string
> >Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54.
> >Abort
> >
> >I'm running FreeBSD 7.1 release.
> 
> I am assuming you have the latest version of portmanager and an updated
> ports tree. Try just running portmanager in a generic fashion; i.e.:
> 
> 	portmanager -u -l -p -y
> 
> See if that corrects the problem. Also, can you run it as root rather
> than using sudo? I have no idea if that would make any difference;
> however, I never use sudo when running portmanager myself.
> 
> Also, you probably have portsclean installed. Clean out
> your /usr/ports/distfiles directory and then run:
> 
> 	portsclean -CLP
> 
> Prior to running portmanger. It cannot hurt and it might fix something.
> 
> You might also consider doing a deinstall/reinstall of portmanger if
> you feel the program might have gotten damaged.
> 
> 
> -- 
> Jerry
> gesbbb at yahoo.com
> 
> FOR SALE:
> 	Parachute.  Used once.
> 	Never opened.  Slightly Stained.
> 

It makes no difference at all.  I get the same kind of errors. Do you know if portmaster is less buggy than portupgrade?


More information about the freebsd-questions mailing list