[Bug 1012398] Re: Spurious "W: You may want to run apt-get update to correct these problems" when "Duplicate sources.list entry" is only warning
Monsta
1012398 at bugs.launchpad.net
Sun Mar 23 09:08:12 UTC 2014
Yes, this warning is totally useless because apt-get update won't
magically remove the duplicates.
Actually, apt is full of strange messages that are completely unclear to
the users (like "you have held broken packages" when nothing is actually
being held). This is just one of them.
--
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/1012398
Title:
Spurious "W: You may want to run apt-get update to correct these
problems" when "Duplicate sources.list entry" is only warning
Status in “apt” package in Ubuntu:
Confirmed
Bug description:
If you create duplicate lines in sources.list, and then run apt-get
update, you receive something like this:
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/multiverse amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
The final warning is not helpful.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1012398/+subscriptions
More information about the foundations-bugs
mailing list