Difference between revisions of "PMSS:Updating"

From Pulsed Media Wiki
 
Line 3: Line 3:
  
 
It will update the software and distro packages. NOTE: Cannot be operated autonomously for the apt potentially asking questions or showing notifications. Autonomous updates needs to be separated in sections, look into the source for how to do this.
 
It will update the software and distro packages. NOTE: Cannot be operated autonomously for the apt potentially asking questions or showing notifications. Autonomous updates needs to be separated in sections, look into the source for how to do this.
 +
 +
'''PS:'''
 +
 +
'''Sometimes update gets stuck and you need to kill process.'''
 +
sudo kill <PID> 
 +
sudo kill -9 <PID> 
 +
 +
'''Then update locales'''  <check that en_US.UTF-8 fi_FI.UTF-8  are checked>
 +
 +
  sudo locale-gen en_US.UTF-8 fi_FI.UTF-8 
 +
  sudo dpkg-reconfigure locales 
 +
  sudo update-locale LANG=en_US.UTF-8 
 +
 +
'''If necessary'''
 +
 +
  sudo dpkg --configure -a
 +
  sudo apt-get install -f
 +
 +
'''Then run again:'''
 +
 +
  /scripts/update.php 
 +
  
 
[[Category:PM Software Stack Guides]]
 
[[Category:PM Software Stack Guides]]
 
[[Category:Guides]]
 
[[Category:Guides]]

Latest revision as of 10:26, 24 April 2025

Updating PMSS is very simple action, all you need to do is:

/scripts/update.php

It will update the software and distro packages. NOTE: Cannot be operated autonomously for the apt potentially asking questions or showing notifications. Autonomous updates needs to be separated in sections, look into the source for how to do this.

PS:

Sometimes update gets stuck and you need to kill process.

sudo kill <PID>  
sudo kill -9 <PID>  

Then update locales <check that en_US.UTF-8 fi_FI.UTF-8 are checked>

 sudo locale-gen en_US.UTF-8 fi_FI.UTF-8  
 sudo dpkg-reconfigure locales  
 sudo update-locale LANG=en_US.UTF-8  

If necessary

 sudo dpkg --configure -a
 sudo apt-get install -f

Then run again:

 /scripts/update.php