Question

I am trying to install mrtg on boot.

apt-get install mrtg 

is the required command. But when installing it comes up with a GUI asking me to say "Yes/No". This is good if I am running the script manually, but on boot it gets stuck. Is there a work around?

The prompt I get is not the normal Y/N thingy. ( This can be fixed using apt-get -y install ), but what I get is a kind of blue screen with a window popping up asking "Yes/No"

Était-ce utile?

La solution

Why would you need to install it at boot? You should only need to install it once...

Consider using dpkg preconfiguration, to seed the answer to the Yes/No question. See http://www.debian-administration.org/articles/394 for more details on preseeding to automate installs.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top