I am encountering this problem:
I type sudo apt-get install <package>
, and hit Enter. apt-get
starts resolving dependencies and downloading/installing packages. While it is running, I want to enter another command in the same terminal, so I type it (let's say echo done
).
The problem is, I type echo done
and Enter, but when apt-get
finishes, the echo done
is not executed. The shell comes back to me with a prompt, and there is nothing in its input buffer. So, bash
seems to ignore my input while apt-get
is running. This "ignoring" doesn't seem to happen with any other command.
I would like to figure out why this is happening, and if I can change the behaviour somehow.
apt-get
finishes, I can type commands and everything works normally. I can't type commands whileapt-get
is running though. I am using Ubuntu 12.04. I guess I should report this as a bug.-y
switch OR confirm installation before entering the other command? Otherwise your input just goes to the prompt which comes up when trying to install larger packages.