<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 - libllvm5.0:amd64 changelog file conflicts with libllvm5.0:i386"
   href="https://bugs.llvm.org/show_bug.cgi?id=35775">35775</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libllvm5.0:amd64 changelog file conflicts with libllvm5.0:i386
          </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>abolte@systemsaviour.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On a Debian Stretch multiarch system with both i386 and amd64
llvm-toolchain-stretch-5.0 packages installed, upgrading now gives the
following error:

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libllvm5.0 libllvm5.0:i386
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.5 MB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
(Reading database ... 739971 files and directories currently installed.)
Preparing to unpack .../libllvm5.0_1%3a5.0.1~svn319952-1~exp1_amd64.deb ...
Unpacking libllvm5.0:amd64 (1:5.0.1~svn319952-1~exp1) over
(1:5.0.1~svn319952-1~exp1) ...
dpkg: error processing archive
/var/cache/apt/archives/libllvm5.0_1%3a5.0.1~svn319952-1~exp1_amd64.deb
(--unpack):
 trying to overwrite shared '/usr/share/doc/libllvm5.0/changelog.Debian.gz',
which is different from other instances of package libllvm5.0:amd64
Preparing to unpack .../libllvm5.0_1%3a5.0.1~svn319952-1~exp1_i386.deb ...
Unpacking libllvm5.0:i386 (1:5.0.1~svn319952-1~exp1) over
(1:5.0.1~svn319952-1~exp1) ...
dpkg: error processing archive
/var/cache/apt/archives/libllvm5.0_1%3a5.0.1~svn319952-1~exp1_i386.deb
(--unpack):
 trying to overwrite shared '/usr/share/doc/libllvm5.0/changelog.Debian.gz',
which is different from other instances of package libllvm5.0:i386
Errors were encountered while processing:
 /var/cache/apt/archives/libllvm5.0_1%3a5.0.1~svn319952-1~exp1_amd64.deb
 /var/cache/apt/archives/libllvm5.0_1%3a5.0.1~svn319952-1~exp1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$</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>