From owner-freebsd-questions@FreeBSD.ORG Sun Dec 12 16:14:11 2004 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 4646516A4CE for ; Sun, 12 Dec 2004 16:14:11 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0474643D2F for ; Sun, 12 Dec 2004 16:14:11 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 1D13FC40B17 for ; Sun, 12 Dec 2004 11:14:10 -0500 (EST) X-Sasl-enc: 9C2sTt5G6DnBaYUdcKTNdw 1102868049 Received: from gumby.localhost (dsl-80-41-96-50.access.uk.tiscali.com [80.41.96.50]) by frontend3.messagingengine.com (Postfix) with ESMTP id 1F7322553F for ; Sun, 12 Dec 2004 11:14:08 -0500 (EST) From: RW To: freebsd-questions@freebsd.org Date: Sun, 12 Dec 2004 16:14:00 +0000 User-Agent: KMail/1.7.1 References: <6.2.0.14.2.20041211162451.05b17c98@localhost> <44k6ro5m2u.fsf@be-well.ilk.org> <6.2.0.14.2.20041211185002.05e6f928@localhost> In-Reply-To: <6.2.0.14.2.20041211185002.05e6f928@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412121614.01460.list-freebsd-2004@morbius.sent.com> Subject: Re: Un-GNOME-ing a FreeBSD box 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: Sun, 12 Dec 2004 16:14:11 -0000 On Sunday 12 December 2004 01:54, Brett Glass wrote: > At 06:42 PM 12/11/2004, Lowell Gilbert wrote: > >That isn't supposed to happen. If another port has X11 listed as a > >dependency, "make deinstall" would have said so and refused to remove > >it.. > > Which, by the way, is what the owner of the machine is seeing. He's > listed the ports that were installed by running pkg_info, and is > laboriously visiting each one's directory and trying to do a > "make deinstall". But it's refusing to delete things due to dependency > issues. I'm not sure, but I'll bet that the dependencies here aren't > a clean, hierarchical tree but rather more of a "web". If there's > a circular dependency, he's stuck. > > Again, I really find it hard to believe that there would be no provision > for deleting a port AND the ports on which it depends cleanly. I tend > to use a minimal number of ports and packages, and so didn't realize > that this was such a difficult thing until now. There is a way: pkg_deinstall -R gnome which delete gnome and all it depends on, except those packages that are required by other packages that aren't to be deleted. The pitfalls are that you will need to reinstall gnome, and also there might be ports that gnome depends on that were usefull leaf ports in their own right. I dont think there will be anything like that with gnome, but I'm not entirely sure. also pkg_deinstall ">2004-11-20 08:00" which removes all packages added after the specified timestamp. In either case I would test to see what will go by running pkg_glob first.