From owner-freebsd-questions@FreeBSD.ORG Mon Sep 24 12:50:22 2007 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 7FCE016A420 for ; Mon, 24 Sep 2007 12:50:22 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 2C25513C48E for ; Mon, 24 Sep 2007 12:50:21 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 24 Sep 2007 08:50:21 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.3-GA) with ESMTP id NUV85226; Mon, 24 Sep 2007 08:50:20 -0400 (EDT) Received: from 65-78-26-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([65.78.26.179]) by smtp01.lnh.mail.rcn.net with ESMTP; 24 Sep 2007 08:50:21 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18167.45708.53032.162026@jerusalem.litteratus.org> Date: Mon, 24 Sep 2007 08:50:20 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <20070924143540.A28769@wojtek.tensor.gdynia.pl> References: <38b9f0350709240517x5d6f976fn9fb2f76105dc51e6@mail.gmail.com> <20070924143540.A28769@wojtek.tensor.gdynia.pl> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Subject: Re: The best way to keep the system clean? 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, 24 Sep 2007 12:50:22 -0000 Wojciech Puchar writes: > > My problem, many times I install some software from ports, it install > > the dependency software. Then after some time, I find that software > > isn't what I want, and deinstall it. At this point, the dependency > > software isn't necessary as well. Is there a way to clean them > > automatically, like the apt-get autoremove in the Ubuntu system. > > possibly there are better methods but i do: Also: ports-mgt/pkg_cutleaves. Personally, I distrust anything involving the term "autoatically remove", doubly so when it involves recursion. All it takes is one bug in the script, or fumble-fingers at the keyboard, and you're looking at major re-installation. This is a job for the Mk. I eyeball. Robert Huff