Re: Prevent apt/dpkg from automatically enabling services during the upgrade process.

2017-10-03 Thread cabezachumbo
Dear debian friends. The script that Reco wrote works very well. Thank you man. P.S.: I am aware that I wrote bad the title of this thread. I mean to prevent apt/dpkg from automatically STARTING services, not from enabling. Actually it doesn't enable the disabled services, but it starts them.

Re: Re: Prevent apt/dpkg from automatically enabling services during the upgrade process.

2017-10-03 Thread cabezachumbo
> This is not supposed to happen in the first place. Could you give an > example? > > Cheers, > >Sven An example: 1. Disable the service NetworkManager: "systemctl disable NetworkManager". 2. Upgrade the package NetworkManager via "apt upgrade". The service NetworkManager will be enable

Re: Re: Re: Prevent apt/dpkg from automatically enabling services during the upgrade process.

2017-10-03 Thread cabezachumbo
Thank you very much sir. I appreciate that information. > Hi. > > On Tue, Oct 03, 2017 at 01:53:45PM +0200, cabezachu...@gmail.com wrote: > > Hello! > > I guess that the script prevents from enabling currently disabled > > services. > > Why guess if it's all there? And no, that's not the script

Re: Re: Prevent apt/dpkg from automatically enabling services during the upgrade process.

2017-10-03 Thread cabezachumbo
Hello! I guess that the script prevents from enabling currently disabled services. One more thing, what should I do if I also want that after installing a new service with "apt install service" it doesn't get enabled automatically in the installation process? Thank you very much Reco. Regards.