Could not configure 'debhelper:amd64' during installation

My YunoHost server

Hardware: $20 Vultr VPS
YunoHost version: Trying to install the newest version
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

I have the following error during installation:

W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Could not configure 'debhelper:amd64'. 
E: Could not perform immediate configuration on 'dh-autoreconf:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
[FAIL] Installation of Yunohost packages failed
[INFO] Installation logs are available in /var/log/yunohost-installation_20190705_132929.log

Uuuuh and do you have any logs before these lines …?

What happens if you run manually apt install debhelper ?

Hi,

I had the same issue when I tried to install manually yunohost on a Rock64 board.

Here are the logs from /var/log/yunohost-installation_20190710_071327.log :

Creating config file /etc/php/7.0/mods-available/mcrypt.ini with new version
Setting up libhttp-daemon-perl (6.01-1) ...
Setting up libio-socket-ssl-perl (2.044-1) ...
Setting up php-xml (1:7.0+49) ...
Setting up libcgi-fast-perl (1:2.12-1) ...
Setting up libhtml-tree-perl (5.03-2) ...
Setting up python-all-dev (2.7.13-2) ...
Setting up php-pear (1:1.10.1+submodules+notgz-9+deb9u1) ...
Setting up libhtml-form-perl (6.03-1) ...
Setting up python3-requests (2.12.4-1) ...
Setting up php-mcrypt (1:7.0+49) ...
Setting up libnet-ldap-perl (1:0.6500+dfsg-1) ...
Setting up libdbd-ldap-perl (0.20-1) ...
Setting up libnet-smtp-ssl-perl (1.04-1) ...
Setting up libhtml-format-perl (2.12-1) ...
Setting up php-php-gettext (1.0.12-0.1) ...
Setting up python3-numpy (1:1.12.1-3) ...
Setting up libtk8.6:arm64 (8.6.6-1+b1) ...
Setting up python3-docker (1.9.0-1) ...
Setting up tk8.6-blt2.5 (2.5.3+dfsg-3) ...
Setting up python3-matplotlib (2.0.0+dfsg1-2) ...
Setting up php-gettext (1.0.12-0.1) ...
Setting up blt (2.5.3+dfsg-3) ...
Setting up libmailtools-perl (2.18-1) ...
Setting up python3-tk:arm64 (3.5.3-1) ...
Setting up libwww-perl (6.15-1) ...
Setting up liblwp-protocol-https-perl (6.06-2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for php7.0-fpm (7.0.33-0+deb9u3) ...
Processing triggers for systemd (232-25+deb9u11) ...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Could not configure 'debhelper:arm64'. 
E: Could not perform immediate configuration on 'dh-autoreconf:arm64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
[FAIL] Installation of Yunohost packages failed
[INFO] Installation logs are available in /var/log/yunohost-installation_20190710_071327.log

Here is what apt install debhelpersays :

root@rock64:~# apt install debhelper
Reading package lists... Done
Building dependency tree       
Reading state information... Done
debhelper is already the newest version (10.2.5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Thanks a lot for your kind help :slight_smile:

Yea I just got this “issue” a few minutes earlier setting up a regular VPS … it doesn’t seem to prevent any issue with the next steps (postinstallation) but it’s quite puzzling that there are no pending operations as it really sounds like dpkg was not able to do some stuff …

Yet as you point out, running apt install debhelper does nothing in particular, nor does dpkg --configure -a or apt install -f

Did you manage to continue the installation ?
Because in my case, it stopped right there.

Is there anything I should do to finish the installation ?

Thanks again and have a nice day :slight_smile:

Well uh in fact the installation should have worked … I mean, the yunohost stuff are installed (I think ? if it stopped at the same step as you ?)

Just that the script saw that some error happened and think the installation might be unusable … but turns out it is usable and you can proceed with yunohost tools postinstall

But granted that it’s definitely a bug and should be investigated and fixed …

I confirm : It works.

Can confirm also works great here