Topic: Setting up a mirror on Ubuntu 12.04 - some issues
So I thought I would have a go at setting up a mirror on a slim install of 12.04. This particular install is used as a downloader, running Sickbeard, headphones etc. Very typical. But seeing some perl issues that I'm pretty sure are simple ... Basically, the "carton install --deployment" pass does not seem to see existing modules already installed. Carton was installed with
sudo cpan Carton
and choosing "sudo" as the method
As an example, I've installed Try::Tiny directly, with
sudo apt-get install libtry-tiny-perl
which installs version 0.11-1. Yet the "carton install --deployment" insists on installing it's own. They're exactly the same ...
:/usr/local/musicbrainz-server$ l local/lib/perl5/Try/Tiny.pm /usr/share/perl5/Try/Tiny.pm
-r--r--r-- 1 downloads downloads 15252 Aug 30 2011 local/lib/perl5/Try/Tiny.pm
-rw-r--r-- 1 root root 15252 Aug 30 2011 /usr/share/perl5/Try/Tiny.pm
:/usr/local/musicbrainz-server$ md5sum local/lib/perl5/Try/Tiny.pm /usr/share/perl5/Try/Tiny.pm
9953b73a1b55deebc51ecbb424930671 local/lib/perl5/Try/Tiny.pm
9953b73a1b55deebc51ecbb424930671 /usr/share/perl5/Try/Tiny.pm
It would be much nicer to use actual ubuntu/debian packages - 90% of them are there, so will be updated and maintained normally rather than pulling them in with cpan. Plus a lot of them are in use elsewhere.
The other issue is that a bunch of the modules just don't install with "carton install --deployment" ... Here's the list of misses from the last run through :
! Couldn't find module or a distribution ExtUtils::MakeMaker (6.59)
! Bailing out the installation for Catalyst-Runtime-5.90015. Retry with --prompt or --force.
! Bailing out the installation for Catalyst-Plugin-AutoRestart-0.96. Retry with --prompt or --force.
! Couldn't find module or a distribution Carp (1.22)
! Bailing out the installation for Test-Warn-0.24. Retry with --prompt or --force.
! Bailing out the installation for Test-Most-0.25. Retry with --prompt or --force.
! Bailing out the installation for Test-Aggregate-0.364. Retry with --prompt or --force.
! Couldn't find module or a distribution Test::WWW::Mechanize::CGI (0)
! Bailing out the installation for REST-Utils-0.6. Retry with --prompt or --force.
! Couldn't find module or a distribution IO::Socket::SSL (0)
! Bailing out the installation for SOAP-Lite-0.714. Retry with --prompt or --force.
! Couldn't find module or a distribution B::Compiling (0)
! Bailing out the installation for Function-Parameters-0.04. Retry with --prompt or --force.
Any ideas ?