Upgrade Operations

When upgrading Ascend DMI on the Atlas 500 A2 edge station with a preset system, upgrade the tool by referring to Atlas 500 A2 Edge Station Upgrade Guide.

If a .deb package is obtained, the upgrade procedure is similar to the installation procedure. For details, see Installing or Uninstalling the MindCluster ToolBox Package (.deb). If a .run package is obtained, perform the following steps:

  1. Log in to the installation environment as the installation user of the software package.
  2. Go to the directory where the software package is stored.
  3. Grant the execute permission on the software package.
    chmod u+x Ascend-mindx-toolbox_{version}_linux-{arch}.run
  4. Run the following command to check the consistency and integrity of the software package installation file:
    ./Ascend-mindx-toolbox_{version}_linux-{arch}.run --check

    If the system does not have the shasum or sha256sum tool, the verification fails.

    If the following information is displayed, the software package meets the consistency and integrity requirements:

    Verifying archive integrity...  100%   SHA256 checksums are OK. All good.  
  5. Upgrade the software.
    ./Ascend-mindx-toolbox_{version}_linux-{arch}.run --upgrade

    If you want to upgrade the software package on the premise that Huawei Enterprise End User License Agreement (EULA) is signed by default, add --quiet to the upgrade command. For example, if you add this parameter to the end of ./Software_package_name.run --upgrade, step 6 will be skipped.

  6. Sign Huawei Enterprise End User License Agreement (EULA) to proceed to the installation process. Enter y or Y to confirm the agreement, and enter any other character to reject the agreement. After you accept the agreement, the upgrade starts.
    If the current language environment does not meet the requirements, run the following command to configure the default language environment:
    # Set the language to Chinese (simplified).
    export LANG=zh_CN.UTF-8
    # Set the language to English.
    export LANG=en_US.UTF-8