Difference between revisions of "PinePhone Updating Instructions"

From PINE64
Jump to navigation Jump to search
(added details for first time user's)
Tags: mobile web edit mobile edit
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Methods of updating ==
== 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.  
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 ==
== Mobian and other Debian-based distributions ==
Mobian is based on Debian, and so you can open a terminal 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


== Other OSs ==
To update all software, the following command will refresh the package cache, check for updates and install them:


== Manjaro, or other Arch Linux based OSs ==
  $ sudo apt-get update && sudo apt-get upgrade


To first download all new package's
If some packages were held back, you can update them with:


   $ sudo pacman -Suuyyw
   $ sudo apt-get dist-upgrade
 
and do the same without the 'w' to apply new package's


  $ sudo pacman -Suy
== Manjaro and other Arch-based distributions ==


(--cache-dir can be used for a separate download location, otherwise consider reading https://wiki.archlinux.org/index.php/Pacman#Configuration for further optimization)
To update all packages under Arch-based distributions, the package manager <i>pacman</i> can be used:


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


  $ sudo pacman-mirrors -f
Note: <code> sudo pacman -Syu --cachedir /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.


Please add the information
If you encounter any errors during the update, you may have to update the Pacman mirrors. Under Manjaro this can be done using <code>sudo pacman-mirrors -f</code>


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

Latest revision as of 10:22, 16 September 2023

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 distributions

To update all software, the following command will refresh the package cache, 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 and other Arch-based distributions

To update all packages under Arch-based distributions, the package manager pacman can be used:

 $ sudo pacman -Syu 

Note: sudo pacman -Syu --cachedir /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. Under Manjaro this can be done using sudo pacman-mirrors -f