Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to know the process ID that lock apt-get upgrade [ or any synaptic download process] and then stop that process ?

user-image
Question added by Deleted user
Date Posted: 2014/02/06

to know the process id issue following command:

ps -ec | grep apt

then look for pid and issue command:

kill -9 <pid>

ghilman ahmed
by ghilman ahmed , System Administrator , Streaming Networks Pvt Ltd

ps -ef | grep -i jockey

ps -ef | grep -i python

you will get the processes but with the jockey is the one which locks the apt-get you just have to

kill that pid with kill command

Mohammed El-Afifi
by Mohammed El-Afifi , chief engineer , valeo

You can also use

ps ax

in place of

ps ec

.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.