Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sources.list gets created as an empty file if it does not already exist #374

Open
Nihlus opened this issue Dec 29, 2024 · 0 comments
Open

Comments

@Nihlus
Copy link

Nihlus commented Dec 29, 2024

I'm using unattended-upgrades 2.9.1 from Debian 12, and I've been having issues with /etc/apt/sources.list being recreated when I remove it. I manage all my sources through /etc/apt/sources.list.d/, and I remove sources.list as part of my system configuration to make this clear.

I've taken to linking it to /dev/null as a workaround, but I find it rather unexpected that unattended-upgrades would recreate this file when it does not exist. The problem was reported in the Debian bug tracker (https://bugs-devel.debian.org/cgi-bin/bugreport.cgi?bug=1025147) back in 2022 but didn't see any activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant