Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2012 20:51:34 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        Mel Flynn <rflynn@acsalaska.net>
Cc:        ports@freebsd.org, Robert Huff <roberthuff@rcn.com>
Subject:   Re: problem running pkg_delete
Message-ID:  <CADLo83-M3gjj1J1Ufc0rq--Z=SkO93ZpbF2mfk2JnqdtLOXtXw@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 May 2012 20:35, Mel Flynn <rflynn@acsalaska.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-M3gjj1J1Ufc0rq--Z=SkO93ZpbF2mfk2JnqdtLOXtXw>