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?

ethan
asked Nov 23, 2018
2 Answer
-1

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

View More
gokulravichandran2
answered Nov 23, 2018
0

Thanks, it is solved now.

View More
MarvinGil
answered Jun 6, 2022
Your Answer
||||
x
 
100:0