From owner-freebsd-questions@FreeBSD.ORG Thu Aug 4 08:22:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 C306116A41F for ; Thu, 4 Aug 2005 08:22:02 +0000 (GMT) (envelope-from mike@hyperreal.org) Received: from hyperreal.org (taz3.hyperreal.org [209.237.226.90]) by mx1.FreeBSD.org (Postfix) with SMTP id 5DB4243D49 for ; Thu, 4 Aug 2005 08:22:02 +0000 (GMT) (envelope-from mike@hyperreal.org) Received: (qmail 57109 invoked by uid 1001); 4 Aug 2005 08:22:06 -0000 Message-ID: <20050804082206.57108.qmail@hyperreal.org> In-Reply-To: <20050728134120.8533D186800@mgedv.at> To: freebsd-questions@freebsd.org Date: Thu, 4 Aug 2005 01:22:06 -0700 (PDT) Sender: mike@hyperreal.org From: Mike Brown X-Whoa: whoa. X-Mailer: ELM [version 2.4ME+ PL119 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: Re: pkg_create: correct usage? 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 Aug 2005 08:22:02 -0000 mdff wrote: > i'm trying to create packages on freebsd-5.4-RELEASE. > > can anyone tell me how to define a packinglist for > pkg_create with the ability to remove the directories > after pkg_delete and not getting complaints if they are > not empty? > > if i specify @dirrm in the packinglist, i get these > errors, if some packages share a specific directory: > > # pkg_delete > > pkg_delete: unable to completely remove directory '/usr/local/lib' > > pkg_delete: couldn't entirely delete package (perhaps the packing > > list is incorrectly specified?) > > br... This question might be better to ask on freebsd-ports@freebsd.org.