Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2012 21:35:31 +0200
From:      Mel Flynn <rflynn@acsalaska.net>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        ports@freebsd.org
Subject:   Re: problem running pkg_delete
Message-ID:  <4FB00D03.4010609@acsalaska.net>
In-Reply-To: <20399.44465.933770.575748@jerusalem.litteratus.org>
References:  <20398.43728.425481.287491@jerusalem.litteratus.org> <4FAFA80B.80207@acsalaska.net> <20399.44465.933770.575748@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13-5-2012 14:48, Robert Huff wrote:
> 
> Mel Flynn writes:
> 
>>  > pkg_delete: the package info for package "Source" is corrupt
>>  > 
>>  > 	Any ideas?
>>  
>>  Can you provide the output of:
>>  grep -E '@(unexec|exec).*Source' /var/db/pkg/*/+CONTENTS
> 
> 	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/site_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/site_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

-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB00D03.4010609>