
Erro:
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?
Olá a todos, recebo o erro acima sempre que tento instalar algo. Ainda sou novo no Linux, então realmente não sei o que está acontecendo. Na verdade, eu estava tentando instalar o git
.
Responder1
Abra o Software Center e vá em editar> fontes de software
Na Ubuntu Software
guia, selecione a Download from
opção para Main Server
:
Na Other Software
guia, habilite as seguintes fontes:
- Parceiros canônicos - Parceiros canônicos (código-fonte)
- Independente
- Independente (código-fonte)
Execute sudo apt-get update
novamente e tente reinstalar seu pacote.