Skip to content
Advertisement

Upgrade .Net Core 1.0 to 2.0 Ubuntu 16.10

I’m trying to upgrade the .net core version from 1.0 to 2.0 but I’m getting some errors. I’m not good at Linux, so I don’t understand well what’s happening.

I run:

JavaScript

And I get this error:

JavaScript

So, I try to install dotnet-runtime-2.0.5 and I get this

JavaScript

After this, I try to install libicu55 but I already have installed libicu57. I don’t know what to do.

JavaScript

Do you have any ideas?

Advertisement

Answer

So a clean install of Ubuntu 16.04 it was … there’s a catch though, you can choose between LTS (Long Term Support) or not. I chose not to since It’s a VM and I don’t mind newer updates, etc… Turns out that was a bad idea with .NET Core installs! It would seem that once the non LTS is installed you end up with 16.10 which has installed some newer versions of required libraries, namely something called libicu which is now on 57 instead of a required 55.

Source: https://shazwazza.com/post/installing-net-core-101-on-ubuntu-1610/

Try installing the libicu55 manually on your machine (it should run side by side with the newer version on your machine):

  1. Download the file from here: http://packages.ubuntu.com/en/xenial/amd64/libicu55/download
  2. Install it using: sudo dpkg –i libicu55_55.1-7_amd64.deb
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement