Re: finding apt dependencies

Charles Curley <[email protected]> Wed, 8 Jul 2026 09:13:54 -0600
Newsgroups gmane.linux.debian.user
Organization occasionally
Message-ID <20260708091354.7eee4e32@hawk>
On Wed, 8 Jul 2026 09:43:19 -0400
Eben King <[email protected]> wrote:

> > May I suggest you look at the unattended-upgrades package? It will
> > do a lot of what you want once a day.  
> 
> Yes, it looks to do basically what I want.  I have installed it, so
> now I have to figure out how to use it.  Thanks.

You are welcome.

The two files I customize are /etc/apt/apt.conf.d/50unattended-upgrades
and /etc/apt/apt.conf.d/20auto-upgrades. The latter I just copy in from
/usr/share/unattended-upgrades/20auto-upgrades.

In the former, I enable email reporting, set the automatic reboot time
to 02:00, tell it to run only when on AC power (useful for laptops),
and to not run on metered connections. I let it auto-reboot only on
machines that don't have encrypted partitions, which these days means
no machines auto-reboot.