title: Composer not updating all of a sudden
body: <p>The only thing I remember doing different was canceling a <code>composer update</code> command before it started updating any dependencies.</p>
  
  <p>I get this error if I try <code>composer self-update</code>:</p>
  
  <pre><code>[Composer\Downloader\TransportException]
  The "https://getcomposer.org/versions" file could not be downloaded:
  php_network_getaddresses: getaddrinfo failed: Name or service not known
  failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or
  service not known
  </code></pre>
  
  <p>I'm guessing it's an issue with composer itself.</p>
  
  <p>EDIT: <code>composer diag</code> fails on 3 things: http connectivity to packagist, github.com oauth access, and checking composer version.</p>