Skip to content

Can't locate File/Path.pm in @INC , make provision error  #52

@suchakra012

Description

@suchakra012

Hi,

While running make provision using terraform for deploying cloud foundry (release 210), I am stuck at error:
**Can't locate File/Path.pm in @inc (you may need to install the File::Path module) (@inc contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /u
sr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/bin/deb-systemd-helper line 86.
BEGIN failed--compilation aborted at /usr/bin/deb-systemd-helper line 86.
dpkg: error processing package at (--remove):
subprocess installed post-removal script returned error exit status 2

Errors were encountered while processing:
at
openssh-server
rsyslog**

It seems the perl File::Path module is not able to locate the perl modules. I have checked the provision.sh script, however not able to figure out how can I mitigate this issue. Installing CPAN will do the trick but this script is not using CPAN to install perl modules.

Need help from you guys..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions