title: Getting an error when installing the .Net 5 Runtime on Armbian (on an Orange Pi Zero)
body: <p>I'm trying to install the .Net 5 Runtime on Armbian Focal (Ubuntu 20.04) or Buster (Debian 10), running on an Orange Pi Zero.</p>
  <p>So I followed Microsoft's instructions here:</p>
  <p><a href="https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu</a></p>
  <p>but on the last step:</p>
  <pre><code>sudo apt-get install -y aspnetcore-runtime-5.0
  </code></pre>
  <p>I get this error:</p>
  <pre><code>E: Unable to locate package aspnetcore-runtime-5.0
  E: Couldn't find any package by glob 'aspnetcore-runtime-5.0'
  E: Couldn't find any package by regex 'aspnetcore-runtime-5.0'
  </code></pre>
  <p>I then followed Microsoft's suggestion for installing it manually from here:</p>
  <p><a href="https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#apt-troubleshooting" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#apt-troubleshooting</a></p>
  <p>But on the last step, again I get the same error.
  Any ideas?</p>
  <p>In summary, these are the steps I tried first:</p>
  <pre><code>wget https://packages.microsoft.com/config/ubuntu/20.10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
  sudo dpkg -i packages-microsoft-prod.deb
  sudo apt-get update; \
    sudo apt-get install -y apt-transport-https &amp;&amp; \
    sudo apt-get update &amp;&amp; \
    sudo apt-get install -y aspnetcore-runtime-5.0
  </code></pre>
  <p>and these are the steps I tried when the above failed:</p>
  <pre><code>sudo dpkg --purge packages-microsoft-prod &amp;&amp; sudo dpkg -i packages-microsoft-prod.deb
  sudo apt-get update
  sudo apt-get install -y gpg
  wget -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o microsoft.asc.gpg
  sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
  wget https://packages.microsoft.com/config/ubuntu/{os-version}/prod.list
  sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
  sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
  sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
  sudo apt-get update; \
    sudo apt-get install -y apt-transport-https &amp;&amp; \
    sudo apt-get update &amp;&amp; \
    sudo apt-get install -y aspnetcore-runtime-5.0
  </code></pre>
  <p><strong>EDIT:</strong></p>
  <p><em>I've previously installed the .Net Core 3.1 Runtime on this exact same setup without any issues. I'm not sure if there is something in .Net 5 that is different which won't allow me to install it</em></p>