Fixing a 0xfffffffe error that is causing a failed installation or upgrade