From owner-freebsd-stable Sun Feb 17 11:53:49 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mailhost.firstcallgroup.co.uk (dilbert.firstcallgroup.co.uk [194.203.69.166]) by hub.freebsd.org (Postfix) with ESMTP id C45D937B404 for ; Sun, 17 Feb 2002 11:53:43 -0800 (PST) Received: from pfrench by mailhost.firstcallgroup.co.uk with local (Exim 3.34 #1) id 16cXNR-0009Y9-00; Sun, 17 Feb 2002 19:53:37 +0000 To: freebsd-stable@freebsd.org, ripper@eskimo.com Subject: Re: pkg_info Ideals In-Reply-To: <200202171530.HAA14131@eskimo.com> Message-Id: From: Pete French Date: Sun, 17 Feb 2002 19:53:37 +0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > proposed wheel: that pkg_info have an option to reports 'ideal' > packages, that is, packages which are not requirements of any other > packages. That might be useful, but for another prurpose - to have some wahy of doing a pkg_delete "recursively" but downwards. I.e. when I install package X and it depends on Y and Z it will install them. But it would be really nice if when I deinstall X it would deinstall Y and Z if nothing else depends on them. This could be done by applying the above to dependencies of the package and seeing if they can be deleted. -pcf. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message