From owner-freebsd-questions@FreeBSD.ORG Tue Apr 13 18:13:04 2004 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 12F7416A4CE for ; Tue, 13 Apr 2004 18:13:04 -0700 (PDT) Received: from monsoon.mail.adnap.net.au (monsoon.mail.adnap.net.au [203.6.132.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41F9543D46 for ; Tue, 13 Apr 2004 18:13:03 -0700 (PDT) (envelope-from bastill@adam.com.au) Received: from monsoon.mail.adnap.net.au (localhost [127.0.0.1]) i3E1D1MX001501 for ; Wed, 14 Apr 2004 10:43:01 +0930 (CST) (envelope-from bastill@adam.com.au) Received: (from www@localhost) by monsoon.mail.adnap.net.au (8.12.8/8.12.8/Submit) id i3E1Cv4B001492 for freebsd-questions@freebsd.org; Wed, 14 Apr 2004 10:42:57 +0930 (CST) X-Authentication-Warning: monsoon.mail.adnap.net.au: www set sender to bastill@adam.com.au using -f Received: from 202-6-151-175.ip.adam.com.au (202-6-151-175.ip.adam.com.au [202.6.151.175]) by webmail.adam.com.au (IMP) with HTTP for ; Wed, 14 Apr 2004 10:42:57 +0930 Message-ID: <1081905177.407c9019bed98@webmail.adam.com.au> Date: Wed, 14 Apr 2004 10:42:57 +0930 From: "" To: "" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 202.6.151.175 Subject: updating ports and pkgdb 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: Wed, 14 Apr 2004 01:13:04 -0000 I am nearing the end of a tortuous path to upgrade my system so that the /usr/ports/ is in the correct format and the pkg db reflects the truth about what I have installed. Unfortunately, pkgdb -u does NOT rebuild from scratch, but simply refreshes itself from the directories in /var/pkg/db. Is there a way I could delete all those directories and make pkgdb go look and rebuild the db/directories from what it finds? Similarly, will cvsup ports-all delete directories which are now not used as well as (of course) update entries and create "missing" directories? Otherwise, how would I find and remove the now-unused directories? Thanks in advance :-) -- Brian ----------------------------------------------- This message sent through Adam Internet Webmail http://www.adam.com.au