Cannot install Yunohost on KVM (Can't call method set)

I am trying to install Yunohost on a KVM VPS running Debian 10 64bit. I cannot get the system to install when running

curl https://install.yunohost.org | bash

It stops at:

[INFO] Running upgrade_system
Can't call method "set" on an undefined value at /usr/share/perl5/Debconf/FrontEnd.pm line 126, <GEN0> line 5.
Use of uninitialized value $ret in scalar chomp at /usr/share/perl5/Debconf/Client/ConfModule.pm line 132, <STDIN> line 4.
Use of uninitialized value $ret in split at /usr/share/perl5/Debconf/Client/ConfModule.pm line 133, <STDIN> line 4.
Use of uninitialized value $ret[0] in string eq at /usr/share/perl5/Debconf/Client/ConfModule.pm line 134, <STDIN> line 4.
Use of uninitialized value $ret[0] in string eq at /usr/bin/debconf-apt-progress line 173, <STDIN> line 4.
[FAIL] Unable to update the system
[INFO] Installation logs are available in /var/log/yunohost-installation_20211006_191138.log

This is a fresh installation of Debian 10, I updated the system before running the yunohost install command, but it refuses to install and I cannot cannot understand why.

Here is the installation logs:

[e[1me[34mINFOe[0m] Running upgrade_system
[e[1me[31mFAILe[0m] Unable to update the system
[e[1me[34mINFOe[0m] Installation logs are available in /var/log/yunohost-installation_20211006_191138.log
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://security.debian.org/debian-security buster/updates/main Sources [201 kB]
Hit:3 http://ftp.us.debian.org/debian buster InRelease
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [305 kB]
Get:5 http://ftp.us.debian.org/debian buster-updates InRelease [51.9 kB]
Reading package lists...
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)
E: Write error - write (32: Broken pipe)

I guess one way to debug this would be to run: curl https://install.yunohost.org | bash -x

(note the -x at the end which enables bash debugging)

Naively this sounds like some apt/dpkg/.deb package which is usually installed on any minimal debian is missing…

I’m unsure at this point, I tried to chase down the issue for a few hours but didn’t reach a solution for anything and just opted to install on remote server with the iso. Looking up the errors only led me to very old unrelated issues. I tried a number of packages that I got from comparing to the Yunohost ISO vs Debian 10 minimal install, relating to perl and python (like perl-openssl-defaults, python ssl packages, etc) but none of them fixed the issue.

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