Pkg.add hangs when installing packages

Pkg.add stays stuck at 99.9% for 20+ minutes at a time. I’ve tried installing the following packages:
QuadGK
LinearAlgebra (already natively installed, but still hangs)
Optim

I’ve attempted other solutions like removing the registries\General folder, reinstalling, calling Pkg.registry.add(“General”), etc. and they haven’t worked so far.

1 Like

On which operating system?
And did you check your internet connection?
Sufficient disk space?

This is using Windows and the Ubuntu windows subsystem
There is sufficient disk space and a working internet connection

Sorry for not having very much information, I’m not getting any specific errors- only hanging.
When I cancel (ctrl + c) it usually takes a few minutes, and eventually only returns an interrupt error.