02/03/2021, 8:39 PM
Trying to
apt install
something in my environment, but it says I don’t have privileges. I even tried
apt install vim
like the docs suggest, but same issue. Am I missing something?
Copy code
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

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?

Rick Lamers

02/03/2021, 10:52 PM
You should have sudo rights
On the users configured in the image
sudo apt-get install ...
We should update the docs to make that more clear.


02/03/2021, 11:37 PM
@Rick Lamers I’ll open a PR for the docs don’t worry. The thing that threw me off is that I initially tried to use sudo in the pipeline terminal and that wasn’t allowed, but I’m getting the hang of it now 🙂
💪 2