From owner-freebsd-ports@FreeBSD.ORG Sat Feb 25 02:29:43 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E12A16A420 for ; Sat, 25 Feb 2006 02:29:43 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: from web60023.mail.yahoo.com (web60023.mail.yahoo.com [209.73.178.71]) by mx1.FreeBSD.org (Postfix) with SMTP id 2AD9343D67 for ; Sat, 25 Feb 2006 02:29:35 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 87510 invoked by uid 60001); 25 Feb 2006 02:29:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=g/72ryXSuN9BoJMGw6l2Pl7XXX7SCb5yr2hMgl9KiMBx2E6GbYbzNMy0qdbKz3Vnyr3fcC2muUPap0B83YaWMCxR6hJIXdBHXSoLl9ZFhuwSiMk0mAI8o/nYurkexxcoj9pIILMBGnQ1dV42jhDYaOYdikpm2u92ZI7+cYsz7L4= ; Message-ID: <20060225022934.87508.qmail@web60023.mail.yahoo.com> Received: from [216.252.85.201] by web60023.mail.yahoo.com via HTTP; Fri, 24 Feb 2006 21:29:34 EST Date: Fri, 24 Feb 2006 21:29:34 -0500 (EST) From: Peter To: Aaron Dalton , Jeff Cross In-Reply-To: <43FF54A9.8050704@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Remove a Port and All Dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2006 02:29:43 -0000 --- Aaron Dalton wrote: > Jeff Cross wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > I would like to know if it is possible to remove a port/package and > all > > of the dependencies it installed that are not needed by other > applications. > > > > Example: I installed Nautilus and some Gnome games but don't want them > > installed any longer. However, if I remove the package itself, > doesn't > > it leave all of the other dependencies out there? > > > > Upgrading my system takes forever now that there are a ton of libs and > > such installed by these applications. So, if anyone can point me in > the > > right direction for doing this I would greatly appreciate it. > > > > pkg_deinstall -R portname Wouldn't this remove all ports that depend on the port in question (its dependants)? The OP wants to remove all ports that are *required* by the port (its dependencies). But furthermore, he wants to remove those that AREN'T NEEDED BY ANY OTHER PORTS. -- Peter __________________________________________________________ Find your next car at http://autos.yahoo.ca