You are not logged in.

#1 2016-04-23 21:52:39

alex.theoto
Member
From: Athens Greece
Registered: 2014-11-30
Posts: 307

[SOLVED] Perl cpan cannot update some modules. Version error.

Hello.
I'm totally new to perl.

I wanted to update the already installed modules. Most of them came with perl.
But some modules couldn't update because of some sort of 'version error'

To be more specific, after updating all the modules, I checked if there are any new updates because I saw some errors at some modules.

$ cpan -O
CPAN: Storable loaded ok (v2.53_01)
Reading '/root/.cpan/Metadata'
  Database was generated on Fri, 22 Apr 2016 19:17:02 GMT
Module Name                                Local    CPAN
-------------------------------------------------------------------------
CPAN: Module::CoreList loaded ok (v5.20160320)
Argument "undef" isn't numeric in printf at /usr/share/perl5/core_perl/App/Cpan.pm line 1293.
JSON::PP::Boolean                         0.0000  2.2730
Argument ".." isn't numeric in printf at /usr/share/perl5/core_perl/App/Cpan.pm line 1293.
Argument "v1.8.11" isn't numeric in printf at /usr/share/perl5/core_perl/App/Cpan.pm line 1293.
SVN::Core                                 0.0000  0.0000

These modules didn't updated at first update.

I tried to install Module-CoreList manually from the website but I don't know if I installed it correctly.

I try to update them again but with no success.
Updates are done with root privileges.

Any idea how to update them?

Last edited by alex.theoto (2016-04-24 09:33:36)

Offline

#2 2016-04-23 21:59:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Perl cpan cannot update some modules. Version error.

Have you read the Arch Perl Policy? https://wiki.archlinux.org/index.php/Perl_Policy

Rather than install manually, you should use a PKGBUILD so all your modules are tracked by pacman. You can find plenty of examples in the AUR.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-04-24 09:24:28

alex.theoto
Member
From: Athens Greece
Registered: 2014-11-30
Posts: 307

Re: [SOLVED] Perl cpan cannot update some modules. Version error.

Sorry, I didn't read it.
So I will not use 'cpan -u' anymore. Only AUR and pacman.

Thank you.

Offline

Board footer

Powered by FluxBB