0

How To solve the issue during the installation of ngnix

Hi, i am trying to install the ngnix. and facing this issue during the installation on ubuntu 18.04

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

How to solve this problem?

Nginx Ubuntu Add a comment
ethan
asked Nov 23 2018

Answer

0

This should be used as last resort. If you use this carelessly you can end up with a broken system

#sudo rm /var/lib/apt/lists/lock
#sudo rm /var/cache/apt/archives/lock
#sudo rm /var/lib/dpkg/lock

and install the ngnix by using this command

#sudo apt install nginx

Add a comment
gokulravichandran2
asked Nov 23 2018
edited Nov 23 2018
Post your Answer
0

Thanks, it is solved now.

Add a comment
MarvinGil
asked Jun 06 2022
Post your Answer