Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug|Error Request] Process terminated. Couldn't find a valid ICU package #367

Open
memuratozturk opened this issue Oct 2, 2022 · 2 comments
Assignees

Comments

@memuratozturk
Copy link

Process terminated. 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.
at System.Environment.FailFast(System.String)
at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
at System.Globalization.GlobalizationMode..cctor()
at System.Globalization.CultureData.CreateCultureWithInvariantData()
at System.Globalization.CultureData.get_Invariant()
at System.Globalization.CultureInfo..cctor()
at System.String.ToLowerInvariant()
at Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment.GetArch()
at Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment..cctor()
at Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment.GetRuntimeIdentifier()
at Microsoft.DotNet.Cli.MulticoreJitProfilePathCalculator.CalculateProfileRootPath()
at Microsoft.DotNet.Cli.MulticoreJitActivator.StartCliProfileOptimization()
at Microsoft.DotNet.Cli.MulticoreJitActivator.TryActivateMulticoreJit()
at Microsoft.DotNet.Cli.Program.Main(System.String[])
zsh: IOT instruction /home/kali/.dotnet/dotnet run

I tried many times. I have searched and tested a lot on the internet but this error has not been fixed.
I keep getting this error.
Covenant c2 is not working.

@kymb0
Copy link

kymb0 commented Nov 1, 2022

Are you by any chance using a new version of *nix? I am now getting this after spinning up a new kali box 2022.3 (previously on 2021.4a)

EDIT: Confirmed to be resolved for me by downgrading from kali 2022.3 to kali 2022.2
@cobbr @memuratozturk

@0xBrAinsTorM
Copy link

0xBrAinsTorM commented Jan 31, 2023

Ran into the same issue on 2022.4. You can add the following parameter in the config file
/opt/Covenant/Covenant/bin/Debug/netcoreapp3.1/Covenant.runtimeconfig.json:

"System.Globalization.Invariant": true

So it looks like:

 {
   "runtimeOptions": {
     "tfm": "netcoreapp3.1",
     "framework": {
       "name": "Microsoft.AspNetCore.App",
       "version": "3.1.0"
     },
     "configProperties": {
       "System.GC.Server": true,
       "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
       "System.Globalization.Invariant": true
     }
   }
 }

EDIT
You can also add

<InvariantGlobalization>true</InvariantGlobalization>

to the Covenant.csproj file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants