英特尔显卡 - libcairo2 软件包冲突

英特尔显卡 - libcairo2 软件包冲突

尝试使用适用于 Linux 操作系统的英特尔图形更新工具进行安装后,dpkg无法升级libcairo2libcairo2:i386有没有什么修复方法?

The following packages will be upgraded:
  libcairo2 libcairo2:i386
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1.193 kB of archives.
After this operation, 4.096 B of additional disk space will be used.
Do you want to continue? [J/n] 
(Reading database ... 342251 files and directories currently installed.)
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-9ZMnio/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-9ZMnio/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-9ZMnio/0-libcairo2_1.15.2-0intel1_amd64.deb
 /tmp/apt-dpkg-install-9ZMnio/1-libcairo2_1.15.2-0intel1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

备份相关文件:

sudo mv /usr/share/doc/libcairo2/changelog.Debian.gz /usr/share/doc/libcairo2/changelog.Debian.gz.backup

然后重新运行更新。请参见这里更多细节。

相关内容