From owner-freebsd-questions@FreeBSD.ORG Fri Jan 23 23:07:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EA591065670 for ; Fri, 23 Jan 2009 23:07:04 +0000 (UTC) (envelope-from ejcerejo@optonline.net) Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.4.198]) by mx1.freebsd.org (Postfix) with ESMTP id DBDCE8FC13 for ; Fri, 23 Jan 2009 23:07:03 +0000 (UTC) (envelope-from ejcerejo@optonline.net) Received: from localhost (ool-457f63f5.dyn.optonline.net [69.127.99.245]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with SMTP id <0KDY00EX05JGNJM0@mta3.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Fri, 23 Jan 2009 18:06:53 -0500 (EST) Date: Fri, 23 Jan 2009 18:06:52 -0500 From: Eduardo Cerejo In-reply-to: <20090123062819.1321855e@scorpio> To: freebsd-questions@freebsd.org Message-id: <20090123180652.0de8fe5c.ejcerejo@optonline.net> MIME-version: 1.0 X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20090122200026.08be1e7a.ejcerejo@optonline.net> <20090123062819.1321855e@scorpio> Cc: Subject: Re: Portmanager gives me an error message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 23:07:04 -0000 On Fri, 23 Jan 2009 06:28:19 -0500 Jerry wrote: > On Thu, 22 Jan 2009 20:00:26 -0500 > Eduardo Cerejo 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@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?