Failed to resolve packages, even after reinstall, deleting registry etc etc

I am getting a failed to resolve packages error whenever i start a project no matter what i do.
image

I have deleted the editors (2023.2.20f1 and Unity 6 preview) multiple times, reinstalled unity hub, cleared the chaches (all appdata paths as well), even undid everything in the registry

Even when i try to create a new project i am getting the same error. Only thing that has worked this far was downloading a version of the engine that i havent used yet in my case it was 2022.X.X.

One more weird little thing that keeps happening…whenever i create a new project i get the same mistake like i said above. lets say i create a Unity 6 project then try to open it i get the same error as above “Failed to resolve packages” when i quit and try to open again i get a message that i am trying to open in a different editor :
image

so uhm one of my ssd’s broke down recently and i unplugged it a while ago…turns out whenever plug the broken ssd in, unity starts to resolve the packages however due to the drive being broken it’s stuck in the beginning
image

Is there any way to remove that dependency (one more information, the projects arent on that drive)?

fixed it by just changing my G: drives letter to D: not the best solution but at least it works now