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...") |
(→Forcing a Software Update) |
||
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> |
Revision as of 21:57, 4 February 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; pause 5; done
Back to CR48 Home