From owner-freebsd-stable@FreeBSD.ORG Mon Jun 18 22:11:21 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 813D616A46C for ; Mon, 18 Jun 2007 22:11:21 +0000 (UTC) (envelope-from rodrigo@liralink.com) Received: from bloco-11.gmail.comdominio.com.br (bloco-11.gmail.comdominio.com.br [200.155.11.204]) by mx1.freebsd.org (Postfix) with ESMTP id C1E7E13C45D for ; Mon, 18 Jun 2007 22:11:20 +0000 (UTC) (envelope-from rodrigo@liralink.com) Received: (qmail 17188 invoked from network); 18 Jun 2007 21:43:35 -0000 Received: from unknown (HELO OsvaldoVieirPC) (Authenticatedgmail:rodrigo@liralink.com@[217.168.120.232]) (envelope-sender ) by bloco-11.gmail.comdominio.com.br (qmail-ldap-1.03) with SMTP for ; 18 Jun 2007 21:43:23 -0000 From: "Rodrigo Galiano" To: "'Dominic Marks'" , "'Vladislav Storojenco'" References: <47805.6899.qm@web50009.mail.re2.yahoo.com> <54537.195.12.22.194.1182176146.squirrel@mail.helenmarks.co.uk> In-Reply-To: <54537.195.12.22.194.1182176146.squirrel@mail.helenmarks.co.uk> Date: Mon, 18 Jun 2007 22:44:04 -0800 Organization: GALICOM Message-ID: <007e01c7b23d$46ce41a0$d46ac4e0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acexs4Ad/4pgEt5wQPKIthZKbMmU9gAiNg9Q Content-Language: pt x-cr-hashedpuzzle: AWNI FRfw HoeF KmP1 NiOH O51P O7R1 QYHK TMTx UXPS ZO+R aCi/ c13N gQEL hlUg iR1w; 3; ZABvAG0AQABoAGUAbABlAG4AbQBhAHIAawBzAC4AYwBvAC4AdQBrADsAZgByAGUAZQBiAHMAZAAtAHMAdABhAGIAbABlAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnADsAcwBtAGEAaQBuAHYAQAB5AGEAaABvAG8ALgBjAG8AbQA=; Sosha1_v1; 7; {BD58DA49-410D-4E27-9B8E-2F73E34056A9}; cgBvAGQAcgBpAGcAbwBAAGwAaQByAGEAbABpAG4AawAuAGMAbwBtAA==; Tue, 19 Jun 2007 06:42:31 GMT; UgBFADoAIABkAGUAaQBuAHMAdABhAGwAbAAgAHAAbwByAHQAcwA= x-cr-puzzleid: {BD58DA49-410D-4E27-9B8E-2F73E34056A9} Cc: freebsd-stable@freebsd.org Subject: RE: deinstall ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rodrigo@liralink.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2007 22:11:21 -0000 No, if you make 'deinstall' under a specific port it will only uninstall the software package with the dependencies. If you want to deinstall dependencies do the command 'make clean' to check out what will be actually installed and diff the output with the results obtained with the 'pkg_info' command. Then finally do the command 'pkg_delete #package_name#' to deinstall the dependencies. Regards -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Dominic Marks Sent: segunda-feira, 18 de Junho de 2007 06:16 To: Vladislav Storojenco Cc: freebsd-stable@freebsd.org Subject: Re: deinstall ports Vladislav Storojenco wrote: > Hello all, > I'm new user in FreeBSD and have a question about > ports.. > If a port is depend on others ports, during the > deinstall it will deinstall and all dependencies? It depends on what command you issue. If you try and remove an installed package which had other packages dependent upon it, then it will fail. # pkg_delete /var/db/pkg/apache-2.2.4_2/ pkg_delete: package 'apache-2.2.4_2' is required by these other packages and may not be deinstalled: php5-5.2.1_3 php5-mysql-5.2.1_3 php5-pcre-5.2.1_5 php5-posix-5.2.1_3 php5-session-5.2.1_3 php5-simplexml-5.2.1_3 ... But you could force it by using `pkg_delete -f` if you wanted. This on its own will not remove the dependancies, you need to use `pkg_delete -rf` for that. If you run `make deinstall` from the port directory you get the same result as having used `pkg_delete -f` (but not -rf). Dominic _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"