-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core modules are not installed/upgraded, even if a package requires a newer version #270
Comments
Yes, I've hit this with List::Utils where there's a version mismatch between the deploy and (apparently) the version pre-installed. Since quite a few other modules depend on it, they don't work either. This was AWS Ubuntu, and I had something likr this: |
@TheRealCuran that is the difference between The first can by used either to install packages at root level, or more locally.
I know you can install modules like |
The problem is then: Apart from that: I've been installing those packages from CPAN for many rather big deployments with If this behaviour is not good for everybody (I am not seeing a case where it shouldn't that isn't a bug somewhere, but OK), then hide it behind an option like |
I have a cpanfile which ends up depending on
HTTP::Date
andHTTP::Message
. These two packages declare dependencies onTime::Local
>= 1.28 andEncode
>= 3.01.If I run this through
carton install
with a Perl 5.28.1 I get installation failures because the bundled core versions ofTime::Local
andEncode
are too old andcarton
is apparently not considering to install those to into the local library directory. If I runcpanm -l /path/to/local/perl5lib Encode Time::Local
before calling carton on the same directory everything works.Carton should consider upgrading core modules to satisfy dependencies. This only needs to happen on deployment.
The text was updated successfully, but these errors were encountered: