Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 20:07:26 +0200
From:      Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
To:        Scott Bennett <bennett@cs.niu.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [REPOST] problem upgrading perl
Message-ID:  <20090616180726.GA945@wep4035.physik.uni-wuerzburg.de>
In-Reply-To: <200906160325.n5G3PxGP008120@mp.cs.niu.edu>
References:  <200906160325.n5G3PxGP008120@mp.cs.niu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 15, 2009 at 10:25:59PM -0500, Scott Bennett wrote:
>      I got no responses when I posted this a few days ago, so I'm reposting
> it now.  I'd really like to finish the perl upgrade process, so I could move
> on to installing/updating other ports safely, but could use some advice.
>    --------------------------------------------------------------------
>      Following the instructions in /usr/ports/UPDATING for upgrading from
> lang/perl5.8 to lang/perl5.10 using portmaster, the first part seems to go
> well.  The last line of that process is where the excerpt below begins.
> The second step, as you will see, fails with the error message shown.
> /usr/ports/UPDATING neglects to mention what to do next, and the process
> looks incomplete at this point.  If someone could offer instructions for
> completing the process, I would be grateful.
> 
> ===>>> Upgrade of perl-5.8.9_2 to perl-threaded-5.10.0_3 complete
> 
> hellas# nice +18 portmaster -v -r perl\*
> 
> ===>>> No ORIGIN in /var/db/pkg/perl-threaded-5.10.0_3/+CONTENTS:@comment ORIGIN:lang/perl5.10 /var/db/pkg/perltidy-20071205/+CONTENTS:@comment ORIGIN:devel/perltidy/+CONTENTS
> ===>>> Aborting update
> 
The something is wrong with packages database in /var/db/pkg or portmaster
doesn't like it. Please, show the output from the following commands to start:

head /var/db/pkg/perl-threaded-5.10.0_3/+CONTENTS
head /var/db/pkg/perltidy-20071205/+CONTENTS

Mine is (no perltidy though):
~> head /var/db/pkg/perl-5.10.0_3/+CONTENTS 
@comment PKG_FORMAT_REVISION:1.1
@name perl-5.10.0_3
@comment ORIGIN:lang/perl5.10
@cwd /usr/local
@conflicts perl-5.6.*
@conflicts perl-5.8.*
@conflicts perl-threaded-5.8.*
man/man1/a2p.1.gz
@comment MD5:41051bd143f495e113fa136ac0e9cb6f
man/man1/c2ph.1.gz

Hmmm... Looking at portmaster sources I've got one idea.
Can you try more precise command to upgrade everything depending on perl?

nice +18 portmaster -v -r perl-threaded-5.10.0_3

The point is that perl\* wildcard gives you both perl-threaded-XXX and
perltidy-XXXX which might be bad idea.

If this is the case I think UPDATING entry should be improved
to use perl-\* wildcard.

> hellas#
> 
>      Please copy me in on any responses.  I'm subscribed to the digest form
> of this list, so responses sent only to the list may take up to a day to be
> sent to me as part of the digest.
>      Thanks in advance for any assistance in proceeding with the perl upgrade.
> 
Just 0.02$,
Alexey.



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