Fedora更新系统时Transaction check error解决

来源:互联网 发布:2013office软件下载 编辑:程序博客网 时间:2024/06/09 19:52

Fedora 执行 sudo yum update 或 sudo yum upgrade 更新系统时出现如下错误解决:

错误:Transaction check error:  file /usr/share/doc/libtiff/RELEASE-DATE from install of libtiff-4.0.8-1.fc25.i686 conflicts with file from package libtiff-4.0.7-5.fc25.x86_64  file /usr/share/doc/libtiff/VERSION from install of libtiff-4.0.8-1.fc25.i686 conflicts with file from package libtiff-4.0.7-5.fc25.x86_64  file /usr/share/doc/graphite2/ChangeLog from install of graphite2-1.3.10-1.fc25.i686 conflicts with file from package graphite2-1.3.6-1.fc25.x86_64Error Summary-------------

这里写图片描述

解决方法:
  将发生冲突的rpm包卸载掉即可,具体操作如下:

sudo rpm -e 冲突包名例: sudo rpm -e graphite2-1.3.6-1.fc25.x86_64或者 sudo rpm -e `rpm -qa | grep 包名关键字`例: sudo rpm -e `rpm -qa | grep graphite2`然后重新执行 sudo yum update 或 sudo yum upgrade更新系统即可。
阅读全文
0 0