From owner-freebsd-ports@FreeBSD.ORG Sun May 13 19:52:12 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68447106566C for ; Sun, 13 May 2012 19:52:12 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id D3C0B8FC1F for ; Sun, 13 May 2012 19:52:11 +0000 (UTC) Received: by laai10 with SMTP id i10so2844492laa.13 for ; Sun, 13 May 2012 12:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=f1LT+ueISiMhT0j8yE9cJtj2OntsOwgYCQKqW3zZuA8=; b=Y/HxGRJddrwF/L3nc9wlRv2Anb20UjlhinfVr02W1AKPtI4tniZnqtdxvKOqU2EToz wwfo1/Zj1ES6th322Q5DiJByK1xfe+KcKEU1wBjXC8+y2aZKnVM4qH2egd5iUUEg+VlD vfre8ugjSe0kJlaTsL554ZRCB//fxgTVyDicGBg7n+Y180CYxILa+8vL5+4Xhtawn0AO 6pGRL+3k0HS8Wjj1mF8HMKEsU4EG6T0gaQqpKn/yeGHbStrMggVvNE+cLDtBd2dhFWfn Q8LP4isCsYNyUbAxvixvEtauOZ5ZF6HKPVGu8suPxQofHK025TT/9QW/FUUZdwFKZHIU ZVIA== Received: by 10.112.42.100 with SMTP id n4mr2518443lbl.90.1336938724784; Sun, 13 May 2012 12:52:04 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.112.91.171 with HTTP; Sun, 13 May 2012 12:51:34 -0700 (PDT) In-Reply-To: <4FB00D03.4010609@acsalaska.net> References: <20398.43728.425481.287491@jerusalem.litteratus.org> <4FAFA80B.80207@acsalaska.net> <20399.44465.933770.575748@jerusalem.litteratus.org> <4FB00D03.4010609@acsalaska.net> From: Chris Rees Date: Sun, 13 May 2012 20:51:34 +0100 X-Google-Sender-Auth: 4O-B-eLSiSv_m7ePjDXZmwp-8T4 Message-ID: To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, Robert Huff Subject: Re: problem running pkg_delete X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2012 19:52:12 -0000 On 13 May 2012 20:35, Mel Flynn wrote: > On 13-5-2012 14:48, Robert Huff wrote: >> >> Mel Flynn writes: >> >>> =A0> pkg_delete: the package info for package "Source" is corrupt >>> =A0> >>> =A0> =A0 Any ideas? >>> >>> =A0Can you provide the output of: >>> =A0grep -E '@(unexec|exec).*Source' /var/db/pkg/*/+CONTENTS >> >> =A0 =A0 =A0 Yes. > > Well, I was hoping to see some exotic exec construct that would confuse > pkg_delete, but no such luck. > >> >> huff@> grep -E '@(unexec|exec).*Source' /var/db/pkg/*/+CONTENTS > >> /var/db/pkg/p5-Test-Harness-3.23/+CONTENTS:@unexec rmdir "%D/lib/perl5/s= ite_perl/5.14.2/TAP/Parser/Source" 2>/dev/null || true >> /var/db/pkg/p5-Test-Harness-3.23/+CONTENTS:@unexec rmdir "%D/lib/perl5/s= ite_perl/5.14.2/TAP/Parser/SourceHandler" 2>/dev/null || true > > This looks a bit suspicious, the quotes shouldn't really be there and it > actually installs something ending in "Source". However, it's probably > best to rule out the obvious: > > if you have dir /var/db/pkg/Source/ does the +CONTENTS file in it look > sane? When in doubt, post it. > If you don't, any hits on: > grep '^@pkgdep Source' /var/db/pkg/*/+CONTENTS The quotes are from @dirrmtry, so inserted by bsd.port.mk. Chris