# Moet de installatiegids mensen vertellen om eerst apt update & apt upgrade uit te voeren?

**URL:** https://meta.discourse.org/t/should-the-install-guide-tell-people-to-run-apt-update-apt-upgrade-first/207106
**Category:** Self-hosting
**Created:** [26 oktober 2021 om 09:59 UTC](https://meta.discourse.org/t/should-the-install-guide-tell-people-to-run-apt-update-apt-upgrade-first/207106 "2021-10-26T09:59:28Z")
**Posts on this page:** 1
**Showing post:** 37

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [29 oktober 2021 om 14:16 UTC](https://meta.discourse.org/t/should-the-install-guide-tell-people-to-run-apt-update-apt-upgrade-first/207106/37 "2021-10-29T14:16:33Z")

</div>

My money is on the additional `git pull` is _unnecessary_, because of the code here:

> <https://github.com/discourse/discourse_docker/blob/8e2ccee0f2989885632c27c7f33a87719d3838ec/launcher#L744>

which seems to check the local version, updates and restarts the launcher if out of date (and a bunch of other things).

Therefore only this should be necessary on subsequent rebuilds:

```plaintext
cd /var/discourse
./launcher rebuild app

```

_without_ the redundant git pull.

(NB: always good to dive into the source code so you can be more sure).  
(NB#2: have deleted my post above which just added to the confusion).

---

_[View the full topic](https://meta.discourse.org/t/should-the-install-guide-tell-people-to-run-apt-update-apt-upgrade-first/207106)._
