Difference between revisions of "PinePhone Updating Instructions"

From PINE64
Jump to navigation Jump to search
(Created the page and added information on how to keep Mobian updated)
 
(→‎Mobian: Remove deprecated instructions to update bootloader)
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Mobian ==
== Mobian ==
There is no need to flash the newest images to your phone. Mobian is based on Debian so apt can be used to keep the system updated. The following command will check for updates and install them:
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
   $ sudo apt-get update && sudo apt-get upgrade
If some packages were held back, you can update them with:
If some packages were held back, you can update them with:
   $ sudo apt-get dist-upgrade
   $ sudo apt-get dist-upgrade


If the update included changes related to the bootloader (e.g. a new kernel) run the following command:
== Other OSs ==
   $ sudo u-boot-install-pinephone
 
== 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


== Other OSs ==
Please add the information
Please add the information
[[Category:PinePhone]]

Revision as of 08:10, 11 March 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

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