Duplicate sources.list entry after upgrade lucid to precise

Bug #973717 reported by Jack Leigh on 2012-04-04
This bug affects 3 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)

Bug Description

After upgrade to precise, using apt gives the message

Duplicate sources.list entry http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~exp12ubuntu6
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
Uname: Linux 3.2.0-21-generic i686
ApportVersion: 2.0-0ubuntu4
Architecture: i386
Date: Wed Apr 4 21:06:44 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
 PATH=(custom, user)
SourcePackage: apt
UpgradeStatus: Upgraded to precise on 2012-04-04 (0 days ago)

Jack Leigh (leighman) wrote :
Brian Murray (brian-murray) wrote :

update-manager makes some modifications to your sources.list file during the upgrade process. could you please include the log files in /var/log/dist-upgrade to your bug report along with /etc/apt/sources.lit? Thanks in advance.

affects: apt (Ubuntu) → update-manager (Ubuntu)
Changed in update-manager (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Jack Leigh (leighman) wrote :

I get a helpfully cryptic 'An error occurred when adding files to the archive' from nautilus' 'compress' but it looks like everything is there.

Jack Leigh (leighman) wrote :


Changed in update-manager (Ubuntu):
status: Incomplete → New
Brian Murray (brian-murray) wrote :

The issue here is actually the file prerequists-sources.list in /etc/apt/sources.list.d/

Changed in update-manager (Ubuntu):
status: New → Triaged
Brian Murray (brian-murray) wrote :

To be clear the message is just a warning:

Reading package lists... Done
W: Duplicate sources.list entry http://ubuntu.osuosl.org/ubuntu/ precise-updates/main amd64 Packages (/var/lib/apt/lists/ubuntu.osuosl.org_ubuntu_dists_precise-updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://ubuntu.osuosl.org/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/ubuntu.osuosl.org_ubuntu_dists_precise-updates_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Steve Langasek (vorlon) wrote :

update-manager creates this /etc/apt/sources.list.d/prerequists-sources.list file on upgrade from lucid to precise in order to pull in a fixed apt; it needs to remove it again after upgrade.

tags: added: rls-p-tracking
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.156.12

update-manager (1:0.156.12) precise; urgency=low

  [ Colin Watson ]
  * data/gtkbuilder/UpgradePromptDialog.ui:
    - Remove has_separator property from dialog_really_do_not_upgrade
      (deprecated in GTK+ 2.22, removed in 3.0).
  * debian/control:
    - Restore gksu dependency, needed by e.g. check-new-release-gtk
      (LP: #980637).

  [ Michael Vogt ]
  * UpdateManager/UpdateManager.py:
    - disconnect model and clear store before rebuilding the cache,
      thanks to Colin Watson
  * po/*.po:
    - updated to the latest launchpad (LP: #628157)
  * DistUpgrade/DistUpgradeController.py:
    - remove backports sources.list.d file again after its no
      longer needed (LP: #973717)
  * DistUpgrade/DistUpgradeController.py:
    - when checking for the backports, its enough to check is the
      set of the needed ones is a subset of the found ones (LP: #969182)
  * DistUpgrade/DistUpgrade.cfg.lucid:
    - release-upgrader-libapt-pkg-dev is not needed for the upgrade
  * remove skype from the removal blacklist
 -- Michael Vogt <email address hidden> Tue, 17 Apr 2012 21:27:54 +0200

Changed in update-manager (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers