Difference between revisions of "CR48-ForceUpdate"
(Created page with "==Forcing a Software Update== Because Google does not prompt all machines to upgrade at once, sometimes your machine may not be on the latest release. If you know that an update...") |
Peter Huewe (Talk | contribs) (Added to category CR48) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 6: | Line 6: | ||
It runs at a very low priority by default meaning updates can take a long time | It runs at a very low priority by default meaning updates can take a long time | ||
<br><br><code> | <br><br><code> | ||
| + | sudo su <br> | ||
initctl stop update-engine | initctl stop update-engine | ||
</code><br><br> | </code><br><br> | ||
| Line 15: | Line 16: | ||
This command should be entered all on one line. | This command should be entered all on one line. | ||
<br><br><code> | <br><br><code> | ||
| − | while true; do update_engine_client -check_for_update; update_engine_client -update; | + | while true; do update_engine_client -check_for_update; update_engine_client -update; sleep 5; done |
</code> | </code> | ||
<br><br><br>[[CR48|Back to CR48 Home]] | <br><br><br>[[CR48|Back to CR48 Home]] | ||
| + | [[Category:CR48]] | ||
Latest revision as of 21:34, 12 April 2011
Forcing a Software Update
Because Google does not prompt all machines to upgrade at once, sometimes your machine may not be on the latest release. If you know that an update is available, and have a reason to upgrade, here are the steps.
NOTE: You will need to be rooted for this procedure.
Stop the normal background update engine process.
It runs at a very low priority by default meaning updates can take a long time
sudo su
initctl stop update-engine
Start the update-engine process running in the foreground and with errors reported to the shell. The & gives us our shell back.
update_engine -foreground -logtostderr &
The following Code runs the upgrade check in a constant loop till Google's servers offer us the update. Once that starts, we can end this process with CTRL+C
This command should be entered all on one line.
while true; do update_engine_client -check_for_update; update_engine_client -update; sleep 5; done
Back to CR48 Home