From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 04:48:35 2003 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 BD2CC16A4B3 for ; Thu, 16 Oct 2003 04:48:35 -0700 (PDT) Received: from smtp102.mail.sc5.yahoo.com (smtp102.mail.sc5.yahoo.com [216.136.174.140]) by mx1.FreeBSD.org (Postfix) with SMTP id 2502443F3F for ; Thu, 16 Oct 2003 04:48:35 -0700 (PDT) (envelope-from q_dolan@yahoo.com.au) Received: from q.onthenet.com.au (HELO ?192.168.100.154?) (q?dolan@203.10.89.214 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 16 Oct 2003 11:48:31 -0000 From: Q To: Michael Lee In-Reply-To: <000901c393da$6a1a06b0$ca00a8c0@michael> References: <000901c393da$6a1a06b0$ca00a8c0@michael> Message-Id: <1066304908.795.10.camel@boxster.onthenet.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 16 Oct 2003 21:48:28 +1000 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: Uninstalling Port installed applications 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: Thu, 16 Oct 2003 11:48:35 -0000 You are looking for the 'sysutils/portupgrade' port. It installs a tool called pkg_deinstall. So to achieve what you described, you would run 'pkg_deinstall -R A' and it would deinstall 'A' and any of its "orphaned" dependencies, ie. B, C, D but not E. Seeya...Q On Thu, 2003-10-16 at 21:41, Michael Lee wrote: > Hi, > > I have a question about uninstalling port. > > Say, there are 5 applications -- A, B, C, D, E > > Installing A depends on B,C,D, and E. > There is no problem that I type 'make install' under /usr/port/xxx/A > that the port system will help me install B,C,D,E since they are required by > application A. > Supposed that E was also required by another application F which was already > installed in the system, > I wonder if I type 'make deinstall' under /usr/port/xxx/A and try to > uninstall A, > will the port system help me uninstall B,C,D but not uninstall E ? > > Thank you! > > Michael Lee > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"