Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

Whenever I install/update with the curses interface of aptitude, it keeps the log window open and asks you to press enter. Can I just let aptitude skip this and return to the main screen if nothing went wrong?

share|improve this question
Do you mean the curses interactive interface, not the command line? – enzotib Oct 13 '11 at 13:08
I do mean the curses interface. – Martin Ueding Oct 13 '11 at 13:09

Having a look at the source code this isn't an option.

If you comment/remove lines 1218-1221 of src/ you can make it so, but if you think about it, I don't think you really want this behavior. If it jumps straight back to the UI you have no chance to view the output and make sure there wasn't a problem installing/removing the package etc.

Edit: just re-read your question and noticed you added the caveat to only do this if nothing went wrong. In this case you should probably submit the idea to the aptitude mailing list and ask if they'd consider adding it as an option.

share|improve this answer
Maybe it could be rewritten to wait 5 seconds for a keypress and wait if a key was pressed? – hexafraction Oct 7 '12 at 11:36

Your Answer


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.