From owner-freebsd-questions@FreeBSD.ORG Sun Apr 10 23:13:28 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE24E16A4CE for ; Sun, 10 Apr 2005 23:13:28 +0000 (GMT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6723F43D2D for ; Sun, 10 Apr 2005 23:13:28 +0000 (GMT) (envelope-from vincent_bachelier@yahoo.fr) Received: from vincent_bachelier.hd.free.fr (ferreol-1-82-66-171-150.fbx.proxad.net [82.66.171.150]) by postfix3-2.free.fr (Postfix) with ESMTP id C3C93C006 for ; Mon, 11 Apr 2005 01:13:27 +0200 (CEST) Received: by vincent_bachelier.hd.free.fr (Postfix, from userid 1001) id 810FEC9403; Mon, 11 Apr 2005 01:13:28 +0200 (CEST) From: Bachelier Vincent To: freebsd-questions@freebsd.org Date: Mon, 11 Apr 2005 01:13:28 +0200 User-Agent: KMail/1.8 References: In-Reply-To: X-Face: ),DrfNh7K,Z+CXOpI("q)dE)"q/1JsX~>=?utf-8?q?a=0A=09?=)P3n',J{Z>_SC5*mtU|.0@z)Fd`C/V@TC(;\0e,.p'<"7ksG,(!Kzipx00Acp(=?utf-8?q?Zh=3B=7CPM=3DD=0A=09=26Etlw?=@2zd251JrJB MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200504110113.28162.vincent_bachelier@yahoo.fr> Subject: Re: Broken port tree: how to repair ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 23:13:29 -0000 delete /var/db/pkg/pkgdb.db do a cvsup of your port tree ... do a "make fetchindex" under /usr/ports now, check portversion -l'<' it should reconstruct everything Le Lundi 11 Avril 2005 00:02, Xavier Maillard a =E9crit=A0: > Hello, > > I had a problem of corrupted database and I did a big mistake: I > incidentally deleted my port tree instead of the database. > > Now I have big troubles whenever I want to upgrade/install any > new port. > > Is there any way to fix this ? > > Thank you.