bsdpan- to p5- migration

Peter Beckman beckman at angryox.com
Wed Jul 18 01:54:03 UTC 2007


On Tue, 17 Jul 2007, Scott Lambert wrote:

> On Tue, Jul 17, 2007 at 04:15:17PM -0400, Peter Beckman wrote:
>> I didn't really understand BSDPAN, and so I installed all of my Perl
>> modules via CPAN.  Now I have all of these bsdpan-* packages installed, and
>> portupgrade can't manage them.  I'd love to migrate them all to p5-*
>> packages so that portupgrade can manage them, but I haven't seen a mail
>> post [1] about a good way (or a proper way) to do this with minimal effort.
>>
>> The only suggestion I found was to "remove it and reinstall" but the fact
>> that all my bsdpan-* ports point to a p5-* origin makes me think there is a
>> portupgrade command that could do this, even if it is a bit of a script
>> (foreach bsdpan-* etc).  Maybe the -o flag?
>
> I've not personally messed with CPAN.  If the origins are correct,
> then the HOLD_PKGS array in /usr/local/etc/pkgtools.conf is probably
> what is preventing portupgrade from updating them.

  Yes, it is, but I figured there was some reason that was done.  I of
  course couldn't find the reason bsdpan-* were held, assuming the reason
  was that you shouldn't upgrade bsdpan-* using portupgrade.

  If I can, should and would be encouraged to simply remove bsdpan-* from
  HOLD_PKGS and portupgrade that way, great.  It seems that the only
  difference between bsdpan-* and p5-* are dependencies [1].

  Is there a way, using portupgrade, to upgrade bsdpan-* to p5-* and use the
  p5-* package, so that at the end of the process, I'm left with only p5-*
  packages and not bsdpan-* packages?

  [1] http://www.perlmonks.org/?node_id=440017

Beckman
---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
beckman at angryox.com                                 http://www.angryox.com/
---------------------------------------------------------------------------
** PLEASE NOTE PurpleCow.com IS NOW AngryOx.com DO NOT USE PurpleCow.com **
** PurpleCow.com is now owned by City Auto Credit LLC as of May 23, 2007 **
---------------------------------------------------------------------------


More information about the freebsd-ports mailing list