Upgrade Failure on Ubuntu
Symptom
Versions later than V2.2.T3 fail to be upgraded on Ubuntu.
Possible Cause
The upgrade script Upgrade does not contain the HOME=/root environment variable.
Troubleshooting Procedure
- Run the following command to go to the directory where the new System Profiler installation package is stored. (Replace /home with the actual directory.)
cd /home
- Decompress the installation package. In the command, x.x.x indicates the version.
tar -zxvf Hyper-Tuner-x.x.x.tar.gz
- Go to the directory where the decompressed installation package is stored.
cd Hyper_tuner
- Decompress the software package again. (Replace x.x.x with the actual version.)
tar -zxvf Hyper-Tuner-x.x.x.tar.gz
- Go to the directory where the decompressed installation package is stored.
cd Hyper_tuner
- Obtain the upgrade entry in the new software package.
cp –rf ./Upgrade /opt/hyper_tuner
- Go to the installation directory of the System Profiler of the old version. (/opt/hyper_tuner is the installation directory of the old version. Replace it with the actual directory.)
cd /opt/hyper_tuner
- Upgrade the tool. (Replace /home with the actual directory.)
./Upgrade upgrade /home/Hyper_tuner/Hyper-Tuner-x.x.x.tar.gz
Parent topic: FAQs