I took the VDS to drive on the test period here: https://proxmox.flynet.pro

I wrote a script to install the software I needed: https://raw.githubusercontent.com/yarkovaleksei/vds-install-script/master/install.sh

I connect via SSH to the server, I run the command:

root@vpshost:~# curl -o- https://raw.githubusercontent.com/yarkovaleksei/vds-install-script/master/install.sh | bash 

The installation begins and in the console it climbs this (console screenshot): image And tryndets ... The console does not respond to the keys. What is it and how to fight?

    2 answers 2

    You can disable the full interaction of the dpkg program with the user by setting the environment variable DEBIAN_FRONTEND to noninteractive .


    applied to your case, you can either add a command at the beginning of the script:

     export DEBIAN_FRONTEND=noninteractive 

    or precede each dpkg / apt * program call by setting this variable. like that:

     DEBIAN_FRONTEND=noninteractive apt-get ... DEBIAN_FRONTEND=noninteractive apt ... DEBIAN_FRONTEND=noninteractive aptitude ... DEBIAN_FRONTEND=noninteractive dpkg ... 

      Try to add these lines to the script:

       echo 'grub-installer/only_debian boolean true' | debconf-set-selections echo 'grub-installer/with_other_os boolean true' | debconf-set-selections 

      And run it inside tmux .