Difference between revisions of "PinePhone Updating Instructions"

From PINE64
Jump to navigation Jump to search
m
m (Added update of pacman mirrors)
Line 22: Line 22:
(--cache-dir can be used for a separate download location, otherwise consider reading https://wiki.archlinux.org/index.php/Pacman#Configuration for further optimization)
(--cache-dir can be used for a separate download location, otherwise consider reading https://wiki.archlinux.org/index.php/Pacman#Configuration for further optimization)


If you encounter any errors during the update, you may have to update the Pacman mirrors as follows:
  $ sudo pacman-mirrors -f


Please add the information
Please add the information


[[Category:PinePhone]]
[[Category:PinePhone]]

Revision as of 14:39, 18 February 2021

Mobian

There is no need to regularly flash the newest images to your phone. You can use the pre-installed program "Software" or because Mobian is based on Debian you can open a terminal and use apt to keep the system updated. The following command will check for updates and install them:

 $ sudo apt-get update && sudo apt-get upgrade

If some packages were held back, you can update them with:

 $ sudo apt-get dist-upgrade

If the update included changes related to the bootloader (e.g. a new kernel) run the following command:

 $ sudo u-boot-install-pinephone

Other OSs

Manjaro, or other Arch Linux based OSs

To first download all new package's

 $ sudo pacman -Suuyyw

and do the same without the 'w' to apply new package's

 $ sudo pacman -Suy 

(--cache-dir can be used for a separate download location, otherwise consider reading https://wiki.archlinux.org/index.php/Pacman#Configuration for further optimization)

If you encounter any errors during the update, you may have to update the Pacman mirrors as follows:

 $ sudo pacman-mirrors -f

Please add the information