Package: apt
Version: 3.0.0
Severity: wishlist
X-Debbugs-Cc: cardboardaardv...@gmail.com

Dear Maintainer,

It would be beneficial to allow admins to silence the notice from apt about
source configuration files that are using the outdated format. I think that
outputting the notice is good behavior by default but in some situations the
notice becomes noise because it is not possible to change the source
configurations with out breaking something.

I have third party packages installed which themselves install and maintain
files in /etc/apt/sources.list.d/ most notably the VS Code application. The
Microsoft install process for VS Code is as follows:

1) Download the .deb from Microsoft
2) Install the .deb using dpkg
3) The postinst script will create vscode.list in /etc/apt/sources.list.d/
4) The contents of vscode.list warn about local changes to the file being lost

Now I'm pretty sure that overwriting the contents of files in /etc from
postinst is a violation of Debian packaging standards so strictly defined there
is a problem with the Microsoft created Debian package. As the administrator of
my system the out of date sources notice has already informed me of the
situation and I am aware of it. I do not want to adjust the contents of the
vscode.list file to avoid breaking that may happen with future updates that
come from Microsoft (which also come frequently). This means the out of date
sources config file notice has become noise.

It would be nice if I could set a configuration value in apt to not output the
notice to me so I can reduce the noise. I don't see such an option being
available in the output of "apt-config dump"


-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (no /etc/apt/preferences.d/* present) --


-- (/etc/apt/sources.list present, but not submitted) --


-- (/etc/apt/sources.list.d/brave-browser-release.list present, but not 
submitted) --


-- (/etc/apt/sources.list.d/element-io.list present, but not submitted) --


-- (/etc/apt/sources.list.d/ksp-ckan.list present, but not submitted) --


-- (/etc/apt/sources.list.d/vscode.list present, but not submitted) --


-- (/etc/apt/sources.list.d/winehq-trixie.sources present, but not submitted) --


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.21-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt depends on:
ii  adduser                 3.150
ii  base-passwd             3.6.7
ii  debian-archive-keyring  2025.1
ii  libapt-pkg7.0           3.0.0
ii  libc6                   2.41-6
ii  libgcc-s1               14.2.0-19
ii  libseccomp2             2.6.0-2
ii  libssl3t64              3.5.0-1
ii  libstdc++6              14.2.0-19
ii  libsystemd0             257.5-2
ii  sqv                     1.3.0-1

Versions of packages apt recommends:
ii  ca-certificates  20241223

Versions of packages apt suggests:
pn  apt-doc                      <none>
pn  aptitude | synaptic | wajig  <none>
ii  dpkg-dev                     1.22.18
ii  gnupg                        2.2.46-6
ii  powermgmt-base               1.38

-- no debconf information

Reply via email to