Runner (v2.303) not working on AmazonLinux2023 due to missing ICU package
See original GitHub issueDescribe the bug The runner cannot be started due to a missing requirement.
Couldn’t find a valid ICU package installed on the system
To Reproduce Steps to reproduce the behavior:
- start a AmazonLinux2023 AMI, for instance ami-00169914e6299b8e0 in eu-west-1
- download and unpack actions-runner-linux-x64-2.303.0.tar.gz
- run after config.sh, run.sh and see error
Expected behavior Running runner
Runner Version and Platform
runner-v2.303 AmazonLinux2023
What’s not working?
./run.sh
Libicu's dependencies is missing for Dotnet Core 6.0
Execute sudo ./bin/installdependencies.sh to install any missing Dotnet Core 6.0 dependencies.
Process terminated. Couldn't find a valid ICU package installed on the system. Please install libicu using your package manager and try again. Alternatively you can set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. Please see https://aka.ms/dotnet-missing-libicu for more information.
at System.Environment.FailFast(System.String)
at System.Globalization.GlobalizationMode+Settings..cctor()
at System.Globalization.CultureData.CreateCultureWithInvariantData()
at System.Globalization.CultureData.get_Invariant()
at System.Globalization.CultureInfo..cctor()
at System.Globalization.CultureInfo.get_CurrentCulture()
at System.Text.RegularExpressions.Regex.Init(System.String, System.Text.RegularExpressions.RegexOptions, System.TimeSpan, System.Globalization.CultureInfo)
at System.Text.RegularExpressions.Regex..ctor(System.String, System.Text.RegularExpressions.RegexOptions, System.TimeSpan, System.Globalization.CultureInfo)
at System.Text.RegularExpressions.Regex..ctor(System.String, System.Text.RegularExpressions.RegexOptions)
at GitHub.Runner.Sdk.RunnerWebProxy..ctor()
at GitHub.Runner.Common.HostContext..ctor(System.String, System.String)
at GitHub.Runner.Listener.Program.Main(System.String[])
/tmp/actions-runner/run-helper.sh: line 36: 2220 Aborted (core dumped) "$DIR"/bin/Runner.Listener run $*
Exiting with unknown error code: 134
Exiting runner...
Issue Analytics
- State:
- Created 6 months ago
- Reactions:2
- Comments:5
Top Results From Across the Web
Process terminated. Couldn't find a valid ICU package ...
I am trying to run a Asp.Net Core 3 application in Ubuntu 19.10 thru terminal using dotnet run command but it does not...
Read more >config
Prevent memory leaks due to use of particular java/javax APIs--> ... pip 10.0.1 from /usr/local/lib/python2.7/site-packages/pip (python 2.7) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @jalbstmeijer,
I faced the same problem today with an amzn2 linux centos rhel fedora and in order to solve it, I just followed what the error message indicates.
I did the .NET installation following this link, I don’t think it’s really necessary but try that too:
Even after installing dotnet I still got the same error.
But I managed to solve it on the spot by installing the libicu package for centOS, so you should follow these steps:
1 - You can check if
libicu
is installed on your operating system:2 - It’s probably not installed so run this command to install
libicu
using yum:3 - After that check again if libicu is installed, you should see something like this:
I also followed this link to install libicu: https://yum-info.contradodigital.com/view-package/base/libicu/
I’ve been configuring self-hosted runners for a long time, and today was the first time I received this error, after a bit of research I was able to finish the runner configuration smoothly.
Hope this helps you too, Regards
Hi @softlberton
Thank you very much for your feedback. I indeed got it to work after installing the libicu package. I suppose this needs to be fixed/added to bin/installdependencies.sh?
This because projects like https://github.com/machulav/ec2-github-runner expect bin/installdependencies.sh to do it all.
Gr, J