Skip to content

"Couldn't find module or a distribution Pinto" #249

@lsiden

Description

@lsiden

When I attempt to run the install script downloaded from http://getpinto.stratopan.com it fails with the message "Couldn't find module or a distribution Pinto".

Steps:

  • curl -L http://getpinto.stratopan.com >install_pinto.sh
  • I edited install_into.sh so that "curl --quiet" becomes "curl -k" (ignore certificate).
  • bash -x install_pinto.sh

Output is

set -ue
+ PINTO_REPO_URL=https://www.stratopan.com/thaljef/OpenSource/pinto-release
+ PINTO_HOME=/var/pinto
+ '[' -z ']'
+ type curl
+ PINTO_INSTALLER_AGENT=curl
+ PINTO_CPANM_URL=https://raw.githubusercontent.com/thaljef/Pinto/master/etc/cpanm
+ PINTO_SBIN=/var/pinto/sbin
+ PINTO_CPANM_EXE=/var/pinto/sbin/cpanm
+ mkdir -p /var/pinto/sbin
+ '[' curl = curl ']'
+ curl -k --show-error --location https://raw.githubusercontent.com/thaljef/Pinto/master/etc/cpanm
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100  294k  100  294k    0     0   503k      0 --:--:-- --:--:-- --:--:--  502k
+ chmod 755 /var/pinto/sbin/cpanm
+ echo 'Installing pinto into /var/pinto'
Installing pinto into /var/pinto
+ export PERL_USE_UNSAFE_INC=1
+ PERL_USE_UNSAFE_INC=1
+ /var/pinto/sbin/cpanm --notest --quiet --mirror https://www.stratopan.com/thaljef/OpenSource/pinto-release --mirror-only --local-lib-contained /var/pinto --man-pages Pinto
! Couldn't find module or a distribution Pinto

I checked https://www.stratopan.com/thaljef/OpenSource/pinto-release and Pinto is indeed present.

I also tried to install Pinto directly from CPAN using Perl 5.28.0 and 5.26.1, but that fails in one of the tests (I believe in t/02-bowels/41-log.t).

Please advise which way you recommend that I proceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions