How to change the url of the code of a pack

There’s some discussion about pack URLs here (including URL patterns and migrating servers):

IIRC, @jan needs to do something if the server changes.
Have you tried uninstalling the pack and removing all the files, then doing the pack_install?