title: Install MSSQL On Ubuntu 16.04
body: <p>I am attempting to install MsSql on Ubuntu 16.04, but when I run <code>sudo apt-get update</code> this error is thrown</p>
  
  <blockquote>
    <p>Malformed line 1 in source list /etc/apt/sources.list.d/mssqlserver-list (type)<br>The list of sources could not be read.</p>
  </blockquote>
  
  <p>If I run the command <code>lsb_release -a</code> I get this output</p>
  
  <blockquote>
    <p>Ubuntu 16.04.4 LTS<br>Xenial</p>
  </blockquote>
  
  <p>And I am attempting to follow this guide - which shows it should work on this version...
  <a href="https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-linux-2017" rel="nofollow noreferrer">SSMS on Ubuntu 16.04</a></p>
  
  <p>What am I missing here?</p>
  
  <p><strong>EDIT</strong><br>
  If I run the command <code>vi /etc/apt/sources.list.d/mssqlserver-list</code></p>
  
  <p>This is what is shown</p>
  
  <pre><code>&lt;html&gt;&lt;br&gt;
  &lt;head&gt;&lt;title&gt;404 Not Found&lt;/title&gt;&lt;/head&gt;
  &lt;br&gt;&lt;body bgcolor="white"&gt;&lt;br&gt;
  &lt;center&gt;&lt;h1&gt;404 Not Found&lt;/h1&gt;&lt;/center&gt;
  &lt;hr&gt;&lt;center&gt;nginx/1.10.3 (Ubuntu)&lt;/center&gt;&lt;br&gt;
  &lt;/body&gt;&lt;br&gt;
  &lt;/html&gt;
  </code></pre>