From owner-freebsd-questions@FreeBSD.ORG Tue Jun 6 18:54:35 2006 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 7341616B59B; Tue, 6 Jun 2006 18:52:24 +0000 (UTC) (envelope-from Michael.Collette@TestEquity.com) Received: from smtp.testequity.com (gateway.testequity.com [205.147.14.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13C0243D48; Tue, 6 Jun 2006 18:52:21 +0000 (GMT) (envelope-from Michael.Collette@TestEquity.com) Received: from smtp.priv.testequity.com (unknown [192.168.3.27]) by smtp.testequity.com (Postfix) with ESMTP id 533A413C41A; Tue, 6 Jun 2006 11:52:21 -0700 (PDT) Received: from [192.168.3.172] (mach172.priv.testequity.com [192.168.3.172]) by smtp.priv.testequity.com (Postfix) with ESMTP id 48E6AC74C; Tue, 6 Jun 2006 11:52:21 -0700 (PDT) Message-ID: <4485CEE9.3070501@TestEquity.com> Date: Tue, 06 Jun 2006 11:52:25 -0700 From: Michael Collette Organization: TestEquity LLC User-Agent: Thunderbird 1.5.0.2 (X11/20060516) MIME-Version: 1.0 To: Sergey Matveychuk References: <4484C065.5000100@TestEquity.com> <44854681.2030902@FreeBSD.org> In-Reply-To: <44854681.2030902@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade across NFS 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: Tue, 06 Jun 2006 18:54:37 -0000 Sergey Matveychuk wrote: > Michael Collette wrote: >> This problem only occurs when using portupgrade. Both pkg_delete and >> pkg_deinstall work without error. Also, everything else in the process >> that portupgrade goes through appears to work properly. Just that >> /var/db/pkg directory won't delete when NFS mounted. > > Have you tried the last (2.1.1) version? > I've fixed a few problems and one of them looks like yours. But it's not > relate to NFS however. No luck. I was back on 2.0.1 which I upgraded with pkg_delete and pkg_add. Still the exact same error with deleting the /var/db/pkg directory. Like I mentioned earlier, we've been going through the source code on this, libraries and all. If you'd like to toss some tweaks for me to test out off list I'd be one very motivated tester here. This glitch may really complicate my network setup here, so doing whatever it takes to fix this is high on my priority list. Just a thought for an ugly hack, but might it be possible to force a check for that directory after it has supposedly been deleted, and if it exists manually delete it? Thanks for getting back with me on this. Going to continue to muck around with things a bit here to see if we can stumble across something that helps. Later on, -- Michael Collette IT Manager TestEquity LLC