Difference between revisions of "LinuxMCE System Update"

From LinuxMCE
Jump to: navigation, search
(How to upgrade manually)
Line 21: Line 21:
  
 
== How to upgrade manually ==
 
== How to upgrade manually ==
 +
 +
--[[User:Totallymaxed|Totallymaxed]] 08:14, 2 March 2008 (PST)
 +
I would suggest the following procedure for forcing the download of updates under 0704;
 +
 +
Go to the /usr/pluto/bin directory
 +
 +
run the following script;
 +
 +
sudo ./LMCEUpdate_DownloadXml.sh <return>
 +
 +
This will take some while as the update archive has to be downloaded... so be patient! Once the update is downloaded you should be asked whether you want to apply the update in the Orbiter.
 +
 +
 
Quoting [http://plutohome.com/wiki/index.php/User:Nite_man nite_man] from forum :
 
Quoting [http://plutohome.com/wiki/index.php/User:Nite_man nite_man] from forum :
  

Revision as of 17:14, 2 March 2008

This article needs to be fixed and/or categorized.
Please contribute by fixing this article or other that needs to be fixed.


General Info

Package: pluto-update-system

Directory: src/PlutoUpdateSystem

File Details

This information seems to be outdated. At least in 0710b3 there are no such files.

LinuxMCE live updating system is taking care of by 4 shell scripts:

DownloadUpdates.sh
This script is runned by cron and downloads all the needed deb packages for doing an dist-upgrade on the Core and all of it's MDs. Also this script calls the NotifyUpdates.sh script to notify the user that the updates are available and he shoule reboot certain machine so they can be installed. This script runs only on the Core.
ApplyUpdates.sh
This is a startup script and is runned by the /etc/init.d/fastboot/rcS.d system initialization script before any of the LinuxMCE services get started. It checks if DownloadUpdates has downloaded all the needed packages and if so, it trigers a dist-updagrade. If a new kernel is one of the updated packages he also takes care of rebooting the system after all the updates are installed. This script is runned by Core and all the Diskless MDs.
NotifyUpdates.sh
Notifies the user via orbiters that updates are available and that certain machines should do a reboot so they can update. It takes the PK_Device of the machine that needs to reboot as a parameter.
ForceUpdates.sh
Force system update. It kill all instances of already run DownloadUpdates.sh and ForceUpdates.sh, display notification message about reboot on all Orbiters and send a command to the Core to reboot it and start process of system update.

How to upgrade manually

--Totallymaxed 08:14, 2 March 2008 (PST) I would suggest the following procedure for forcing the download of updates under 0704;

Go to the /usr/pluto/bin directory

run the following script;

sudo ./LMCEUpdate_DownloadXml.sh <return>

This will take some while as the update archive has to be downloaded... so be patient! Once the update is downloaded you should be asked whether you want to apply the update in the Orbiter.


Quoting nite_man from forum :

You can do upgrade manually. Go to the /usr/pluto/bin and run one by one two scripts:


./DownloadUpdates.sh 

and

./ApplyUpdates.sh  


The first one will download all updated packages and the second one will apply changes to the LinuxMCE installation.

Note: you should wain until DownloadUpdates.sh finish. Also, you can ignore some warnings which may be generated by this script (you can see the log /var/log/pluto/DownloadUpdates.log)

Another way to perform system update is use the Orbiter:

  More --> Advanced Options --> Force Upgrade Now

It forces reboot your core and starts upgrade.