Repository initialization error

Today i had the same error as Dan.
It seems that this error occurs when a recording of repositories can not be updated successfully.
To me it was a VirtualBox repos, and after disabling this repo all is ok, no more registering issues.