Martin-Éric Racine wrote: > Package: apt > Version: 1.4~beta1 > Followup-For: Bug #839259 > > Maintainers, > > Could we please hear the rationale for this change? > > More to the point, what would a non-legacy target be expected to look like? > > Cheers! > Martin-Éric > > >
Hi, This is partly due to apt-file supporting "Contents" files on mirrors without components. The other part is how apt handles multiple sources lines for the same entry with this fetch rule from apt-file. If you only fetch items from Debian mirrors, you can trivially avoid this warning by setting: Acquire::IndexTargets::deb::Contents-deb-legacy::DefaultEnabled to "false" in /etc/apt.conf.d/99local.conf (or a similar file). Alternatively you can remove the "deb::Contents-deb-legacy" from /etc/apt/apt.conf.d/50apt-file.conf. The only current other alternative is to rewrite the sources file so there is only one entry per mirror/suite. The "deb822" format may come in handy here to keep things readable. The format is described in sources.list. Thanks, ~Niels

