[Bug 1012398] [NEW] Spurious "W: You may want to run apt-get update to correct these problems" when "Duplicate sources.list entry" is only warning

Scott Ritchie scottritchie at ubuntu.com
Tue Jun 12 22:11:09 UTC 2012


Public bug reported:

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.

** Affects: apt (Ubuntu)
     Importance: Low
         Status: New

** Changed in: apt (Ubuntu)
   Importance: Undecided => Low

-- 
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:
  New

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