How can I make apt-get wait for another instance to finish?

Posted by rajagenupula on Ask Ubuntu See other posts from Ask Ubuntu or by rajagenupula
Published on 2013-11-09T10:54:09Z Indexed on 2013/11/10 10:17 UTC
Read the original article Hit count: 178

Filed under:
|
|

Is there any way I can make apt-get wait for the other apt-get (or similar) processes to finish?

I know that, generally, apt-get can only one instance at a time and if we try to run apt-get at the same time then we get a message saying that some other process is using it.

My question is: how can I make apt-get wait for the other processes to finish and then run?

Advantage: No need to type the command apt-get again, it will be automated after the 1st apt-get finishes.

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about apt