On 2025-06-19 14:40, Hans wrote:
Hi all, I have a simple question, which aways appear with a new debian-version. When a new version is official released (let`s say: from bookworm to trixie), what is best way to edit the sources.list? Better means, "delete/comment all bookworm entries" or "leave entries for bookworm and trixie for a while in parallel"? In the last decade I did the second thing, but maybe I did it wrong in the last decades. Thanks for some short hints.
I can't tell you if it is the "best" way to do things, but I have always just deleted the entries associated with the previous release when I upgraded distros. I never have noticed any disadvantages when doing that.
But, maybe you should also consider migrating to *.sources files? The old sources.list file will become deprecated sometime in the future now that Debian has migrated to the new system.
Grx HdV