LWN.net Logo

Mixing CPAN and packaging

Mixing CPAN and packaging

Posted Aug 24, 2009 15:22 UTC (Mon) by zlynx (subscriber, #2285)
Parent article: On properly packaging perl

I think leaving CPAN out of the RPM is a *very good idea*.

I cannot begin to tell you how many problems CPAN has caused when mixed with RPM packages coming from the distro and/or from alternate repositories.

CPAN wants to upgrade packages it has no business touching. It wants to install things into locations that disagree with RPM. It leads to multiple copies of the same thing installed into slightly different places making it impossible to tell exactly what copy of SSL is crashing your app.

Use RPM *or* CPAN but not both.


(Log in to post comments)

Mixing CPAN and packaging

Posted Aug 24, 2009 22:33 UTC (Mon) by Cato (subscriber, #7643) [Link]

CPAN is quite flexible, and can be used by non-root users from their home directories, so I'm sure it's possible to set it up so that it only touches non-distro managed directory trees such as /usr/local - it even has an option to do upgrades into a new directory without overwriting the system version.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds