Azure-devops-docs: RHEL Couldn't find a valid ICU package installed on the system

Created on 25 Apr 2019  Â·  6Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

I am currently trying to install a devops agent on RHEL via custom script extension on an ARM template. I recive the following error when trying to configure the agent.

"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."

How can I solve this problem? I get the same error when trying to deploy the agent manually on a RHEL vm.


Dokumentdetails

⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

Pri1 cba devops-cictech devopprod doc-bug support-request

All 6 comments

I created a RHEL 7 agent on a VM and one in a Container by using the generic Linux x64 download with RH Git 2.18 and have had no issues. I would recommend this route instead of the packaged RHEL 6 download.

I was facing the same issue.
In case you are using RHEL 6 then it is recommended that you use, "rhel.6-x64" agent package.
This will need the following dependencies installed.
sudo yum -y install libunwind.x86_64 libcurl-devel.x86_64 openssl-devel.x86_64
Also, As referenced - https://github.com/dotnet/core/issues/2186
Add the configuration in the runtimeOptions.
{
    "runtimeOptions": {
        "configProperties": {
            "System.Globalization.Invariant": true
        },
    }
}

runtimeOptions

Hi, Please, can you tell me where I add that configuration

Inside ./azure-functions-cli/func.runtimeconfig.json, you need to put
{
"runtimeOptions": {
"configProperties":{
"System.Globalization.Invariant": true
}
}
}

I tried to create this azure-functions-cli folder inside the agent directory and inside bin but that didn't help. Where exactly is your "." path?

@Lycrosa -- you may find answers here:

I am closing this issue now. You are welcome to @ mention me for any followup.
We hope to hear from you again.

My apologies for the delay in responding.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anlatsko picture anlatsko  Â·  3Comments

adnanebrahimi picture adnanebrahimi  Â·  3Comments

cijujoseph picture cijujoseph  Â·  3Comments

o-o00o-o picture o-o00o-o  Â·  3Comments

csutorasr picture csutorasr  Â·  3Comments