From owner-freebsd-questions Thu Nov 21 9: 1:48 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 7A68537B401 for ; Thu, 21 Nov 2002 09:01:47 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E319443E97 for ; Thu, 21 Nov 2002 09:01:46 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gALH1eVP066365; Thu, 21 Nov 2002 11:01:40 -0600 (CST) (envelope-from dan) Date: Thu, 21 Nov 2002 11:01:40 -0600 From: Dan Nelson To: Pascal Giannakakis Cc: Liquid , freebsd-questions@FreeBSD.ORG Subject: Re: Find abandoned packages Message-ID: <20021121170140.GA86807@dan.emsphone.com> References: <000801c2915e$be8907c0$6400a8c0@windows> <643.1037884929@www41.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <643.1037884929@www41.gmx.net> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i 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 In the last episode (Nov 21), Pascal Giannakakis said: > > 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. > > pkg_info or pkg_version - would be quite the same in this situation. > What i need is an intelligent programm that finds old stuff, and best > even offers a yes / no dialog to uninstall it. Lots of packages don't have dependencies because they are standalone programs, like "netcat". You probably don't want to prompt to deinstall those. What you really need is a flag somewhere in the package list saying "I was force-installed because of a dependency", so you can look for packages with this flag but no dependant packages. Unfortunately, this flag doesn't exist :) -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message