Bug#1109842: apt-daily-upgrade.service creates /etc/apt/sources.list
Lee Garrett <[email protected]> Sun, 26 Oct 2025 15:48:49 +0100
| Newsgroups | gmane.linux.debian.apt.devel |
|---|---|
| Message-ID | <fe2318cd-7819-4d36-89b3-4e94fe607521__35122.6693762996$1761490286$gmane$org@rocketjump.eu> |
I have pinpointed the issue in python-apt and provided a fix in form of a MR at https://salsa.debian.org/apt-team/python-apt/-/merge_requests/107 Let me know if anything is missing. On Mon, 13 Oct 2025 12:03:34 +0200 Lee Garrett <[email protected]> wrote: > This issue is caused by unattended-upgrade, and is 100% reproducible. > Reassigning as such. > > root@mail:~# /usr/bin/unattended-upgrade -v > Checking if system is running on battery is skipped. Please install > powermgmt-base package to check power status and skip installing updates when > the system is running on battery. > Checking if connection is metered is skipped. Please install python3-gi package > to detect metered connections and skip downloading updates. > Starting unattended upgrades script > Allowed origins are: origin=Debian,codename=trixie,label=Debian, > origin=Debian,codename=trixie,label=Debian-Security, > origin=Debian,codename=trixie-security,label=Debian-Security > Initial blacklist: > Initial whitelist (not strict): > No packages found that can be upgraded unattended and no pending auto-removals > root@mail:~# ls -l /etc/apt/sources.list > -rw-r--r-- 1 root root 0 Oct 13 12:02 /etc/apt/sources.list > >