From owner-freebsd-questions@FreeBSD.ORG Sat Mar 12 23:04:25 2005 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 723A816A4CE for ; Sat, 12 Mar 2005 23:04:25 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDFA743D3F for ; Sat, 12 Mar 2005 23:04:24 +0000 (GMT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([69.143.16.144]) by comcast.net (rwcrmhc11) with ESMTP id <2005031223042401300oed2me>; Sat, 12 Mar 2005 23:04:24 +0000 Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.11/8.12.11) with ESMTP id j2CN4KG2046777; Sat, 12 Mar 2005 18:04:20 -0500 (EST) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.11/8.12.11/Submit) id j2CN4Il5046776; Sat, 12 Mar 2005 18:04:19 -0500 (EST) (envelope-from dgl) Date: Sat, 12 Mar 2005 18:04:17 -0500 From: Doug Lee To: "Michael C. Shultz" Message-ID: <20050312230416.GH4670@kirk.dlee.org> Mail-Followup-To: Doug Lee , "Michael C. Shultz" , freebsd-questions@freebsd.org References: <20050226052644.GF5368@kirk.dlee.org> <200502252209.14349.ringworm01@gmail.com> <20050312201653.GA45335@kirk.dlee.org> <200503121359.01307.ringworm01@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503121359.01307.ringworm01@gmail.com> Organization: Bartimaeus Group User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Portinstall/upgrade stops with no error 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: Sat, 12 Mar 2005 23:04:25 -0000 On Sat, Mar 12, 2005 at 01:58:58PM -0800, Michael C. Shultz wrote: On Saturday 12 March 2005 12:16 pm, Doug Lee wrote: > You said simply to try sysutils/portmanager. I must have really made > a mess here: > > Kirk 3# portmanager -s > --------------------------------------------------------------------- >--- PMGRrStatus 0.2.7_0 info: Creating inital data bases > --------------------------------------------------------------------- >--- Segmentation fault (core dumped) > Kirk 3# gdb /usr/local/bin/portmanager portmanager.core > GNU gdb 4.18 (FreeBSD) > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are welcome to change it and/or distribute copies of it under > certain conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. This GDB was configured as "i386-unknown-freebsd"... > (no debugging symbols found)... > Core was generated by `portmanager'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /usr/local/lib/libMG.1...(no debugging symbols > found)... done. > Reading symbols from /usr/local/lib/libPMGR.1...(no debugging symbols > found)... done. > Reading symbols from /usr/lib/libc.so.4...(no debugging symbols > found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no > debugging symbols found)... done. > #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 > (gdb) bt > #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 > #1 0x2806e618 in PMGRrAddDependencies () from > /usr/local/lib/libPMGR.1 #2 0x2806ea9f in PMGRrDbCreate () from > /usr/local/lib/libPMGR.1 #3 0x280724d5 in PMGRrShowLeaves () from > /usr/local/lib/libPMGR.1 #4 0x8048df3 in PMGRrShowLeaves () > #5 0x8048862 in PMGRrShowLeaves () > #6 0x80487a2 in PMGRrShowLeaves () > (gdb) > > I had no errors installing portmanager, though I think I had to use > make install. > > On Fri, Feb 25, 2005 at 10:09:14PM -0800, Michael C. Shultz wrote: > > On Friday 25 February 2005 09:26 pm, Doug Lee wrote: > > System: FreeBSD-STABLE (4.10). Ports updated recently, but I've > > had trouble with the database and probably never straightened it > > out. > > > > Problem: "portinstall lang/perl5.8" and other similar attempts to > > install ports abort quietly. With -v, I just see session started, > > nothing installed or upgraded, session ended. I can install any > > port via make install though (perl is going in now thus). I have > > run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; > > no change. I've run make index several times, but not today (this > > is a P166, so make index takes a while). > > > > I think my ports database must be irreparably hosed, but I welcome > > suggestions on how to salvage things. :-) > > > > Please Cc me. > > Try sysutils/portmanager Portmanager is at version 0.2.9_2 now so you should update with cvsup. I'm guessing you did not run portmanager as root, if that is the problem the current version will correctly report it. -Mike Yes I ran it as root (hence the "#" in "Kirk 3#"), but I'm now doing a cvsup of ports and will try an upgrade of portmanager anyway. -- Doug Lee dgl@dlee.org http://www.dlee.org Bartimaeus Group doug@bartsite.com http://www.bartsite.com "Pray devoutly, but hammer stoutly." --Sir William G. Benham