我要评分
获取效率
正确性
完整性
易理解

The Kunpeng DevKit Installation Environment Fails the Check and Dependency Packages Are Not Found

Symptom

The Kunpeng DevKit installation environment fails the check, and the following error information is displayed:

Possible Causes

The su and sudo commands do not meet the s permission requirements.

Troubleshooting Procedure

  1. Modify the permissions of su and sudo as prompted.
    1
    2
    chmod u+s /usr/bin/su
    chmod u+s /usr/bin/sudo
    
  2. After the modification is complete, check whether the s permission is granted.
    1
    ll /usr/bin/su;ll /usr/bin/sudo
    

    The following information is displayed, indicating that the s permission has been granted.

    1
    2
    -rwsr-xr-x. 1 root root 131K Dec 21  2020 /usr/bin/su
    ---s--x--x. 1 root root 199K Dec 21  2020 /usr/bin/sudo