# \[SOLVED\] Openhabian-config upgrade issue (mosquitto)

**URL:** <https://community.openhab.org/t/solved-openhabian-config-upgrade-issue-mosquitto/50773>\
**Category:** Installation\
**Tags:** openhabian\
**Created:** [September 4, 2018, 7:12am UTC](https://community.openhab.org/t/solved-openhabian-config-upgrade-issue-mosquitto/50773 "2018-09-04T07:12:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NCO](https://community.openhab.org/user_avatar/community.openhab.org/nco/32/55938_2.png) [@NCO](https://community.openhab.org/u/NCO)\
**Post date:** [September 4, 2018, 7:12am UTC](https://community.openhab.org/t/solved-openhabian-config-upgrade-issue-mosquitto/50773/1 "2018-09-04T07:12:47Z")

</div>

All,

i have an issue (not critical maybe) since quite a few months.  
I am running openhabian 1.4.1-413 and do an update upgrade every now and then.

updating works fine - at the end of the upgrade though I get an error related to mosquitto:

```auto
WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
  mosquitto-clients libmosquitto1 mosquitto
E: Es gab Probleme und -y wurde ohne --force-yes verwendet.
FAILED

```

Which actually means:

```auto
WARNING: the following packages could not be authenticated.
mosquitto...
There were problems and -y was used without --force-yes.

```

So it seems mosquitto has not been upgraded on my system since a few months.  
Any suggestions?

---

<div class="post-metadata">

**Author:** ![vzorglub](https://community.openhab.org/user_avatar/community.openhab.org/vzorglub/32/17166_2.png) [@vzorglub](https://community.openhab.org/u/vzorglub)\
**Post date:** [September 4, 2018, 7:21am UTC](https://community.openhab.org/t/solved-openhabian-config-upgrade-issue-mosquitto/50773/2 "2018-09-04T07:21:19Z")

</div>

You can try:

`sudo apt-get install --only-upgrade mosquitto`

---

<div class="post-metadata">

**Author:** ![NCO](https://community.openhab.org/user_avatar/community.openhab.org/nco/32/55938_2.png) [@NCO](https://community.openhab.org/u/NCO)\
**Post date:** [September 4, 2018, 6:49pm UTC](https://community.openhab.org/t/solved-openhabian-config-upgrade-issue-mosquitto/50773/3 "2018-09-04T18:49:07Z")

</div>

> [@vzorglub](#):
>
> sudo apt-get install --only-upgrade mosquitto

Thanks, that di the job

---

<div class="post-metadata">

**Author:** ![NCO](https://community.openhab.org/user_avatar/community.openhab.org/nco/32/55938_2.png) [@NCO](https://community.openhab.org/u/NCO)\
**Post date:** [September 5, 2018, 5:19pm UTC](https://community.openhab.org/t/solved-openhabian-config-upgrade-issue-mosquitto/50773/4 "2018-09-05T17:19:34Z")

</div>

Unfortunately I cannot connect anymore since.

```auto
1536166926: Config loaded from /etc/mosquitto/mosquitto.conf.
1536166926: Opening ipv4 listen socket on port 1883.
1536166926: Opening ipv6 listen socket on port 1883.
1536166926: Opening ipv4 listen socket on port 8883.
1536166926: Opening ipv6 listen socket on port 8883.
1536166926: Opening ipv4 listen socket on port 1883.
1536166926: Error: Address already in use

```

But my config is:

```auto
allow_anonymous false
autosave_interval 1800

connection_messages true
log_dest stderr
log_dest topic
log_type error
log_type warning
log_type notice
log_type information
log_type all
log_type debug
log_timestamp true

#message_size_limit 10240

#password_file jp.pw
#acl_file jp.acl

persistence true
persistence_file mosquitto.db
persistent_client_expiration 1m

#pid_file xxxx

retained_persistence true

listener 1883
#listener 1883 127.0.0.1

listener 8883
tls_version tlsv1
cafile /etc/mosquitto/ca_certificates/ca.crt
certfile /etc/mosquitto/certs/Homer.crt
keyfile /etc/mosquitto/certs/Homer.key
require_certificate true
#use_identity_as_username true

```

I actually don’t know where all these

```auto
listen socket on port 1883

```

come from…
