# Installation of Yunohost packages failed. \[Message that I get in Putty\]

**URL:** https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652
**Category:** Support
**Tags:** english
**Created:** [August 2, 2019, 10:03am UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652 "2019-08-02T10:03:21Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Hyper\_Sound](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hyper_sound/32/2318_2.png) [@Hyper\_Sound](https://forum.yunohost.org/u/Hyper_Sound)
#### Post date: [August 2, 2019, 10:03am UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/1 "2019-08-02T10:03:21Z")

</div>

When I tried to install YunoHost I got these messages and I don’t know how to fix it.  
Errors were encountered while processing:  
fail2ban  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Sub-process /usr/bin/dpkg returned an error code (1)  
[e[1me[31mFAILe[0m] Installation of Yunohost packages failed  
[e[1me[34mINFOe[0m] Installation logs are available in /var/log/yunohost-installation\_20190802\_115409.log

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [August 2, 2019, 10:30am UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/2 "2019-08-02T10:30:19Z")

</div>

Can you elaborate on what kind of machine you are installing yunohost on, and share the full log with [paste.yunohost.org](http://paste.yunohost.org) ?

---

<div class="post-metadata">

### Author: ![Hyper\_Sound](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hyper_sound/32/2318_2.png) [@Hyper\_Sound](https://forum.yunohost.org/u/Hyper_Sound)
#### Post date: [August 2, 2019, 10:42am UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/3 "2019-08-02T10:42:54Z")

</div>

sure, I install it on a vps and this is my log [https://paste.yunohost.org/ijepivocuf.sql](https://paste.yunohost.org/ijepivocuf.sql)

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [August 2, 2019, 10:52am UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/4 "2019-08-02T10:52:22Z")

</div>

Meh … I guess I would just retry the install (either right now, or by re-creating the entire server)

Really sounds like those random install crashes due to other debian packages and the cause ain’t really on yunohost’s side 😕 …

---

<div class="post-metadata">

### Author: ![Hyper\_Sound](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hyper_sound/32/2318_2.png) [@Hyper\_Sound](https://forum.yunohost.org/u/Hyper_Sound)
#### Post date: [August 2, 2019, 11:40am UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/5 "2019-08-02T11:40:06Z")

</div>

I reinstalled it 4 times and I also resettled my vps 4 times and it’s still not working.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [August 2, 2019, 11:45am UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/6 "2019-08-02T11:45:02Z")

</div>

Eeeh wokay… So what if you run the install (so for example keep your server as is right now) and try to `apt install fail2ban` “manually” ?

Or does it complain about first running `apt install -f` ? Or `dpkg --configure -a` ?

Oooooor maybe can you check the output of `systemctl status fail2ban` ?

---

<div class="post-metadata">

### Author: ![Hyper\_Sound](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hyper_sound/32/2318_2.png) [@Hyper\_Sound](https://forum.yunohost.org/u/Hyper_Sound)
#### Post date: [August 2, 2019, 1:09pm UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/7 "2019-08-02T13:09:13Z")

</div>

when i try to install it manually i get error codes Same with apt install -f and dpkg --configure -a and systemctl. [https://paste.yunohost.org/nuqocagogi.pas](https://paste.yunohost.org/nuqocagogi.pas)

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [August 2, 2019, 7:04pm UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/8 "2019-08-02T19:04:42Z")

</div>

Zblerg,

so it took me some time to procude [this](https://framapic.org/AbogwK8vSzjW/XDkXrNA4Wqjb.jpg)

But anyway, can you try to share the output of `tail -n 200 /var/log/fail2ban.log` ?

---

<div class="post-metadata">

### Author: ![Hyper\_Sound](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hyper_sound/32/2318_2.png) [@Hyper\_Sound](https://forum.yunohost.org/u/Hyper_Sound)
#### Post date: [August 3, 2019, 11:52am UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/9 "2019-08-03T11:52:34Z")

</div>

nothing happens

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [August 18, 2019, 11:52am UTC](https://forum.yunohost.org/t/installation-of-yunohost-packages-failed-message-that-i-get-in-putty/8652/10 "2019-08-18T11:52:39Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
