From owner-freebsd-questions@FreeBSD.ORG Mon Nov 21 15:07:46 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5184B16A41F for ; Mon, 21 Nov 2005 15:07:46 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D4A643D62 for ; Mon, 21 Nov 2005 15:07:42 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [80.192.2.225] ([80.192.2.225]) by smtp-out2.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Mon, 21 Nov 2005 15:08:34 +0000 Message-ID: <4381E2BC.2050306@dial.pipex.com> Date: Mon, 21 Nov 2005 15:07:40 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.12) Gecko/20051106 X-Accept-Language: en MIME-Version: 1.0 To: Javier Matos References: <000e01c5eea9$727681e0$0301a8c0@mindcrash> In-Reply-To: <000e01c5eea9$727681e0$0301a8c0@mindcrash> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Nov 2005 15:08:34.0945 (UTC) FILETIME=[7169F710:01C5EEAD] Cc: freebsd-questions@freebsd.org Subject: Re: uninstalling packages... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 15:07:46 -0000 Javier Matos wrote: >Hello, I want information about uninstallation of packages. I know how to perform that kind of actions but I really want to know if something like pkg_add "a_package" and then pkg_delete "a_package" really delete ALL FILES installed with pkg_add command. > > In short, yes. This isn't windows :-) The long answer is that each package provides information about what files it installs and thus what files to de-install. So the maintainer of the package/port has to get the list of files correct, but I've rarely seen any problems. So if you find that a package isn't deleting something you should ask here or contact the port maintainer. However, if you create any local configuration files (say, for example, /usr/local/etc/smartd.conf, or user specific openoffice directories) they shouldn't be deleted. --Alex