The blog includes a vivid coverage of the concepts of CCNA, CCNP (Routing & Switching) , Basic Linux and Linux servers. Projects have also been simulated to give a practical exposure.

Tuesday 25 March 2014

Kill YUM

No comments

How to kill a process which is using YUM for a long time


I was trying to install mysql package , but this started giving me an error.

Existing lock /var/run/yum.pid: another copy is running as pid 2254.
Another app is currently holding the yum lock; waiting for it to exit...




The lock can be broken down by deleting the data from a file called /var/run/yum.pid 

Steps to be followed :-
  • Type command  vi /var/run/yum.pid
  • Then in Esc Mode , Press double D (DD)
  • It will delete the line (line having a number)
  • Now write and save it by :wq command in Esc mode
By this the problem gets solved.

By :- Vishal Sharma

No comments :

Post a Comment