Sorry, you need to enable JavaScript to visit this website.

Error when Trying to install Intel graphics for Ubuntu 16.10

1 post / 0 new
Nasreddine Cheniki's picture
Starter
Nasreddine Cheniki

Dec 01, 2016 - 11:18am

  • I tried to upgrade Intel graphics in ubuntu 16.10 using the official installer. The last stage of unpacking libcairo2 produces an error (see figure).

    https://i.stack.imgur.com/3trDe.png

    When I do upgrade I get the same error also:

    Preparing to unpack .../0-libcairo2_1.15.2-0intel1_amd64.deb ... Unpacking libcairo2:amd64 (1.15.2-0intel1) over (1.15.2-0intel1) ... dpkg: error processing archive /tmp/apt-dpkg-install-aYhdFd/0 libcairo2_1.15.2-0intel1_amd64.deb (--unpack): trying to overwrite shared '/usr/share/doc/libcairo2/changelog.Debian.gz', which is different from other instances of package libcairo2:amd64 Preparing to unpack .../1-libcairo2_1.15.2-0intel1_i386.deb ... Unpacking libcairo2:i386 (1.15.2-0intel1) over (1.15.2-0intel1) ... dpkg: error processing archive /tmp/apt-dpkg-install-aYhdFd/1-libcairo2_1.15.2-0intel1_i386.deb (--unpack): trying to overwrite shared '/usr/share/doc/libcairo2/changelog.Debian.gz', which is different from other instances of package libcairo2:i386 Errors were encountered while processing: /tmp/apt-dpkg-install-aYhdFd/0-libcairo2_1.15.2-0intel1_amd64.deb /tmp/apt-dpkg-install-aYhdFd/1-libcairo2_1.15.2-0intel1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

    Dec 01, 2016 - 11:18am
  • Hi - just got back from a couple of weeks off so ony just saw this - sounds like a multi-arch problem (ie you have both 32 and 64 bit versions of the package installed, but they're clashing) - this _should_ work but requires all the non-binary files in each package to be absolutely identical, which can break sometimes. Can you check that the versions are coming from the same repository? The output of

    diff -u <(apt-cache policy libcairo2:amd64) <(apt-cache policy libcairo2:i386)

    would be helpful here.

    Dec 13, 2016 - 07:33am