Dear Helmut, et al,
On Wed, 30 Nov 2022 11:16:34 +0100, Helmut Grohne wrote:
> Package: unattended-upgrades
> Version: 2.8
>
> If you delete /etc/apt/sources.list (because you manage all of your
> sources in /etc/apt/sources.list.d) and then run unattended-upgrade,
> /etc/apt/sources.list gets created as an empty file.
>
> I find this behaviour unintuitive and would rather not have
> unattended-upgrade create it. It isn't clear whether this
> potentially is a policy violation (modifying a configuration file).
>
> I haven't figured out which part of unattended-upgrades does this
> and I haven't tried reproducing it on unstable.
I believe this should be reassigned to python3-apt and merged with:
#1109842 - apt-daily-upgrade.service creates /etc/apt/sources.list
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109842
Also, see python-apt Merge request !107:
https://salsa.debian.org/apt-team/python-apt/-/merge_requests/107
Daniel Lewart
Urbana, Illinois