Difference between revisions of "LinuxMCE System Update"
Adamspiers (Talk | contribs) m (→Please Note: you can only force an update if their are updates available: fix typo) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
== File Details == | == File Details == | ||
− | = | + | = Please Note: you can only force an update if there are updates available = |
LinuxMCE live updating system is taking care of by 4 shell scripts: | LinuxMCE live updating system is taking care of by 4 shell scripts: | ||
Line 13: | Line 13: | ||
;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. | ;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 | + | ;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 run 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. | ;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. | ||
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 background<return> | ||
+ | |||
+ | This will take some time while the update archives are downloaded... so be patient! Once the updates are downloaded you should be asked whether you want to apply the update in the Orbiter - click "Yes" to apply updates and thats it. | ||
+ | |||
+ | |||
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 : | ||
Latest revision as of 13:53, 25 January 2009
This article needs to be fixed and/or categorized. | |
Please contribute by fixing this article or other that needs to be fixed. |
Contents
General Info
Package: pluto-update-system
Directory: src/PlutoUpdateSystem
File Details
Please Note: you can only force an update if there are updates available
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 run 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 background<return>
This will take some time while the update archives are downloaded... so be patient! Once the updates are downloaded you should be asked whether you want to apply the update in the Orbiter - click "Yes" to apply updates and thats it.
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.