Restoring a Dependency Dictionary
A dependency dictionary is provided in the tool. If the dependency dictionary is changed (for example, upgraded), you can restore it to the original version when needed.
Prerequisites
You have logged in to the Kunpeng DevKit.
- Only the administrator devadmin can restore the dependency dictionary.
- The dependency dictionary cannot be decrypted without the OpenSSL component on the OS. Ensure that the OpenSSL version in the current environment is 1.0.2k or later.
- The dependency dictionary cannot be restored when a task is ongoing.
Procedure
- Click
in the upper right corner. In the navigation tree on the left, choose Tool Settings > Porting Advisor. The Dependency Dictionary Management page is displayed by default. - Click Restore on the right of the selected dependency dictionary. See Figure 1.
- Enter the administrator password and click OK.
The restoration progress dialog box is displayed. After the restoration is complete, check the dependency dictionary in the /opt/DevKit/config/dependency_dictionary directory.
- Do not close the current page during the restoration process.
- If the restoration fails, rectify the fault based on the error message displayed or by referring to the FAQs in the user guide. For details about the fault information, check the /opt/DevKit/logs/porting/porting.log file.
- /opt is the tool installation directory. Replace it with the actual directory.
Parent topic: Dependency Dictionary Management
