# Ctrl-c in Pkg

**URL:** https://discourse.julialang.org/t/ctrl-c-in-pkg/69268
**Category:** Package Management
**Created:** [October 5, 2021, 10:04pm UTC](https://discourse.julialang.org/t/ctrl-c-in-pkg/69268 "2021-10-05T22:04:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)
#### Post date: [October 5, 2021, 10:04pm UTC](https://discourse.julialang.org/t/ctrl-c-in-pkg/69268/1 "2021-10-05T22:04:57Z")

</div>

What guarantees does Pkg provide if I do Ctrl+c while it’s doing something?

---

<div class="post-metadata">

### Author: ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)
#### Post date: [October 6, 2021, 12:46pm UTC](https://discourse.julialang.org/t/ctrl-c-in-pkg/69268/2 "2021-10-06T12:46:16Z")

</div>

None. Cross your fingers.

---

<div class="post-metadata">

### Author: ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)
#### Post date: [October 6, 2021, 12:52pm UTC](https://discourse.julialang.org/t/ctrl-c-in-pkg/69268/3 "2021-10-06T12:52:34Z")

</div>

But seriously, it makes an effort to do things atomically so that things don’t get messed up but a lot of people have worked on the code and have taken different degrees of care about atomic file system operations (which are not easy). Guarantee is a strong word.

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [October 6, 2021, 1:00pm UTC](https://discourse.julialang.org/t/ctrl-c-in-pkg/69268/4 "2021-10-06T13:00:59Z")

</div>

FWIW, I Ctr-C stuff all the time when using Pkg and I still haven’t gotten in a bad state.
