[Bug 1697120] Re: artful's apt-file and aptitude complains about Ubuntu sources.list
Norbert
1697120 at bugs.launchpad.net
Sat Oct 21 13:51:02 UTC 2017
** Tags removed: artful
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1697120
Title:
artful's apt-file and aptitude complains about Ubuntu sources.list
Status in apt package in Ubuntu:
Fix Released
Status in apt source package in Zesty:
Fix Committed
Status in apt package in Debian:
Fix Released
Bug description:
[Impact]
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.
See also
--------
LP: #1579372
[Test case]
Install apt-file and update, make sure that the warnings are gone.
[Regression potential]
Warnings about duplicate index targets containing "legacy" in their configured name are not shown anymore, thus it's harder to "fix" servers. But apart from that, which was the goal, I don't see any.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1697120/+subscriptions
More information about the foundations-bugs
mailing list