From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



为什么我在Linux中安装NI软件时遇到文件冲突错误?



主要软件: LabVIEW Development Systems>>LabVIEW Professional Development System
主要软件版本: N/A
主要软件修正版本: N/A
次要软件: N/A

问题:

我正在一台Linux电脑上安装NI软件,但安装失败并提示如下错误信息:

file /usr/local/natinst conflicts between attempted installs of package "X" and package "Y"

我该如何修复该错误并成功安装?



解答:

We have identified a compatibility issue with certain NI installers when installing on a version of Linux with RPM 4.10 or later. Changes in RPM 4.10 and later have made group permissions checking more strict, and will cause certain NI installers to fail with this error message. If you cannot switch to a supported Linux distribution for your NI software (as defined in the readme), you can use the following steps to force the installation to ignore the permission conflicts:

我们已经发现在Linux RPM 4.10或更后的版本安装某些特定NI软件确实会出现兼容性问题。RPM 4.10系统本身的一些修正导致组权限检查更加严格,这将导致特定的NI安装程序会出现安装失败。如果你不能切换到一个兼容NI软件的Linux平台,你可以使用如下步骤来强制让安装程序忽略权限冲突:

  1. 在文本编辑器中为打开NI软件的INSTALL脚本。 
  2. 下拉直至你看到脚本中的如下字样。

  3. 如下图,加入RPMOpts="--force $RPMOpts" .


  4. 保存并运行经修改过的脚本文件.


相关链接:

附件:





报告日期: 01/29/2014
最近更新: 02/26/2015
文档编号: 6HSE1HSZ