I updated from r515 last weekend via FireFox on my RPi without issue. I'm not sure what the error is related to, but if it happens immediately, it could be that the files are temporarily unavailable (I've had that happen when trying to update the Linux system). If the files are available and it's having issues, perhaps you could delete the contents of the update folder on the RPi.