Bug#1106560: modernize-sources also converts other packages' conffiles
Package: apt
Version: 2.6.1
Severity: normal
Tags: upstream
X-Debbugs-Cc: sjr@debian.org
Hi,
Microsoft's VSCode repository still ships an old-style format file, as a
conffile. Running modernize-sources on this creates a non-working
configuration, which is one problem -- but this also touches a conffile
belonging to another package (which is technically a policy violation),
which will break the update when Microsoft starts shipping a deb822
style file.
Ideally, modernize-sources should ignore any existing files that are
registered with dpkg.
Simon
-- 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/axelspace.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/docker.list present, but not submitted) --
-- (/etc/apt/sources.list.d/earthly.list present, but not submitted) --
-- (/etc/apt/sources.list.d/sjr-fpga-bookworm.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/sjr-kicad-bookworm.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/sjr-misc-bookworm.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/slack.list present, but not submitted) --
-- System Information:
Debian Release: 12.11
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-37-amd64 (SMP w/20 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=en_US:en
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.134
ii debian-archive-keyring 2023.3+deb12u2
ii gpgv 2.2.40-1.1
ii libapt-pkg6.0 2.6.1
ii libc6 2.36-9+deb12u10
ii libgcc-s1 12.2.0-14+deb12u1
ii libgnutls30 3.7.9-2+deb12u4
ii libseccomp2 2.5.4-1+deb12u1
ii libstdc++6 12.2.0-14+deb12u1
ii libsystemd0 252.36-1~deb12u1
Versions of packages apt recommends:
ii ca-certificates 20230311
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.8.13-5
ii dpkg-dev 1.21.22
ii gnupg 2.2.40-1.1
pn powermgmt-base <none>
-- no debconf information
Reply to: