Comment 5 for bug 880616

Revision history for this message
Serhiy (xintx-ua) wrote : Re: Add an option to install the package right away ( + draft patch )

But it's impossible to execute apt-get install with shell=False since it requires sudo and sudo requires user to type password interactively. Not to say about warning the user about installing dependencies or even worse - removing conflicting packages. So I don't think '-y' key is the option even if command-not-found has privileges to install packages.