Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:configurations:upgrade-system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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://dl.khadas.com/Firmware/|here]] for official images.
 +</WRAP>
 +
 +===== 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:~$ sudo apt update
 +Ign:1 https://dl.khadas.com/repos/vim3 focal InRelease
 +Hit:2 http://ports.ubuntu.com focal InRelease
 +Hit:3 http://ports.ubuntu.com focal-security InRelease
 +Hit:4 http://ports.ubuntu.com focal-updates InRelease
 +Hit:5 http://ports.ubuntu.com focal-backports InRelease
 +Err:6 https://dl.khadas.com/repos/vim3 focal Release
 +  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 135.181.182.36 443]
 +Reading package lists... Done
 +E: The repository 'https://dl.khadas.com/repos/vim3 focal Release' does not have a Release file.
 +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 's/https/http/g' /etc/apt/sources.list.d/fenix.list
 +sudo apt update
 +sudo apt full-upgrade
 +sudo do-fenix-full-upgrade
 +sync
 +sudo reboot
 +```
Last modified: 2022/07/04 22:24 by nick