<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Ubuntu repository broken"
   href="https://bugs.llvm.org/show_bug.cgi?id=36659">36659</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Ubuntu repository broken
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Packaging
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>deb packages
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>heiccih@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I just added deb <a href="http://apt.llvm.org/xenial/">http://apt.llvm.org/xenial/</a> llvm-toolchain-xenial main to my
sources list and added also the  wget -O -
<a href="https://apt.llvm.org/llvm-snapshot.gpg.key|sudo">https://apt.llvm.org/llvm-snapshot.gpg.key|sudo</a> apt-key add - but after apt
update I get the following error message:

E: Failed to fetch
<a href="http://apt.llvm.org/xenial/dists/llvm-toolchain-xenial/main/binary-amd64/Packages.gz">http://apt.llvm.org/xenial/dists/llvm-toolchain-xenial/main/binary-amd64/Packages.gz</a>
 Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones
used instead.

Once I got the apt-get updated (for some reason it works sometimes) I got the
warning:

W: The repository '<a href="http://apt.llvm.org/xenial">http://apt.llvm.org/xenial</a> llvm-toolchain-xenial Release'
does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore
potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration
details.

Trying to install clang-format-7 after this gives warning:

WARNING: The following packages cannot be authenticated!
  libllvm7 clang-format-7
Install these packages without verification? [y/N] 

Answering yes outputs the following:

Err:1 <a href="http://apt.llvm.org/xenial">http://apt.llvm.org/xenial</a> llvm-toolchain-xenial/main amd64 libllvm7
amd64 1:7~svn325738-1~exp1
  404  Not Found
Err:2 <a href="http://apt.llvm.org/xenial">http://apt.llvm.org/xenial</a> llvm-toolchain-xenial/main amd64
clang-format-7 amd64 1:7~svn325738-1~exp1
  404  Not Found
E: Failed to fetch
<a href="http://apt.llvm.org/xenial/pool/main/l/llvm-toolchain-snapshot/libllvm7_7~svn325738-1~exp1_amd64.deb">http://apt.llvm.org/xenial/pool/main/l/llvm-toolchain-snapshot/libllvm7_7~svn325738-1~exp1_amd64.deb</a>
 404  Not Found

E: Failed to fetch
<a href="http://apt.llvm.org/xenial/pool/main/l/llvm-toolchain-snapshot/clang-format-7_7~svn325738-1~exp1_amd64.deb">http://apt.llvm.org/xenial/pool/main/l/llvm-toolchain-snapshot/clang-format-7_7~svn325738-1~exp1_amd64.deb</a>
 404  Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?

Does not work with update or fix-missing.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>