Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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