From owner-freebsd-questions@FreeBSD.ORG Thu Nov 30 21:31:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 975F616A4C2 for ; Thu, 30 Nov 2006 21:31:55 +0000 (UTC) (envelope-from jas@math.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id A48B543D92 for ; Thu, 30 Nov 2006 21:30:43 +0000 (GMT) (envelope-from jas@math.jussieu.fr) Received: from riemann.math.jussieu.fr (riemann.math.jussieu.fr [134.157.13.3]) by shiva.jussieu.fr (8.13.7/jtpda-5.4) with ESMTP id kAULUmVp076624 ; Thu, 30 Nov 2006 22:30:48 +0100 (CET) X-Ids: 166 Received: from cantor.math.jussieu.fr (cantor.math.jussieu.fr [134.157.13.2]) by riemann.math.jussieu.fr (8.13.8/jtpda-5.4) with ESMTP id kAULUl4a031534 ; Thu, 30 Nov 2006 22:30:47 +0100 (CET) Received: from cantor.math.jussieu.fr (jas@localhost [127.0.0.1]) by cantor.math.jussieu.fr (8.13.1/jtpda-5.4) with ESMTP id kAULUkGG009715 ; Thu, 30 Nov 2006 22:30:46 +0100 (CET) Received: (from jas@localhost) by cantor.math.jussieu.fr (8.13.1/8.13.1/Submit) id kAULUka9009714; Thu, 30 Nov 2006 22:30:46 +0100 (CET) (envelope-from jas) Date: Thu, 30 Nov 2006 22:30:46 +0100 From: Albert Shih To: Chris Message-ID: <20061130213046.GA6346@math.jussieu.fr> References: <20061129222956.GA28232@math.jussieu.fr> <718eeb340611300504v6bfc3cedi970fb989ef66af08@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <718eeb340611300504v6bfc3cedi970fb989ef66af08@mail.gmail.com> User-Agent: Mutt/1.5.11 X-Spam-Score: 0.001 () UNPARSEABLE_RELAY X-Scanned-By: MIMEDefang 2.57 on 134.157.13.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (shiva.jussieu.fr [134.157.0.166]); Thu, 30 Nov 2006 22:30:48 +0100 (CET) X-Virus-Scanned: ClamAV 0.88.5/2264/Thu Nov 30 20:13:30 2006 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at shiva.jussieu.fr with ID 456F4D88.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Cc: freebsd-questions@freebsd.org Subject: Re: corrupt my ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shih@math.jussieu.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 21:31:55 -0000 Le 30/11/2006 13:04:33+0000, Chris a écrit > Try "man pkgdb". Specifically "pkgdb -F". > Hummm... The pkgdb command is a tool to create or update the system package data- base which is used by the portupgrade(1) tool suite. It maintains a hash that maps an installed file to a package name, a hash that maps a package to an origin, and a list of installed packages. It's not my database is corrupt, but really my /var/db/pkg/* for example [root@freebsd2 /var/db/pkg]# ls -l firefox-2.0_2,1/ total 28 -rw-r--r-- 1 root wheel 52 12 nov 02:27 +COMMENT -rw-r--r-- 1 root wheel 765 12 nov 02:27 +DEINSTALL -rw-r--r-- 1 root wheel 345 12 nov 02:27 +DESC -rw-r--r-- 1 root wheel 1119 12 nov 02:27 +DISPLAY -rw-r--r-- 1 root wheel 1165 12 nov 02:27 +INSTALL -r--r--r-- 1 root wheel 15305 12 nov 02:27 +MTREE_DIRS -rw-r--r-- 1 root wheel 32 28 nov 23:37 +REQUIRED_BY [root@freebsd2 /var/db/pkg]# I don't have +CONTENT file.... Anyone can help me ? Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Thu Nov 30 22:27:16 CET 2006