From owner-freebsd-questions@FreeBSD.ORG Wed Jun 3 08:59:06 2009 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 73669106566B for ; Wed, 3 Jun 2009 08:59:06 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 326BB8FC19 for ; Wed, 3 Jun 2009 08:59:06 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so4679881ywe.13 for ; Wed, 03 Jun 2009 01:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Pg15peyGKpPaUdTd/yd2AyOBvgNv3CZksuCJiO7D610=; b=YWnlk6GJXQQz7Y4/JcsTPsPlv6rLj7scO/hYnTxzOH1e7AyOTpik5CfSkbiclkuAtx 2QciF8Jsyrlvw3NmTRqsePGcXDB2lJvZXAVAIoGXPG7mnNIpY5j4ZTGYgpaLbtjKHId/ MrGqgSKXC6fXi5hSaeXWOJpkjKOuoF/TVtc7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=r222Dofm3Qy7FrRzle0LjIys1dt5/zN2nzgDruPPnmaocazXI32NCzyX9fu5VmxV8z Wvi5wxzgXWfUyBb3pz6MgrDcXz0b2XcTIpw4gzo2528HiJub+bXaq1kXGNsOrNelB27O 2RpL64pffNwAGqXvbmmIMLzim7Xe4ebAxnEzQ= MIME-Version: 1.0 Received: by 10.100.110.2 with SMTP id i2mr735733anc.76.1244018283188; Wed, 03 Jun 2009 01:38:03 -0700 (PDT) Date: Wed, 3 Jun 2009 11:38:03 +0300 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: pkg_deinstall: "delete all packages installed, except for X, Y and Z" 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: Wed, 03 Jun 2009 08:59:06 -0000 Hello list. I am trying to clean up a system with a LOT of cruft. Is there some argument I could pass to pkg_deinstall that would result in "delete all packages installed, except for X, Y and Z" (and obviously their dependancies)? Thanks! - Dan Naumov