cann软件包安装的时候提示:usergroup=root not right! Please check the relatianship of hry and root
收藏回复举报
cann软件包安装的时候提示:usergroup=root not right! Please check the relatianship of hry and root
发表于2024-07-15 14:14:49
0 查看

问题描述 

安装run包失败,日志中报错“usergroup=root not right!”。 

 

报错信息

  [ERROR]: usergroup=root not right! Please check the relatianship of hry and root 

可能原因 

使用非root用户登录环境,切换至root用户执行安装操作时,切换后系统环境变量USER值仍为登录环境的非root用户。 

 

解决措施 

执行如下命令,手动将USER环境变量设置为实际执行安装的用户后,再进行安装: 

 

export USER=root 

参考链接:https://www.hiascend.com/document/detail/zh/canncommercial/80RC1/softwareinst/instg/instg_0143.html 

本帖最后由 匿名用户2024/07/15 14:15:52 编辑

我要发帖子