summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2023-01-29 16:54:39 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2023-01-30 00:55:05 +0100
commit8aeb07448c09375c730c76a6baf31303b129bb96 (patch)
tree45e6007657f9a1ba3b0d80c7e9c4a74da2f31aa4 /debian
parent0dd4e0b4caeeb3e943a993db79c416d491c469cd (diff)
Have values in Section config trees refer to them in all components
Hard coding each and every component is not only boring but given that everyone is free to add or use more we end up in situations in which apt behaves differently for the same binary package just because metadata said it is in different components (e.g. non-free vs. non-free-firmware). It is also probably not what the casual user would expect. So we instead treat a value without a component as if it applies for all of them. The previous behaviour can be restored by prefixing the value with "<undefined>/" as in the component is not defined. In an ideal world we would probably use "*/foo" for the new default instead of changing the behaviour for "foo", but it seems rather unlikely that the old behaviour is actually desired. All existing values were duplicated for all (previously) known components in Debian and Ubuntu.
Diffstat (limited to 'debian')
-rw-r--r--debian/apt.conf.autoremove12
1 files changed, 0 insertions, 12 deletions
diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove
index 90ee8908b..10438e848 100644
--- a/debian/apt.conf.autoremove
+++ b/debian/apt.conf.autoremove
@@ -22,23 +22,11 @@ APT
Never-MarkAuto-Sections
{
"metapackages";
- "contrib/metapackages";
- "non-free/metapackages";
- "restricted/metapackages";
- "universe/metapackages";
- "multiverse/metapackages";
"tasks";
- "contrib/tasks";
- "non-free/tasks";
};
Move-Autobit-Sections
{
"oldlibs";
- "contrib/oldlibs";
- "non-free/oldlibs";
- "restricted/oldlibs";
- "universe/oldlibs";
- "multiverse/oldlibs";
};
};