Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Prevent "apt" from enabling and starting daemons

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
OlafLostViking
Posts: 3
Joined: 2017-04-19 09:23

Prevent "apt" from enabling and starting daemons

#1 Post by OlafLostViking »

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!

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Prevent "apt" from enabling and starting daemons

#2 Post by dasein »

Maybe look at the --download-only option.

The man page for apt-get has details.

Post Reply