From owner-freebsd-questions@FreeBSD.ORG Mon Jul 28 17:16:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5CFB1065683 for ; Mon, 28 Jul 2008 17:16:00 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 76F138FC22 for ; Mon, 28 Jul 2008 17:16:00 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id D4A862BB69 for ; Mon, 28 Jul 2008 19:15:59 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.6.1 (20080629) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ELeFa2vv95EV for ; Mon, 28 Jul 2008 19:15:59 +0200 (CEST) Received: from [192.168.0.201] (me.todoo.biz [82.66.93.242]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: grego03) by newmail.rmm.fr (Postfix) with ESMTPSA id 710542BB68 for ; Mon, 28 Jul 2008 19:15:59 +0200 (CEST) Message-Id: <91610C8C-EAC6-49C0-9CAB-D5836592A08E@todoo.biz> From: bsd To: Liste FreeBSD In-Reply-To: <20080727131744.GA71110@ozzmosis.com> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v926) Date: Mon, 28 Jul 2008 19:15:58 +0200 References: <0956648E-F93F-40EC-A565-17875757531F@todoo.biz> <20080727131744.GA71110@ozzmosis.com> X-Mailer: Apple Mail (2.926) Subject: Re: Deinstalling X and all dependencies[SOLVED] 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, 28 Jul 2008 17:16:00 -0000 I have opted for the: pkg_delete -a Which has done a great job cleaning everything. Only had to "make clean" in one of the port directory to properly =20 recompile all needed apps. As I had configured root to use /usr/local/bin/bash had to take care =20 to change that with vipw before doing the uninstall / reinstall. Took me half a day for three servers=85 But at least I have a very clean = =20 install with 30 ports instead of 250 !! Thanks everybody for your wise answers. Le 27 juil. 08 =E0 15:17, andrew clarke a =E9crit : > On Sun 2008-07-27 12:52:56 UTC+0200, bsd (bsd@todoo.biz) wrote: > >> I have just received a new system that's planned to be a large =20 >> scale DNS >> server. >> I have asked the guy who has setup the hardware not to install X? >> >> This has been useless!! >> >> I am now ending up with 250 apps in the port tree!! > > He probably just went with the defaults. > >> Is there a good way to get rid of all these useless apps without >> breaking the system? >> What would you suggest? >> >> Like removing X and It's dependencies? >> >> >> I can also remove all apps in the port tree and recompile only the =20= >> one >> needed? >> >> What's best what do you suggest. > > FreeBSD provides a "base system" with software such as a SSH daemon, > Sendmail, BIND, etc. You can uninstall all the packages on your > system, but the FreeBSD base system will still remain. This allows > FreeBSD to boot normally without any packages installed. > > I recommend you uninstall all packages (with 'pkg_delete -a', or > 'pkg_delete -av' if you want to watch all the files being deleted), > then install only what you need from the Ports tree. > > Your DNS server should probably not require any packages to be > installed, as DNS server software (BIND) is provided with the FreeBSD > base system. But that really depends what your requirements are. > > Regards > Andrew =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing =20 this e-mail"