From owner-freebsd-questions Thu Nov 21 12:57: 1 2002 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 3E7F537B40C for ; Thu, 21 Nov 2002 12:57:00 -0800 (PST) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99C7243EA3 for ; Thu, 21 Nov 2002 12:56:59 -0800 (PST) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <20021121205658003007n504e>; Thu, 21 Nov 2002 20:56:58 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.6/8.12.5) with ESMTP id gALKvhd8007472; Thu, 21 Nov 2002 12:57:43 -0800 (PST) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.6/8.12.5/Submit) id gALKvXhG007469; Thu, 21 Nov 2002 12:57:33 -0800 (PST) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: "Liquid" Cc: "'Pascal Giannakakis'" , Subject: Re: Find abandoned packages References: <000801c2915e$be8907c0$6400a8c0@windows> From: swear@attbi.com (Gary W. Swearingen) Date: 21 Nov 2002 12:57:32 -0800 In-Reply-To: <000801c2915e$be8907c0$6400a8c0@windows> Message-ID: <9eel9eaber.l9e@localhost.localdomain> Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Liquid" writes: > If you check out /var/db/pkg it lists what ports are installed > essentially. I don't know how to tell whether or not it?s a dependency > though, so maybe someone else can answer that. I'd like to know that > too come to think of it. Please keep non-ASCII characters out of list mail; we're not all MSFT-compliant, yet. (The "?" above was a byte valued 222, octal.) From more info: http://www.cs.tut.fi/%7Ejkorpela/www/windows-chars.html Back to the question: The following is from my ports notes. It doesn't solve the problem, but should provide some clues. Try just "pkg_tree -v". -- To make list of ports listed from most-dependent to not dependent (best make order). pkg_tree -v | sed -e 's/\\__/ /' | tr '|' ' ' | sort -u | tr -d ' ' >|/tmp/pkgup To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message