New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
http://lmgtfy.com/?q=debian+apt-get+install+without+starting
LOL
@breton I don't want you to google it for me you ***** (Chief will suspend me if I swear again).
I need an answer.
let's not feed the troll
@marrco Not a troll. I can't find an answer.
1) Create a file /usr/sbin/policy-rc.d containing:
#!/bin/sh
exit 101
2) chmod +x /usr/sbin/policy-rc.d
After that, packages will install correctly, but not start.
From the second link
@exussum thanks.
could you explain how that works?
Its an exit code
Exit status codes:
0 - action allowed
1 - unknown action (therefore, undefined policy)
100 - unknown initscript id
101 - action forbidden by policy
102 - subsystem error
103 - syntax error
104 - [reserved]
105 - behaviour uncertain, policy undefined.
106 - action not allowed. Use the returned fallback actions
(which are implied to be "allowed") instead.
http://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt
https://github.com/TigersWay/VPS/blob/master/vps/lxmp.sh lines 80 and further...
@TigersWay Yeah, no... I didn't want to install a webserver.
God ¬¬ Where says webserver? ¬¬ damn
@yomero he gave me a script that installs Apache/nginx, MySQL, PHP when I've already got an answer.
@OneTwo, then you need to learn how to read :-) I gave some lines, not a whole set of scripts!
lmgtfy is really annoying.
again, please, don't feed the troll
I bet you're a 14 year old that don't even know what a troll is.
Calm down, son. @marrco was doing you a favour by letting you know the lmgtfy kid (breton) is a troll, and you should disregard his commentary. No need to get snippy with someone.
Now, look at what @TigersWay gave you (lines 80-~87 of that script):
That was your solution. No need to jump to conclusions when the guy was just trying to give you what you asked for.