This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:common:configurations:upgrade-system [2022/07/04 22:24] nick created |
products:sbc:common:configurations:upgrade-system [2022/11/18 01:40] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Upgrade System ====== | ====== Upgrade System ====== | ||
| + | ===== Introduction ===== | ||
| + | |||
| + | This page leads you to upgrade Ubuntu system to the latest version. | ||
| + | |||
| + | <WRAP alert > | ||
| + | This guide only applies to officially released Ubuntu images, check [[https:// | ||
| + | </ | ||
| + | |||
| + | ===== Upgrade ===== | ||
| + | |||
| + | ```shell | ||
| + | sudo apt update | ||
| + | sudo apt full-upgrade | ||
| + | sudo do-fenix-full-upgrade | ||
| + | sync | ||
| + | sudo reboot | ||
| + | ``` | ||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | |||
| + | If you encounter the following errors: | ||
| + | |||
| + | ```shell | ||
| + | khadas@Khadas: | ||
| + | Ign:1 https:// | ||
| + | Hit:2 http:// | ||
| + | Hit:3 http:// | ||
| + | Hit:4 http:// | ||
| + | Hit:5 http:// | ||
| + | Err:6 https:// | ||
| + | Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. | ||
| + | Reading package lists... Done | ||
| + | E: The repository ' | ||
| + | N: Updating from such a repository can't be done securely, and is therefore disabled by default. | ||
| + | N: See apt-secure(8) manpage for repository creation and user configuration details. | ||
| + | ``` | ||
| + | |||
| + | Follow these instructions to fix it: | ||
| + | |||
| + | ```shell | ||
| + | sudo sed -i ' | ||
| + | sudo apt update | ||
| + | sudo apt full-upgrade | ||
| + | sudo do-fenix-full-upgrade | ||
| + | sync | ||
| + | sudo reboot | ||
| + | ``` | ||