# Stuck at installing Postgresql

**URL:** <https://forums.swift.org/t/stuck-at-installing-postgresql/19224>\
**Category:** Kitura\
**Created:** [January 3, 2019, 4:29am UTC](https://forums.swift.org/t/stuck-at-installing-postgresql/19224 "2019-01-03T04:29:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bwayne](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@bwayne](https://forums.swift.org/u/bwayne)\
**Post date:** [January 3, 2019, 4:29am UTC](https://forums.swift.org/t/stuck-at-installing-postgresql/19224/1 "2019-01-03T04:29:51Z")

</div>

I'm trying to install Postgresql for project which was freshly generated from Mac app & it stuck here

 ![49%20AM](https://global.discourse-cdn.com/swift/original/2X/f/ffe593add41720d164de7e07dd29110a9b5c2228.png)

---

<div class="post-metadata">

**Author:** ![NocturnalSolutions](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/nocturnalsolutions/32/3193_2.png) [@NocturnalSolutions](https://forums.swift.org/u/NocturnalSolutions)\
**Post date:** [January 3, 2019, 7:04am UTC](https://forums.swift.org/t/stuck-at-installing-postgresql/19224/2 "2019-01-03T07:04:09Z")

</div>

It would help if you shared your Package.swift file with us. But without seeing it, I can suggest you try this Nuclear Option to reset the SPM state whenever you run into trouble with it:

`swift package reset; rm Package.resolved; swift package resolve`

---

<div class="post-metadata">

**Author:** ![bwayne](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@bwayne](https://forums.swift.org/u/bwayne)\
**Post date:** [January 4, 2019, 4:52am UTC](https://forums.swift.org/t/stuck-at-installing-postgresql/19224/3 "2019-01-04T04:52:04Z")

</div>

yeah, it helps. Do reset command and regenerate work every time?

---

<div class="post-metadata">

**Author:** ![NocturnalSolutions](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/nocturnalsolutions/32/3193_2.png) [@NocturnalSolutions](https://forums.swift.org/u/NocturnalSolutions)\
**Post date:** [January 4, 2019, 4:54am UTC](https://forums.swift.org/t/stuck-at-installing-postgresql/19224/4 "2019-01-04T04:54:15Z")

</div>

No, it shouldn't be necessary to do this very often. Usually, after tweaking "Package.swift," `swift package resolve` is enough.
