Date: Sun, 20 May 2007 21:57:43 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/112819: /usr/local/sbin/pkgdb:1100: [BUG] Segmentation fault Message-ID: <200705201957.l4KJvhsl060978@sputnik1.dbai.tuwien.ac.at> Resent-Message-ID: <200705202000.l4KK0D8Q021391@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 112819 >Category: ports >Synopsis: /usr/local/sbin/pkgdb:1100: [BUG] Segmentation fault >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 20 20:00:12 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gerald Pfeifer >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD sputnik1 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This is on a system where $PORTSDIR/x11-fonts does not exist, and the respective packages have been installed with pkg_add -r. sputnik1# pkgdb -aFO ---> Checking the package registry database Stale origin: 'x11-fonts/fontconfig': perhaps moved or obsoleted. [database version mismatch/bump detected] Permission denied database file error /usr/local/sbin/pkgdb:1100: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [i386-freebsd6] Abort This is probably related to my other report on the portupgrade tool (ports/112818), whereas this report is on pkgdb. The one thing we absolutely should do is to provide the name of the concrete database as part of the error message also in this case. Also, why does pkgdb say "Permission" denied when I am running this as root? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705201957.l4KJvhsl060978>