You have to download blackberry desktop manager on a computer and update the device through the software
That error means the software running the phone is corrupt, or not installed correctly
TBhouston is correct, however because of the nature of your issue I recommend that you allow a customer service representative to assist you with getting the error fixed on your device. Please reply to the private message that I am sending you. I will call you to provide troubleshooting assistance.