diff --git a/install_yunohost b/install_yunohost index af86665..898f66b 100755 --- a/install_yunohost +++ b/install_yunohost @@ -252,7 +252,17 @@ function upgrade_system() { libtext-iconv-perl \ || return 1 - apt_get_wrapper -y dist-upgrade \ + # Manually upgrade grub stuff in non-interactive mode, + # otherwise a weird technical question is asked to the user + # regarding how to upgrade grub's configuration... + DEBIAN_FRONTEND=noninteractive \ + apt_get_wrapper -o Dpkg::Options::="--force-confold" \ + -y install --only-upgrade \ + grub-common grub2-common \ + || true + + apt_get_wrapper -o Dpkg::Options::="--force-confold" \ + -y dist-upgrade \ || return 2 if is_raspbian ; then