Bug#839259: W: Target Contents-deb-legacy (Contents-{amd64, i386, all}) is configured multiple times in /etc/apt/sources.list
Package: apt
Version: 1.3.1
Followup-For: Bug #839259
I just noticed this when I upgraded one host from stable.
Until recently, Contents-{arch} wasn't fetched at all. Now, it is fetched for
every FQDN present in sources.list or in sources.list.d files. The problem is
that the change doesn't take into consideration the fact that an administrator
might have purposely split components from the same repository over many lines
for better readability and there's nothing inherently wrong with doing that.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (1011, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.7.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt depends on:
ii adduser 3.115
ii debian-archive-keyring 2014.3
ii gpgv 2.1.15-3
ii init-system-helpers 1.45
ii libapt-pkg5.0 1.3.1
ii libc6 2.24-3
ii libgcc1 1:6.1.1-11
ii libstdc++6 6.1.1-11
Versions of packages apt recommends:
ii gnupg 2.1.15-3
ii gnupg2 2.1.15-3
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.8.3-1+b1
ii dpkg-dev 1.18.10
ii powermgmt-base 1.31+nmu1
ii python-apt 1.1.0~beta5
-- no debconf information
Reply to: