#1101134 poor support of Enabled: no

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Harald Dunkel
Date:
2025-03-24 09:51:02 UTC
Severity:
normal
#1101134#5
Date:
2025-03-23 15:39:24 UTC
From:
To:
sources.list:
#deb		http://deb.debian.org/debian experimental main contrib non-free non-free-firmware
#deb-src	http://deb.debian.org/debian experimental main contrib non-free non-free-firmware
deb		http://deb.debian.org/debian sid main contrib non-free non-free-firmware
deb-src		http://deb.debian.org/debian sid main contrib non-free non-free-firmware
deb		http://deb.debian.org/debian testing main contrib non-free non-free-firmware
deb-src		http://deb.debian.org/debian testing main contrib non-free non-free-firmware
#deb		http://deb.debian.org/debian stable main contrib non-free
#deb-src	http://deb.debian.org/debian stable main contrib non-free


should have been mapped to

debian.sources:
# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: experimental
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Enabled: no

# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: sid
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Enabled: yes

# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: testing
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Enabled: yes

# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: stable
Components: main contrib non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Enabled: no


Please note the Enabled lines. It should be easy to add the "Enabled: yes"
lines by default.


Regards
Harri

#1101134#10
Date:
2025-03-24 09:48:28 UTC
From:
To:
I'm not quite sure what you are asking for here, tbh. First of all,
half the lines in your sources.list are commented out and not using
[enabled=no] so they will be discarded as we can't preserve comments.

Then you talk about this, and sure, this would be easy to add, but
that's not the canonical form: `yes` is the default value, and fields
with default values should not be rendered.