Had the same problem. This worked
1. uninstalling haskell-cabal with apt
2. installing it agains with curl
curl -sSL https://get.haskellstack.org/ | sh
as it is recommended (https://docs.haskellstack.org/en/stable/README/#how-to-install)
Had the same problem. This worked
1. uninstalling haskell-cabal with apt
2. installing it agains with curl
curl -sSL https:/ /get.haskellsta ck.org/ | sh
as it is recommended (https:/ /docs.haskellst ack.org/ en/stable/ README/ #how-to- install)