tag:help.appveyor.com,2012-11-13:/discussions/problems/18083-net-core-sdk-21403-disappeared-from-ubuntu-imageAppVeyor: Discussion 2018-11-19T08:34:26Ztag:help.appveyor.com,2012-11-13:Comment/465083372018-11-16T15:11:19Z2018-11-16T15:11:19Z.NET Core SDK 2.1.403 disappeared from Ubuntu image<div><p>The reason here is that Microsoft replaced 2.1.403 with 2.1.500. Let me try to explain how Microsoft versioning SDKs now.<br>
Each time we update ubuntu images we install all software from scratch. We install .NET SDKs from official Microsoft's repository which you can browse here <a href="https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/d/">https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/d/</a>. If you run <code>apt-cache search dotnet-sdk-*</code> on any ubuntu host you will see a pretty much same list of SDKs.<br>
As you may see a version is a part of deb package name.<br>
After releasing .NET SDK 2.1.300 RC1 as <code>dotnet-sdk-2.1.300-rc1...</code> deb package in May 2018 Microsoft decided to remove minor version from package name and released .NET SDK 2.1.300 as <code>dotnet-sdk-2.1</code> deb package. All next versions released with this package name.<br>
So now there is a bunch of versions under <code>dotnet-sdk-2.1</code> name <a href="https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/d/dotnet-sdk-2.1/">https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/d/dotnet...</a><br>
or you can get the same list with <code>apt-cache show dotnet-sdk-2.1</code> command.<br>
<code>apt</code> consider it all as different versions of the same package. <code>apt</code> does now allow to install multiple versions of the same package co-exist on the same system. Thus you may get installed either 2.1.400 or 2.1.500 on the system.</p>
<p>if it is crucial for you to run your builds with .NET SDK 2.1.400 you may use <code>previous ubuntu</code> image.</p></div>Wasa Pleshakovtag:help.appveyor.com,2012-11-13:Comment/465083372018-11-19T07:54:08Z2018-11-19T07:54:08Z.NET Core SDK 2.1.403 disappeared from Ubuntu image<div><p>Thanks for a very detailed answer, Wasa! I wasn't aware of those changes and now I understand exactly how to go about and resolve my issue.</p>
<p>Thanks again and keep up the splendid work!</p></div>azizatif+appveyortag:help.appveyor.com,2012-11-13:Comment/465083372018-11-19T08:34:22Z2018-11-19T08:34:22Z.NET Core SDK 2.1.403 disappeared from Ubuntu image<div><p>Just in case someone else coming looking for a solution, here's what I ended up adding to the <code>install</code> section of my <code>appveyor.yml</code>:</p>
<pre>
<code>apt-get install -y --allow-downgrades dotnet-sdk-2.1=2.1.403-1</code>
</pre></div>azizatif+appveyor