Issue with VSTS Agent on Ubuntu – Failed to initialize CoreCLR, HRESULT: 0x80131500

So today I was installing an VSTS agent on Ubuntu and I got the following error message ;

Failed to initialize CoreCLR, HRESULT: 0x80131500

I received this error message when trying to run the “config.sh” command ;

2016-12-10-19_22_52-kvaesxdevops-build02_-_tmp_vsts-agent

So how to fix this? Apparently the agent has a hard dependency towards “libicu52”.  By default my system (ubuntu 16.04 LTS) had libicu55 on it. You can find the “old” package on the following location. And install it?

wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.5_amd64.deb

sudo dpkg -i libicu52_52.1-3ubuntu0.5_amd64.deb

And that did the trick!

2016-12-10-19_23_01-kvaesxdevops-build02_-_tmp_vsts-agent

Have fun with your Linux CI/CD pipelines now! 😀

Advertisements

5 thoughts on “Issue with VSTS Agent on Ubuntu – Failed to initialize CoreCLR, HRESULT: 0x80131500

  1. Thanks man. This solved my issue. There was one difference thought – rather than using libicu52_52.1-3ubuntu0.4_amd64.deb, I had to use libicu52_52.1-3ubuntu0.5_amd64.deb since the former was not available.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s