title: Cannot install .Net Core 2.2 on UBuntu 18.04
body: <p>I was trying to deploy an <code>ASP.NET Core 2.2</code> application to a <code>DigitalOcean</code> droplet running <code>Ubuntu 18.04</code>. I followed the steps provided on the <a href="https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-current." rel="nofollow noreferrer">official documentation</a>.</p>
  <p>But I am getting the error.</p>
  <pre><code>Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
   dotnet-sdk-2.2 : Depends: aspnetcore-runtime-2.2 (&gt;= 2.2.0) but it is not going to be installed
                    Depends: dotnet-runtime-2.2 (&gt;= 2.2.0) but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.
  
    
  </code></pre>
  <p>Any help? I tried to get help from other forums and SO answer still no luck.</p>