commercialhaskell / commercialhaskell/stack

interrupt at wrong time (updating indices?) causes strange failures

Open
#5,378 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

### Steps to reproduce

Ran stack build, and hit ctrl-c at some point. Subsequent stack runs failed like this:

Failed populating package index cache
BadChecksum 0

I first tried deleting ~/.stack/indices, which did not help. After deleting all of ~/.stack, I got it working again.

This is with stack 2.3.3 on OSX, installed via stack upgrade. Unfortunately I don't know at exactly what point I interrupted stack to cause this problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.