Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Oi, Flavia, tudo bem?
Qual comando você rodou e apareceu isso?
Olá Lais, tudo bom e vc? O comando foi esse aqui:
sudo apt-get update && sudo apt-get install -y nginx
Consegui resolver. Reiniciei a máquina!!!!