【问题标题】:google-earth-stable-7.1.2.2041-0.x86_64 conflicts with file from package filesystem-3.2-13.fc19.x86_64google-earth-stable-7.1.2.2041-0.x86_64 与包 filesystem-3.2-13.fc19.x86_64 中的文件冲突
【发布时间】:2013-11-15 09:33:19
【问题描述】:

我已经下载了 Google 地球并尝试在 Fedora 19 上安装它。我收到了错误

google-earth-stable-7.1.2.2041-0.x86_64 与包 filesystem-3.2-13.fc19.x86_64 中的文件冲突

【问题讨论】:

  • 与编程无关。更适合superuser.com。
  • 好的,谢谢@Victor Stanciu
  • 我会说谷歌地球与编程相关:developers.google.com/earth/documentation
  • 此外,Lieuwe 的解决方案有点编程相关!

标签: linux fedora google-earth


【解决方案1】:

不太确定这是否需要回答,但我想这个问题还没有结束。

问题在于 rpm 包含 /usr/bin/ 的“安装”,这当然是无稽之谈。要解决这个问题:

  • 确保您有 rpmrebuild
  • 运行(例如在我的情况下)rpmrebuild -ep /home/geek/Downloads/google-earth-stable_current_x86_64.rpm
  • 向下滚动并删除行:%dir %attr(0755, root, root) "/usr/bin"
  • 保存/退出编辑器 .. 过了一会儿,您会看到 rpmrebuild 退出,说:结果:/root/rpmbuild/RPMS/x86_64/google-earth-stable-7.1.2.2041-0.x86_64.rpm
  • 安装该 rpm 并完成

【讨论】:

    【解决方案2】:

    我不知道这是否可以解决您的问题,但我遇到了同样的问题,我想解决这个问题...

    来源:

    www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-rpm-using.html

    10.2.2.2。冲突文件

    如果您尝试安装包含已由另一个软件包安装的文件的软件包,则会显示以下内容:

    准备中... ########################################## [100%]
    来自安装 foo-1.0-1 的文件 /usr/bin/foo 与来自包 bar-2.0.20 的文件冲突

    要使 RPM 忽略此错误,请使用 --replacefiles 选项:

     rpm -ivh --replacefiles foo-1.0-1.i386.rpm
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-03-14
      • 2021-06-14
      • 2017-07-20
      • 1970-01-01
      • 2016-01-14
      • 2018-08-21
      相关资源
      最近更新 更多