<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 - LLVM repo signature is probably broken"
   href="https://bugs.llvm.org/show_bug.cgi?id=34964">34964</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLVM repo signature is probably 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>release blocker
          </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>mazay0@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I tried to install clang on Debian Jessie following instructions from here:
<a href="http://apt.llvm.org/">http://apt.llvm.org/</a>
But when I tried to do apt-get update I got the following error:


    W: Failed to fetch
<a href="http://apt.llvm.org/jessie/dists/llvm-toolchain-jessie/main/binary-amd64/Packages">http://apt.llvm.org/jessie/dists/llvm-toolchain-jessie/main/binary-amd64/Packages</a>
 Hash Sum mismatch

    E: Some index files failed to download. They have been ignored, or old ones
used instead.


The issue is somehow connected with GPG key because if I remove the key

    apt-key del 15CF4D18AF4F7421

everything works fine (of course the  Warning about unsigned packages appears).

I added the key with the following command:

    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 -


 Here is the output of "apt-key list":

    /etc/apt/trusted.gpg
    --------------------
    pub   4096R/AF4F7421 2013-03-11
    uid                  Sylvestre Ledru - Debian LLVM packages
<<a href="mailto:sylvestre@debian.org">sylvestre@debian.org</a>>
    sub   4096R/AF9463CE 2013-03-11


Bug reproduced on docker image debian:jessie</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>