Portinstall/upgrade stops with no error

Doug Lee dgl at dlee.org
Sat Mar 12 12:16:57 PST 2005


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

-- 
Doug Lee           dgl at dlee.org        http://www.dlee.org
Bartimaeus Group   doug at bartsite.com   http://www.bartsite.com
In laughter, love is found; but in tears, it is forged.  (12/09/01)


More information about the freebsd-questions mailing list