Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2008 19:15:58 +0200
From:      bsd <bsd@todoo.biz>
To:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Deinstalling X and all dependencies[SOLVED]
Message-ID:  <91610C8C-EAC6-49C0-9CAB-D5836592A08E@todoo.biz>
In-Reply-To: <20080727131744.GA71110@ozzmosis.com>
References:  <0956648E-F93F-40EC-A565-17875757531F@todoo.biz> <20080727131744.GA71110@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91610C8C-EAC6-49C0-9CAB-D5836592A08E>