Documentation on fix issue for nltk,nltkdata
To fix the issued and resolve to install nltk and nltk data
Unable to acquire dpkg fronted lock (/var/lib/dpkg/lock-fronted), is another process using it.
sudo apt-get install python-nltk
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?
Step-1
Find and kill all apt process which is running.
Ps -A | grep apt
Now kill the process using the below commands
kill -9 processnumber
or
kill -9 SIGKILL processnumber
use this commad,
nltk-> sudo apt-get install python-nltk
nltk data-> sudo python -m nltk.downloader -d /usr/share/nltk_data all
step-2:- Check the location of lock-frontend
ls varlib/dpkg/
step-3 :- Remove the lock-frontend
sudo rm var/lib/dpkg/lock-frontend
step-4:- Verify
ls /var/lib/dpkg/
Refer to this link: https://curiousviral.com/unable-to-acquire-dpkg-frontend-lock/
Author
prathap7618@gmail.com
Related Posts
Interfacing BO Motor with Arduino
~ Vimal, Abilash, Prabha We had learnt to interface a toy DC motor with the arduino platform. The idea is to design...
Read out allRon-documentation
What is ssh? ssh is a kind of network protocol to communicate between two or more computer. communication between client to server....
Read out allSky Map
~saranya I learned about constellation and sky map: Constellation: Constellation means group of stars or collection of stars. Yesterday I learned about...
Read out all
Raman Award Projects – Udavi School
Raman Young Science Innovator Award is a contest for students studying from III to X standards grouped into three. Students from III...
Read out allSilicon Structure
Arun and I, we wanted to make a 3D Silicon structure using Judo Straws to see how it is structured. We found...
Read out all