Ainda há um processo adduser
em execução?
Você pode verificar isso usando o seguinte comando:
ps -ef | grep useradd
Se sim, você pode matá-lo usando:
sudo killall -9 useradd
Pode ser necessário excluir os arquivos de bloqueio porque useradd
foi interrompido e, portanto, não foi possível remover os próprios arquivos de bloqueio:
sudo rm -f /etc/passwd.lock /etc/gshadow.lock
Agora, tente instalar usando apt-get
novamente.