Can’t install any CPAN module on Raspberry Pi

I just had a hard time about trying to install a CPAN module on my Rasberry.

Network access was ok, but CPAN configuration was full of errors, and even after I manually defined the mirror site to use, here was the error message I got each time I tried to install a module :

I finally found why : The system time was not up to date !

Indeed, Rasberry has no internal clock, so it’s back to 1970′s after each reboot. (you should set a ntp service to fix that)

To fix this, just use the date -s dd/mm/yyyy  command, and all should be ok.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© Crocoware technical blog
CyberChimps