Difference between revisions of "PinePhone Updating Instructions"

From PINE64
Jump to navigation Jump to search
(→‎Mobian: Remove deprecated instructions to update bootloader)
Tags: mobile web edit mobile edit
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Mobian ==
== Methods of updating ==
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:
There is no need to regularly flash the newest images to your phone because the underlying system is built on pre-existing package managers for maintaining integrity. You can use the GUI applications (usually 'Software' or 'Discover') or because there is always a terminal nearby, these commands will help you stay updated with the latest available programs from your default selected repository.
 
== Mobian and other Debian based OS's ==
To update all software. 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


== Other OSs ==
== Manjaro, or other Arch based OS's ==
 
== Manjaro, or other Arch Linux based OSs ==


To first download all new package's
To begin, download all new package's only


   $ sudo pacman -Suuyyw
   $ sudo pacman -Suuyyw && sync


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


   $ sudo pacman -Suy  
   $ 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)
<code> sudo pacman -Suy --cache-dir /path/to/external</code> can be used for a separate download location to improve installation speed, 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:
If you encounter any errors during the update, you may have to update the Pacman mirrors as follows:
Line 23: Line 25:
   $ sudo pacman-mirrors -f
   $ sudo pacman-mirrors -f


Please add the information
 
Please add more information


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

Revision as of 02:26, 15 May 2021

Methods of updating

There is no need to regularly flash the newest images to your phone because the underlying system is built on pre-existing package managers for maintaining integrity. You can use the GUI applications (usually 'Software' or 'Discover') or because there is always a terminal nearby, these commands will help you stay updated with the latest available programs from your default selected repository.

Mobian and other Debian based OS's

To update all software. 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

Manjaro, or other Arch based OS's

To begin, download all new package's only

 $ sudo pacman -Suuyyw && sync

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

 $ sudo pacman -Suy 

sudo pacman -Suy --cache-dir /path/to/external can be used for a separate download location to improve installation speed, 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 more information