Package: libapt-pkg5.0 Version: 1.3 Severity: normal Dear Maintainer,
My /etc/apt/sources.list contains 'main' and 'contrib nonfree' on separate lines. This results in constant spam whenever *any* step is taken - it is particularly frustrating in aptitude, which requires them to be interactively dismissed. Testing with `apt-file search apt-file` is probably the simplest. These errors are output: ### BEGIN ERRORS W: Target Contents-deb-legacy (Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:9 W: Target Contents-deb-legacy (Contents-i386) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:9 W: Target Contents-deb-legacy (Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:9 W: Target Contents-deb-legacy (Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:9 W: Target Contents-deb-legacy (Contents-i386) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:9 W: Target Contents-deb-legacy (Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:9 ### END ERRORS The following is currently my sources.list (I also enable additional foreign architectures sometimes, thus the comments): ### BEGIN sources.list # Current distro: stretch # get all arches for the `main` component deb [ arch=amd64,i386 ] http://ftp.us.debian.org/debian stretch main deb-src [ arch=amd64,i386 ] http://ftp.us.debian.org/debian stretch main deb [ arch=amd64,i386 ] http://debug.mirrors.debian.org/debian-debug testing-debug main # only fetch `non-free` and `contrib` on runnable arches deb [ arch=amd64,i386 ] http://ftp.us.debian.org/debian stretch non-free contrib deb-src [ arch=amd64,i386 ] http://ftp.us.debian.org/debian stretch non-free contrib # get only runnable arches from /updates, but for all components deb [ arch=amd64,i386 ] http://security.debian.org/ stretch/updates main non-free contrib deb-src [ arch=amd64,i386 ] http://security.debian.org/ stretch/updates main non-free contrib # get all arches from sid deb [ arch=amd64,i386 ] http://ftp.us.debian.org/debian sid main deb-src [ arch=amd64,i386 ] http://ftp.us.debian.org/debian sid main deb [ arch=amd64,i386 ] http://debug.mirrors.debian.org/debian-debug sid-debug main deb [ arch=x32 ] http://ftp.debian-ports.org/debian sid main # get only runnable arches from experimental deb [ arch=amd64,i386 ] http://ftp.us.debian.org/debian experimental main deb-src [ arch=amd64,i386 ] http://ftp.us.debian.org/debian experimental main ### END sources.list -- System Information: Debian Release: stretch/sid APT prefers testing-debug APT policy: (600, 'testing-debug'), (600, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, x32 Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libapt-pkg5.0 depends on: ii libbz2-1.0 1.0.6-8 ii libc6 2.23-5 ii libgcc1 1:6.1.1-11 ii liblz4-1 0.0~r131-2 ii liblzma5 5.1.1alpha+20120614-2.1 ii libstdc++6 6.1.1-11 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages libapt-pkg5.0 recommends: ii apt 1.3 libapt-pkg5.0 suggests no packages. -- no debconf information

