title: How to install dotnet core sdk in Debian Jessie
body: <p>I'm having issues installing Dotnet Core SDK on my Debian Jessie Box.  This is the guide i've followed <a href="https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x</a>.</p>
  
  <p>After Registering the Product Key and Feed all i get is <code>Unable to locate Package</code> when trying to do an <code>apt-get install dotnet-sdk-2.0.0</code> or <code>dotnet-sdk-2.0.2</code>.  I'm currently logged in as root as this is my local dev machine.</p>
  
  <p><strong>Steps to reproduce:</strong></p>
  
  <pre><code>curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor &gt; microsoft.gpg   
  mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg  
  sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-jessie-prod jessie main" &gt; /etc/apt/sources.list.d/dotnetdev.list'  
  apt-get update  
  apt-get install dotnet-sdk-2.0.0
  </code></pre>
  
  <blockquote>
  <pre><code>Reading package lists... Done   
  Building dependency tree  
  Reading state information... Done
  E: Unable to locate package dotnet-sdk-2.0.0
  E: Couldn't find any package by regex 'dotnet-sdk-2.0.0'
  </code></pre>
  </blockquote>
  
  <p>Where am i going wrong with this?  It's like apt cannot see the microsoft repo for some reason.<br>
  I realize i could just install this from a downloaded tarball and i will do that if necessary but my preference is to use the package manager for easy maintenance.</p>
  
  <p><strong>Here is the output of apt-get update</strong></p>
  
  <blockquote>
  <pre><code>root@myserver:/etc/apt# apt-get update
  Hit https://deb.nodesource.com jessie InRelease
  Hit https://deb.nodesource.com jessie/main Sources
  Hit https://deb.nodesource.com jessie/main i386 Packages
  Get:1 https://packages.microsoft.com jessie InRelease [2,846 B]
  Get:2 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
  Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
  Get:4 https://packages.microsoft.com jessie/main amd64 Packages [6,069 B]
  Get:5 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
  Get:6 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
  Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
  Get:8 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
  Get:9 https://packages.microsoft.com jessie/main Translation-en [178 B]
  Get:10 https://deb.nodesource.com jessie/main Translation-en [162 B]
  Get:11 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
  Get:12 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
  Get:13 https://packages.microsoft.com jessie/main Translation-en [178 B]
  Get:14 https://deb.nodesource.com jessie/main Translation-en [162 B]
  Get:15 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
  Get:16 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
  Ign https://deb.nodesource.com jessie/main Translation-en_US
  Get:17 https://packages.microsoft.com jessie/main Translation-en [178 B]
  Get:18 https://deb.nodesource.com jessie/main Translation-en [162 B]
  Ign https://deb.nodesource.com jessie/main Translation-en
  Get:19 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
  Get:20 https://packages.microsoft.com jessie/main Translation-en [178 B]
  Get:21 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
  Ign https://packages.microsoft.com jessie/main Translation-en_US
  Get:22 https://packages.microsoft.com jessie/main Translation-en [178 B]
  Ign https://packages.microsoft.com jessie/main Translation-en
  Fetched 8,915 B in 1s (5,969 B/s)
  Reading package lists... Done
  </code></pre>
  </blockquote>