Couldn't find a valid ICU package

Hello when installing application to Linux target I get the following exception. I assumed that Calamari is a self contained .NET core application but apparently it is missing some components for globalization. Please advise. I was using SSH type of connection.

FailFast:
February 18th 2020 10:11:02Error
Couldn’t find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
February 18th 2020 10:11:02Error
at System.Environment.FailFast(System.String)
February 18th 2020 10:11:02Error
at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
February 18th 2020 10:11:02Error
at System.Globalization.GlobalizationMode…cctor()
February 18th 2020 10:11:02Error
at System.Globalization.CultureData.CreateCultureWithInvariantData()
February 18th 2020 10:11:02Error
at System.Globalization.CultureData.get_Invariant()
February 18th 2020 10:11:02Error
at System.Globalization.CultureInfo…cctor()
February 18th 2020 10:11:02Error
at System.StringComparer…cctor()
February 18th 2020 10:11:02Error
at System.AppDomain.InitializeCompatibilityFlags()
February 18th 2020 10:11:02Error
at System.AppDomain.Setup(System.Object)
February 18th 2020 10:11:02Error
/home/ec2-user/.octopus/OctopusServer/Work/20200218071053-109622-5540/command.sh: line 16: 11164 Aborted “$HOME/.octopus/OctopusServer/Calamari/linux-x64/6.0.0/Calamari” run-script -sensitiveVariables “$HOME/.octopus/OctopusServer/Work/20200218071053-109622-5540/Variables.secret” -sensitiveVariablesPassword=$1
February 18th 2020 10:11:03Fatal
The remote script failed with exit code 134
February 18th 2020 10:11:03Fatal
The action Deploy to Kubernetes Cluster on helm-builder-eu@AWS failed

Hi @113,

Thanks for getting in touch!

When deploying to Linux there are some additional dependencies that are required. These are listed here: https://octopus.com/docs/infrastructure/deployment-targets/linux/requirements#self-contained.net-core-dependencies

Long term, we are looking at making these dependencies part of the install, but for now, you will need to install them manually on any SSH targets.

I hope this helps, please let me know if you have any further questions.

Best regards,
Paul

1 Like

Thank you!

1 Like