Difference between revisions of "PMSS:Updating"

From Pulsed Media Wiki
(Guides: Information: PMSS: Pulsed Media: */Linux*/)
 
(One intermediate revision by the same user not shown)
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 
 +
 +
 +
== DO NOT ==
 +
 +
Do not update Debian 8 server with PMSS. Before updating Debian 8 needs to be upgraded. Otherwise it will brick OS.
 +
 +
  
 
[[Category:PM Software Stack Guides]]
 
[[Category:PM Software Stack Guides]]
 
[[Category:Guides]]
 
[[Category:Guides]]

Latest revision as of 08:01, 26 May 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  


DO NOT

Do not update Debian 8 server with PMSS. Before updating Debian 8 needs to be upgraded. Otherwise it will brick OS.