Apt-get wait for lock release

aptlock

If you are running apt-get commands on terminal and want to install stuff on the software center, the center says it waits until apt-get finishes. I wanted to know if it is possible to do the same but on the terminal, i.e., make apt-get on the terminal wait until the lock is released.

I found this link, that uses aptdcon to install stuff. I would like to know if:

  • Is it really not possible to do with apt-get?
  • Is aptdcon compatible with apt-get, i.e., can I use both to install stuff without borking the system?

Best Answer

Probably, not until Debian bug #754103 is resolved:

apt: support option to wait for lockfile

Reported by: Michael Prokop

Date: Mon, 7 Jul 2014 15:06:01 UTC

Severity: wishlist

Found in version apt/1.0.5

Related Question