3

I have encountered a problem when using the terminal to install programs. Whenever a yes/no option like the one below appears, not just with this program, but with any I try, the terminal stops after I have selected yes and will do nothing. I have even left it on for 3 hours just in case it was going slow, but to no avail.

So my question is, what do I do to fix this or get around it?

enter image description here

jokerdino
  • 41,732
Boi
  • 337

1 Answers1

4

The problem seems to be due to the use of gksudo. It looks like it doesn't redirect the stdin to the launched process.

As explained in the manual page of gksudo :

Their primary purpose is to run graphical commands that need root without the need to run an X terminal emulator and using su directly.

It is not really intended to launch interactive console commands, sudo is designed for this kind of job.