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 withapt-get
, i.e., can I use both to install stuff without borking the system?
apt-get <some command>
in the terminal, it will tell you that a different process is locking the package database (e.g. the software center is operating). So the system should already behave like you want it.apt-get
has no built-in functionality for this purpose.