[Bug 1697120] Re: artful's apt-file and aptitude complains about Ubuntu sources.list
Norbert
1697120 at bugs.launchpad.net
Sat Oct 21 16:59:50 UTC 2017
Bug exists in Ubuntu 17.10 MATE:
mate1710 at mate1710:~$ sudo apt-get install apt-file
[sudo] password for mate1710:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libregexp-assemble-perl
The following NEW packages will be installed:
apt-file libregexp-assemble-perl
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 103 kB of archives.
After this operation, 288 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu artful/universe i386 libregexp-assemble-perl all 0.36-1 [77,5 kB]
mate1710 at mate1710:~$ sudo aptitude update
Hit http://ru.archive.ubuntu.com/ubuntu artful InRelease
Hit http://ru.archive.ubuntu.com/ubuntu artful-updates InRelease
Hit http://ru.archive.ubuntu.com/ubuntu artful-backports InRelease
Hit http://security.ubuntu.com/ubuntu artful-security InRelease
Hit http://archive.ubuntu.com/ubuntu artful InRelease
Get: 1 http://archive.ubuntu.com/ubuntu artful-updates InRelease [65,4 kB]
Fetched 65,4 kB in 0s (71,9 kB/s)
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Contents-deb (main/Contents-i386) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Contents-deb (restricted/Contents-i386) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Contents-deb (restricted/Contents-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Contents-deb (universe/Contents-i386) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Contents-deb (universe/Contents-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Contents-deb (multiverse/Contents-i386) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Contents-deb (multiverse/Contents-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Contents-deb (main/Contents-i386) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Contents-deb (restricted/Contents-i386) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Contents-deb (restricted/Contents-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:49
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Contents-deb (universe/Contents-i386) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Contents-deb (universe/Contents-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:51
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Contents-deb (multiverse/Contents-i386) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
W: Target Contents-deb (multiverse/Contents-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:53
** Also affects: ubuntu-mate
Importance: Undecided
Status: New
** Tags added: 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 ubuntu-mate:
New
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-mate/+bug/1697120/+subscriptions
More information about the foundations-bugs
mailing list