title: apt in Linux Subsystem for Windows 10 is failing with 404 Not Found
body: <p>OK, so this is my first SO question so I'm gonna try my best to lay this out.</p>
  
  <p>I have a Windows 10 laptop on which I am trying to install <code>gcc</code>. I have in the past tried alternatives such as netbeans, cygwin and various emulators and virtual machines all to no avail.</p>
  
  <p>What has been working so far is that I enabled the 'new' windows developer mode which allowed me to download a Linux bash shell from the windows store. It works for all the regular Linux commands, but doesn't have gcc installed. </p>
  
  <p>When I type in <code>gcc</code> (or <code>gcc --version</code>) in the shell, it prints the following line:</p>
  
  <blockquote>
    <p>The program 'gcc' is currently not installed. You can install it by typing:
    sudo apt install gcc</p>
  </blockquote>
  
  <p>Which I tried, it then ran through a bunch of installer stuff but consistently seemed to run into errors such as the following:</p>
  
  <blockquote>
    <p>Err:7 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer">http://archive.ubuntu.com/ubuntu</a> xenial-updates/main amd64 libdpkg- >perl all 1.18.4ubuntu1.2</p>
    
    <p>404  Not Found [IP: <strong>INSERT IP ADDRESS HERE</strong> ]</p>
  </blockquote>
  
  <p>where the ip address is different on each error line.</p>
  
  <p>It ultimately fails with the following line:</p>
  
  <blockquote>
    <p>Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?</p>
  </blockquote>
  
  <p>I have tried but again I get the same kinds of errors as above. </p>
  
  <p>I would really like to get <code>gcc</code> working in the Windows/Linux shell as it is working great for everything else, and I'm trying to keep the number of programs on my computer to a minimum. </p>
  
  <p>Does anyone know why this isn't working, or how (if possible) I can make it work?</p>
  
  <p>P.S I do need it to be <code>gcc</code> because of school reasons</p>