Score:0

Problem with lock files while installing Vulkan

cn flag

I am trying to install Vulkan on Ubuntu 20.04 by following the steps given on this website: https://linuxconfig.org/install-and-test-vulkan-on-linux. I am following the steps for AMD, not NVIDIA. When I run the line: # apt install libvulkan1 mesa-vulkan-drivers vulkan-utils, however, I receive the following errors:

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?

What do these mean, and how can I fix them?

hr flag
Are you *actually* running the command from a root shell (as implied by the `#` prompt)? If not, see [Permission denied, are you root?](https://askubuntu.com/questions/223484/permission-denied-are-you-root)
Rowan Martel avatar
cn flag
I ran it with sudo and it worked. Thanks!
Rowan Martel avatar
cn flag
It did, thanks!
Rowan Martel avatar
cn flag
How do I mark this as solved?
hr flag
You can vote to *Close* it as a duplicate of the linked Q&A
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.