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.
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: us.archive. ubuntu. com/ubuntu/ artful main restricted
deb http://
And this is line 17: us.archive. ubuntu. com/ubuntu/ artful universe
deb http://
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.