Couldn't cabal update; cabal install tidal -lib

btw i have a problem when try installing tidal, i used manual method for installation and running on ubuntu 22.04. the result of that I got is like this

$ cabal update; cabal install tidal --lib
Could not deserialize <repo>/root.json: Malformed: (line 1, column 1):
unexpected end of input
expecting white space or JSON value
Could not deserialize <repo>/root.json: Malformed: (line 1, column 1):
unexpected end of input
expecting white space or JSON value

anyone has a clue for what happen in here and got a solution for it? thank you in advance!

See the thread here in Haskell's cabal Github:

Uninstall and reinstall curl.

already solve it! thank you! uninstall and reinstall curl it works for this case! thank you!