История изменений
Исправление rtxtxtrx, (текущая версия) :
https://unix.stackexchange.com/questions/401008/sudo-command-hangs
The problem can reproduced when the hostname is changed , edit your /etc/hosts by adding the output of echo $HOSTNAME after 127.0.0.1:
echo 127.0.0.1 localhost $(hostname) >> /etc/hosts
Исходная версия rtxtxtrx, :
https://unix.stackexchange.com/questions/401008/sudo-command-hangs
The problem can reproduced when the hostname is changed , edit your /etc/hosts by adding the output of echo $HOSTNAME after 127.0.0.1: