Comment 0 for bug 1697120

Revision history for this message
Jeremy BĂ­cha (jbicha) wrote : artful's apt-file complains about Ubuntu sources.list

apt-file is now difficult to use with about a dozen warnings like this:

W: Target Contents-deb-legacy (Contents-amd64) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:17

For reference, this is line 6:
deb http://us.archive.ubuntu.com/ubuntu/ artful main restricted

And this is line 17:
deb http://us.archive.ubuntu.com/ubuntu/ artful universe

This is how Ubuntu's default sources.list has been structured since the beginning? (or at least more than a decade).

What I expect
-------------
The warning isn't specific enough. Lines 6 and 17 are not actually duplicates. The warning could be removed or fixed so that it doesn't complain about non-duplicates.

Or the warning could be disabled on Ubuntu.