문제

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"

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top