Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborting update can leave lock file #186

Closed
mgsloan opened this issue Mar 14, 2017 · 3 comments
Closed

Aborting update can leave lock file #186

mgsloan opened this issue Mar 14, 2017 · 3 comments

Comments

@mgsloan
Copy link

mgsloan commented Mar 14, 2017

I'm having a hard time reproducing the issue, but see this stack issue: commercialhaskell/stack#3055

Seems like it's possible to leave the lock file if an async exception is thrown in the middle of updating (in this case via ctrl-C

@ezyang
Copy link
Contributor

ezyang commented Mar 17, 2017

I commented on the downstream for more clarification.

@ezyang
Copy link
Contributor

ezyang commented Mar 17, 2017

Based on discussion in downstream, there is nothing we can do; this situation can occur if you C-c a process twice.

@ezyang ezyang closed this as completed Mar 17, 2017
@chris-martin
Copy link

Can't we show a better error message, though, including remediation instructions? Am I supposed to manually delete ~/.stack/indices/Hackage/hackage-security-lock now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants