From owner-freebsd-questions@FreeBSD.ORG Fri Jun 5 03:13:32 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 79C2F106564A for ; Fri, 5 Jun 2009 03:13:32 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 2B9278FC13 for ; Fri, 5 Jun 2009 03:13:21 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from [10.0.10.6] ([202.69.174.71]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Jun 2009 20:13:10 -0700 Message-ID: <4A288D41.1010306@a1poweruser.com> Date: Fri, 05 Jun 2009 11:13:05 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Wojciech Puchar References: <4A27A7C4.20803@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Jun 2009 03:13:10.0499 (UTC) FILETIME=[8E284B30:01C9E58B] X-Sender: fbsd1@a1poweruser.com 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: Fri, 05 Jun 2009 03:13:32 -0000 Wojciech Puchar wrote: >>> 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 ` > Yet that was the error. I did not know there was another type of quote key on the keyboard. The one used in the example is below the Esc key.