Portinstall/upgrade stops with no error

Doug Lee dgl at dlee.org
Sat Mar 12 15:04:25 PST 2005


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 at dlee.org        http://www.dlee.org
Bartimaeus Group   doug at bartsite.com   http://www.bartsite.com
"Pray devoutly, but hammer stoutly."
--Sir William G. Benham


More information about the freebsd-questions mailing list