From owner-freebsd-questions@FreeBSD.ORG Thu Jun 4 11:22:33 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 965771065673 for ; Thu, 4 Jun 2009 11:22:33 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id A16548FC14 for ; Thu, 4 Jun 2009 11:22:32 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n54BMMmG032650; Thu, 4 Jun 2009 13:22:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n54BMLAU032647; Thu, 4 Jun 2009 13:22:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 4 Jun 2009 13:22:21 +0200 (CEST) From: Wojciech Puchar To: Fbsd1 In-Reply-To: <4A27A7C4.20803@a1poweruser.com> Message-ID: References: <4A27A7C4.20803@a1poweruser.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Dan Naumov , freebsd-questions@freebsd.org Subject: Re: 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: Thu, 04 Jun 2009 11:22:34 -0000 >> ignore errors about package can't be deleted because X, Y or Z requires it. >> it's exactly what you want. >> >> > pkg_delete `cat /tmp/pkglist` gives error 'no such package `cat > /tmp/pkglist` installed > > for sure you used ' instead of `