erro com sudo e sem sudo

1

Eu criei uma VM Ubuntu no Azure, mas tenho alguns problemas quando tento instalar um programa. Comando com sudo e sem sudo :

ali@Azure:~$ sudo apt-get update
bash: sudo: command not found
ali@Azure:~$  apt-get update
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory
 (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
ali@Azure:~$
    
por Baltschun Ali 03.12.2017 / 18:53

0 respostas