Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to install new software from the Ubuntu Software Center, it says "waiting for apt-get to exit". How I can exit apt-get?

share|improve this question

It is more likely that you have another instance of apt-get running at the same time. The way to exit it is:

  1. If apt-get was started by you, either wait for it to finish or if you are at the "Y/n" prompt, answer it.
  2. If it's running in the background, just wait for it to finish. Normally this happens when apt is updating or upgrading packages.

You can see what apt is doing by opening a terminal and typing ps ax | grep apt. This will tell you what apt-get is doing at the moment:

$ ps ax | grep apt
26890 pts/1    S+     0:00 sudo apt-get upgrade
26956 pts/4    S+     0:00 grep apt

Please do not try to forcefully end apt. It's more likely that you will end up with a crippled system if you do.

share|improve this answer

protected by Braiam Mar 5 '15 at 23:21

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.