I’m trying to do cabal update
, but I’m getting this weird error the whole past hour:
❯ cabal update -v
Project settings changed, reconfiguring...
Downloading the latest package list from hackage.haskell.org
Warning: The package list for 'hackage.haskell.org' is 18 days old.
Run 'cabal update' to get the latest list of available packages.
Selected mirror http://hackage.haskell.org/
Downloading timestamp
Running: /run/current-system/sw/bin/curl 'http://hackage.haskell.org/timestamp.json' --output /tmp/transportAdapterGet951942-1 --location --write-out '%{http_code}' --user-agent 'cabal-install/3.10.3.0 (linux; x86_64)' --silent --show-error --dump-header /tmp/curl-headers951942-2.txt
Downloading snapshot
Running: /run/current-system/sw/bin/curl 'http://hackage.haskell.org/snapshot.json' --output /tmp/transportAdapterGet951942-4 --location --write-out '%{http_code}' --user-agent 'cabal-install/3.10.3.0 (linux; x86_64)' --silent --show-error --dump-header /tmp/curl-headers951942-5.txt
Updating index
Running: /run/current-system/sw/bin/curl 'http://hackage.haskell.org/01-index.tar.gz' --output /tmp/transportAdapterGet951942-7 --location --write-out '%{http_code}' --user-agent 'cabal-install/3.10.3.0 (linux; x86_64)' --silent --show-error --dump-header /tmp/curl-headers951942-8.txt --header 'Range: bytes=122536125-122978166'
Exception Unexpected response 416 for
http://hackage.haskell.org/01-index.tar.gz when using mirror
http://hackage.haskell.org/
Selected mirror http://hackage.fpcomplete.com/
Downloading timestamp
Running: /run/current-system/sw/bin/curl 'http://hackage.fpcomplete.com/timestamp.json' --output /tmp/transportAdapterGet951942-10 --location --write-out '%{http_code}' --user-agent 'cabal-install/3.10.3.0 (linux; x86_64)' --silent --show-error --dump-header /tmp/curl-headers951942-11.txt
Downloading snapshot
Running: /run/current-system/sw/bin/curl 'http://hackage.fpcomplete.com/snapshot.json' --output /tmp/transportAdapterGet951942-13 --location --write-out '%{http_code}' --user-agent 'cabal-install/3.10.3.0 (linux; x86_64)' --silent --show-error --dump-header /tmp/curl-headers951942-14.txt
Updating index
Running: /run/current-system/sw/bin/curl 'http://hackage.fpcomplete.com/01-index.tar.gz' --output /tmp/transportAdapterGet951942-16 --location --write-out '%{http_code}' --user-agent 'cabal-install/3.10.3.0 (linux; x86_64)' --silent --show-error --dump-header /tmp/curl-headers951942-17.txt --header 'Range: bytes=122536125-122978166'
Exception Unexpected response 416 for
http://hackage.fpcomplete.com/01-index.tar.gz when using mirror
http://hackage.fpcomplete.com/
Selected mirror http://objects-us-east-1.dream.io/hackage-mirror/
Downloading timestamp
Running: /run/current-system/sw/bin/curl 'http://objects-us-east-1.dream.io/hackage-mirror/timestamp.json' --output /tmp/transportAdapterGet951942-19 --location --write-out '%{http_code}' --user-agent 'cabal-install/3.10.3.0 (linux; x86_64)' --silent --show-error --dump-header /tmp/curl-headers951942-20.txt
Downloading snapshot
Running: /run/current-system/sw/bin/curl 'http://objects-us-east-1.dream.io/hackage-mirror/snapshot.json' --output /tmp/transportAdapterGet951942-22 --location --write-out '%{http_code}' --user-agent 'cabal-install/3.10.3.0 (linux; x86_64)' --silent --show-error --dump-header /tmp/curl-headers951942-23.txt
Updating index
Running: /run/current-system/sw/bin/curl 'http://objects-us-east-1.dream.io/hackage-mirror/01-index.tar.gz' --output /tmp/transportAdapterGet951942-25 --location --write-out '%{http_code}' --user-agent 'cabal-install/3.10.3.0 (linux; x86_64)' --silent --show-error --dump-header /tmp/curl-headers951942-26.txt --header 'Range: bytes=122536125-122978166'
Unexpected response 416 for http://objects-us-east-1.dream.io/hackage-mirror/01-index.tar.gz
Has anyone seen this? Is Hackage (and all its mirrors) broken somehow? Or do I have something badly misconfigured? Is my network somehow broken? I can’t remember any change I’ve done other than connecting to a different wifi.