Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2005 13:58:58 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        Doug Lee <dgl@dlee.org>, freebsd-questions@freebsd.org
Subject:   Re: Portinstall/upgrade stops with no error
Message-ID:  <200503121359.01307.ringworm01@gmail.com>
In-Reply-To: <20050312201653.GA45335@kirk.dlee.org>
References:  <20050226052644.GF5368@kirk.dlee.org> <200502252209.14349.ringworm01@gmail.com> <20050312201653.GA45335@kirk.dlee.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503121359.01307.ringworm01>