Can't install Yunohost on debian 11 - Unable to update the system

My YunoHost server

Hardware: Gandi cloud small instance 1 CPU, 1GB ram, 20 GB storage
YunoHost version: not yet installed
I have access to my server : yes, through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

ENG
Hello !
Debian 11 fresh installed, I’m trying to install Yunohost with the script as described here : Installer YunoHost | Yunohost Documentation

The script fails at the start, when it tries to update the system.

Maybe it’s something easy to solve but I don’t see what’s wrong, please send help ! :slight_smile:


FR
Bonjour à tous !
Debian 11 installée de base que la machine de Gandi ; j’essaie d’installer Yunohost en utilisant le script fourni par le site Installer YunoHost | Yunohost Documentation

Le script échoue au début lors de la mise à jour du système.

C’est sans doute simple à dépanner mais je ne vois pas par où commencer, merci de votre aide ! :slight_smile:


admin@mallory:/tmp$ sudo -i
[sudo] password for admin: 
root@mallory:~# curl https://install.yunohost.org | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 23184  100 23184    0     0   526k      0 --:--:-- --:--:-- --:--:--  526k
[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_20230307_152313.log

The system is up to date

root@mallory:~# apt update && apt upgrade -y
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://mirrors.gandi.net/debian bullseye InRelease                                   
Hit:3 http://mirrors.gandi.net/debian bullseye-updates InRelease                           
Ign:4 https://mirrors.gandi.net/gandi/debian bullseye InRelease                            
Hit:5 https://mirrors.gandi.net/gandi/debian bullseye Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

The log :

root@mallory:~# cat /var/log/yunohost-installation_20230307_152313.log 
[INFO] Running upgrade_system
[FAIL] Unable to update the system
[INFO] Installation logs are available in /var/log/yunohost-installation_20230307_152313.log
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://mirrors.gandi.net/debian bullseye InRelease
Hit:3 http://mirrors.gandi.net/debian bullseye-updates InRelease
Ign:4 https://mirrors.gandi.net/gandi/debian bullseye InRelease
Hit:5 https://mirrors.gandi.net/gandi/debian bullseye Release
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)

1 Like

Let’s see if apt-get install --reinstall debconf fixes the issue …

2 Likes

Thanks a lot for the tip, the issue is now fixed :slight_smile:

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