From owner-freebsd-questions@FreeBSD.ORG Fri Jan 30 13:29:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD34716A4CE for ; Fri, 30 Jan 2004 13:29:54 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DD5243D2F for ; Fri, 30 Jan 2004 13:29:53 -0800 (PST) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id i0ULTY210539; Fri, 30 Jan 2004 13:29:34 -0800 From: Kent Stewart To: r t g tan , freebsd-questions@freebsd.org Date: Fri, 30 Jan 2004 13:29:32 -0800 User-Agent: KMail/1.5.4 References: <20040130195143.GA93830@seatle.vredesdorp.nl> In-Reply-To: <20040130195143.GA93830@seatle.vredesdorp.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401301329.32618.kstewart@owt.com> Subject: Re: portsdb -U fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 21:29:54 -0000 On Friday 30 January 2004 11:51 am, r t g tan wrote: > Hi, > > Have done at least the following: > 1 - fresh ports cvsup for all the ports > 2 - rm /var/db/pkg/pkgdb.db > 3 - pkgdb -F > > However portsdb -U fails and generates a lot of > error messages like the following: > > *** Error code 2: malformed entry: *** Error code 2 > *** Error code 2: malformed entry: *** Error code 2 > *** Error code 2: malformed entry: *** Error code 2 > cd: can't cd to wmthemeinstall: malformed entry: cd: can't cd to > wmthemeinstall cd: can't cd to wmx: malformed entry: cd: can't cd to > wmx cd: can't cd to xfce: malformed entry: cd: can't cd to xfce > > What is corrupted, and how can I fix this? Usually it is something a port committer has done. Make index, which is what I use instead of portsdb -U, was generating an error message but is producing clean output. You might try using it instead. I tested both recently and make index was running in 9 minutes on my system and portsdb -U was about 1.5 times longerr. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html