OSX Mavericks can't be installed because a recovery system can't be created
When I try to upgrade my Macbook pro (Late 2011) from lion to Mavericks, the computer restarts and begins to download the new OSX, but then I get a message saying the download failed because OSX can't be installed because a recovery system can't be created. What can I do in order to get Mavericks to work on my computer?