Prevent "apt" from enabling and starting daemons

New to Debian (Or Linux in general)? Ask your questions here!

Prevent "apt" from enabling and starting daemons

Postby OlafLostViking » 2017-05-10 20:02

Hi,

I want to create a "base image" for some containers that should use some kind of overlay. Obviously, I do not want to start or enable (and not even configure) daemons I install in the chroot. How can I prevent apt from enabling/starting(/configuring) just installed packages on stretch?

Thanks!
OlafLostViking
 
Posts: 3
Joined: 2017-04-19 09:23

Re: Prevent "apt" from enabling and starting daemons

Postby dasein » 2017-05-10 23:55

Maybe look at the --download-only option.

The man page for apt-get has details.
User avatar
dasein
 
Posts: 7620
Joined: 2011-03-04 01:06
Location: Terra Incantationum


Return to Beginners Questions

Who is online

Users browsing this forum: ayarrington73 and 5 guests

fashionable