From owner-freebsd-questions@FreeBSD.ORG Sat Nov 26 03:05:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 76F1516A41F for ; Sat, 26 Nov 2005 03:05:05 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8770B43D5A for ; Sat, 26 Nov 2005 03:05:04 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so557432wxc for ; Fri, 25 Nov 2005 19:05:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=EyH0Km/WAKXcJkW923ZFtwegC0YFeBTnwHT5tO0B/Qly0nkyTF2uK6YAh5QqS0vGZfljEQrktPudbWpg5WT4NUK5Td2/Bc0MUk6/l9c7y7Nt/8RdLxmYFu2v659kH3SkrbZ0DA5Ixynllc60M3fKeooZx4KqYxPMQTQLPTZxLNE= Received: by 10.70.15.17 with SMTP id 17mr7120090wxo; Fri, 25 Nov 2005 18:58:08 -0800 (PST) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id i11sm1441007wxd.2005.11.25.18.58.08; Fri, 25 Nov 2005 18:58:08 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Fri, 25 Nov 2005 18:48:33 -0800 User-Agent: KMail/1.8.3 References: <4387CD32.4080403@gmail.com> In-Reply-To: <4387CD32.4080403@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511251848.34267.ringworm01@gmail.com> Cc: Wes Santee Subject: Re: Portmanager 0.3.9 asserting 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: Sat, 26 Nov 2005 03:05:05 -0000 On Friday 25 November 2005 18:49, Wes Santee wrote: > Just updated to portmanager 0.3.9 from 0.3.7 and now every command > (except --help) is causing an assert: > > $ sudo portmanager --version > > rParseCommandLine 0.3.9_1 > > $ sudo portmanager --status > MGdbRead error: unable to open file > /usr/local/share/portmanager/pkgtools.db system message: No such file or > directory > Assertion failed: (0), function MGdbRead, file MGdbRead.c, line 65. > Abort trap: 6 (core dumped) > > Sure enough, there is no pkgtools.db. Since this doesn't get installed > with the port, I'm assuming it's supposed to be dynamically created. > > Just using the default pm-020.conf file installed with the updated port: > > $ sudo cp pm-020.conf.SAMPLE pm-020.conf > > Anyone else having problems? I'm on 6.0-RELEASE, BTW. > > Cheers, > -Wes 0.3.9_1 is trying to load pkgtools.conf, its not supposed to if ruby isn't installed or pkgtools.conf is missing so looks like you found a bug. Will check it out and post a patch asap. -Mike