# Parece que algo deu errado com a minha atualização

**URL:** <https://meta.discourse.org/t/something-seems-to-have-gone-wrong-with-my-update/55952>\
**Category:** Self-hosting\
**Created:** [Janeiro 18, 2017, 8:08am UTC](https://meta.discourse.org/t/something-seems-to-have-gone-wrong-with-my-update/55952 "2017-01-18T08:08:11Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![peternlewis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/peternlewis/32/108888_2.png) [@peternlewis](https://meta.discourse.org/u/peternlewis)\
**Post date:** [Janeiro 18, 2017, 9:42am UTC](https://meta.discourse.org/t/something-seems-to-have-gone-wrong-with-my-update/55952/7 "2017-01-18T09:42:56Z")

</div>

I disabled solved and tags

```plaintext
# - git clone https://github.com/discourse/discourse-tagging.git
# - git clone https://github.com/discourse/discourse-solved.git

```

but I get this error when rebuilding:

```plaintext
root@forum:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 10 app
app
cd /pups && git pull && /pups/bin/pups --stdin
Already up-to-date.
I, [2017-01-18T09:41:34.458117 #13] INFO -- : Loading --stdin
I, [2017-01-18T09:41:34.466939 #13] INFO -- : > echo cron is now included in base image, remove from templates
I, [2017-01-18T09:41:34.470539 #13] INFO -- : cron is now included in base image, remove from templates

I, [2017-01-18T09:41:34.470814 #13] INFO -- : > apt-get remove -y postgresql-9.5 postgresql-client-9.5 postgresql-contrib-9.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
I, [2017-01-18T09:41:37.110594 #13] INFO -- : Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  postgresql-9.5 postgresql-client-9.5 postgresql-contrib-9.5
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 26.1 MB disk space will be freed.
(Reading database ... 34533 files and directories currently installed.)
Removing postgresql-contrib-9.5 (9.5.5-1.pgdg16.04+1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/share/postgresql/9.5/man/man1/postmaster.1.gz because link group postmaster.1.gz is broken
update-alternatives: error: error creating symbolic link '/usr/share/man/man1/postmaster.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package postgresql-contrib-9.5 (--remove):
 subprocess installed pre-removal script returned error exit status 2
dpkg: postgresql-9.5: dependency problems, but removing anyway as you requested:
 postgresql-contrib-9.5 depends on postgresql-9.5 (= 9.5.5-1.pgdg16.04+1).

Removing postgresql-9.5 (9.5.5-1.pgdg16.04+1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
Removing postgresql-client-9.5 (9.5.5-1.pgdg16.04+1) ...
Processing triggers for postgresql-common (178.pgdg16.04+1) ...
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
Errors were encountered while processing:
 postgresql-contrib-9.5

FAILED
--------------------
Pups::ExecError: apt-get remove -y postgresql-9.5 postgresql-client-9.5 postgresql-contrib-9.5 failed with return #<Process::Status: pid 16 exit 100>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params "apt-get remove -y postgresql-9.5 postgresql-client-9.5 postgresql-contrib-9.5"
f39c918850fc3105167df6ad93b20c0bdf4678553c6bad4059ebe44016e8d179
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one

```

---

_[View the full topic](https://meta.discourse.org/t/something-seems-to-have-gone-wrong-with-my-update/55952)._
