From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 08:24:25 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 D245916A4B3 for ; Thu, 16 Oct 2003 08:24:25 -0700 (PDT) Received: from sparqnet.net (tan1.sparqnet.net [211.78.130.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D5E2D43F3F for ; Thu, 16 Oct 2003 08:24:23 -0700 (PDT) (envelope-from kclee@tiny.ws) Received: from kclee([61.66.184.186]) by sparqnet.net(AIMC 2.9.5.4) with SMTP id jm323f8edd01; Thr, 16 Oct 2003 23:24:19 +0800 Message-ID: <003e01c393f9$91a67190$6401a8c0@kclee> From: "Michael Lee" To: "Q" References: <000901c393da$6a1a06b0$ca00a8c0@michael> <1066304908.795.10.camel@boxster.onthenet.com.au> Date: Thu, 16 Oct 2003 23:24:13 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 15:24:25 -0000 Thank you for your reply. I know there was a tool called portupgrade that can manage the ports very well. What I want to know is that if I do not use portupgrade, can 'make deinstall' do what I expected ? Thanks! Michael Lee ----- Original Message ----- From: "Q" To: "Michael Lee" Cc: Sent: Thursday, October 16, 2003 7:48 PM Subject: Re: Uninstalling Port installed applications > 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" > _______________________________________________ > 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" >